From nobody Mon May 25 05:12:51 2026 Received: from mail-yx1-f49.google.com (mail-yx1-f49.google.com [74.125.224.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A79B199EAD for ; Mon, 18 May 2026 16:20:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.224.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779121225; cv=none; b=HifXqMAQTDnVK6/8fG5oZ/DzPlHT7VF8/b8uCfI9dTGtxfKEnC+tDCnAsgQJAgnFwzHVi232n0jrwYvWAQpcMZ55WSl3M79Z+zKwkULU/YSNtiEcw+IQi5Bt3c8ATWddkCNnjPqsyNJSi7BN9he7wdW6Xvh9Gt0JObeZVPjlwZY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779121225; c=relaxed/simple; bh=KtWQWhKC3Kxohq5UMc3habVp2D7N2gtkE1n6puIjLZU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qJTiEdgjbluZqrQFrPTWHSklgt79F+DMhSVtKAQ8gwbV8mDZPxIwFw1FnVoCZg7hF8pQbGg21q9mz6ruCar2P4xXW6fvGqL2YqGXYwTdytFTI7De8E9RtAE+obw7v/OsVTn1c2AQnaDkadnnMEpbCXLiHTRIBTmLZoUhOjDukOo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mOvbwuoF; arc=none smtp.client-ip=74.125.224.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mOvbwuoF" Received: by mail-yx1-f49.google.com with SMTP id 956f58d0204a3-65c09c1d000so3503643d50.1 for ; Mon, 18 May 2026 09:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779121217; x=1779726017; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m95kSTeSTgyCfxV7Wyxfftox/V8NCoAaJWZ67QlB3Ww=; b=mOvbwuoFyUruF+IIX9LuZ6MfteNYMWr4CzJRV0lzmy2BwFxtROds+Q+BZZ9IzVl581 jAE/NBi+JXiAhmjP6u5brCE/95xWDlVjDTHOTpWex4CCRNgFDKK6kneBjipAIUaG37Qa 7hq6YfdM3aABtEIK6TrenMHZ9TRpp7a0fpMx7tBe3F/pt7Z0chZEpgBO5uRSQdNABj7/ dqeXCuq6qtEHsMs0yrNF0jn+U3HUjgXY+rfLCD/zz2QoGQ318eREeMm9AgJp7x3U7i5i Zxf+rPQK3Rlqv2PhmeOWhdNLwnfrq6eIbiGhnE6XCIGXnpCUwebAWDq8kCLy9uB/9zfX ELHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779121217; x=1779726017; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=m95kSTeSTgyCfxV7Wyxfftox/V8NCoAaJWZ67QlB3Ww=; b=QH323oU0Y0qY1UISzUsjlTZLtVdBYCAu45d0iAAnWKrh0DmRYDGtFiCtqxj3vSBV4c Awh9AeyzpSDvKtq+PAXyP9bOPLH6zg+DIchfo3/rwHOYJfgWuGOqwSaMHNaW9gFqQx02 aif3CySubjM14XpTAaDXRyh9mKkk5DLv/AUJt62cSgxP41QI2LI2eo7CupkDRpUrr/md ZDRugDPa6wdUM+vTzERJ9SR8/ciwdyAWbsU2pNqaiKhduL/efJgne44eGI4qvzEI2Vcz ycN0hrLTfac/kLXw2azB/s0IK0UhLxdnk2HvEBKCFSOMhB4n4d3m/MezTGfl+wvz2E4b YORQ== X-Forwarded-Encrypted: i=1; AFNElJ/8KVGxJVrRY3ku6H1wKMy+cw899GlymCLa89IQRE7k8qwrxQyki7Nz5UkRUd+9R4A02hdN60ZOjggWFHQ=@vger.kernel.org X-Gm-Message-State: AOJu0Ywzwv9VoMrFIxVf+6uNdt90VYjQrCr4TZ3nQHz6PHlTxZuN3ZYy rW+mBtsd3ggA8fBoYP9ljptCS+yJHCD1fj2+aEJiSNNGdCnvIQ+QjDsY X-Gm-Gg: Acq92OGcOO6/rjRPM9zg6B/zp/yQevM+5HqoKmrcp80nzqC+zy+40stoZ76uCvlsL0J oRwOi5U6huuqnVw3g2CSDY2JDmtD22v7CGCK3rofjt1jxhHUWwMGtLXyMayAtBvOGJfYT/k5yx+ iTsnoB0/oAyUpFuHhKqq4T2FmfejznuGnAEyiWki4PIVsG144kUg5LN9IQUeJ96yEqd0+f1WhWn BTsevlYGJ4t0jVRqwWO9o1sKj3DMZVzKvht2uKx4Ye9UepvbVSr5+rZPd6BerC95L+VxuR4tspr XKdzMn/Roe0kodPRUbYsx6rEhB6ifOjVWESU+EG5wai9hU1I0yFqhqQ72nef7HjqiFtm9UiSI7o UJJj+vMfzq2K6GzmIK2cFX8JIJu+pnZpYO4Q/WOb8BO7xg1+PBp5kItu0a0c83gQExzSQW2uPh2 j3A1ahps/DjeJhLapG28Z9BfyRP8YoOPGMkc4bBFlgB94t0gOvoVfD X-Received: by 2002:a53:b451:0:b0:65c:d26a:6e71 with SMTP id 956f58d0204a3-65e0b225732mr12388187d50.27.1779121216830; Mon, 18 May 2026 09:20:16 -0700 (PDT) Received: from fsh.attlocal.net ([2600:1702:56e9:4b40:ed8c:6b8b:1fa3:d14b]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-65e0db60379sm6596021d50.14.2026.05.18.09.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2026 09:20:16 -0700 (PDT) From: Akash Sukhavasi To: krzk+dt@kernel.org Cc: robh@kernel.org, conor+dt@kernel.org, gregkh@linuxfoundation.org, gene_chen@richtek.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: usb: richtek,rt1711h: remove deprecated .txt file Date: Mon, 18 May 2026 11:20:13 -0500 Message-ID: <20260518162014.18251-2-akash.sukhavasi@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260518162014.18251-1-akash.sukhavasi@gmail.com> References: <20260518162014.18251-1-akash.sukhavasi@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove the deprecated .txt binding for richtek,rt1711h. It was superseded by the YAML schema added in commit a72095ed8e65 ("dt-bindings usb: typec: rt1711h: Add binding for Richtek RT1711H"). Signed-off-by: Akash Sukhavasi Reviewed-by: Krzysztof Kozlowski --- .../bindings/usb/richtek,rt1711h.txt | 44 ------------------- 1 file changed, 44 deletions(-) delete mode 100644 Documentation/devicetree/bindings/usb/richtek,rt1711h.t= xt diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1711h.txt b/Do= cumentation/devicetree/bindings/usb/richtek,rt1711h.txt deleted file mode 100644 index 6f8115db2..000000000 --- a/Documentation/devicetree/bindings/usb/richtek,rt1711h.txt +++ /dev/null @@ -1,44 +0,0 @@ -Richtek RT1711H TypeC PD Controller. - -Required properties: - - compatible : Must be "richtek,rt1711h". - - reg : Must be 0x4e, it's slave address of RT1711H. - - interrupts : where a is the interrupt number and b represents an - encoding of the sense and level information for the interrupt. - -Required sub-node: -- connector: The "usb-c-connector" attached to the tcpci chip, the bindings - of connector node are specified in - Documentation/devicetree/bindings/connector/usb-connector.yaml - -Example : -rt1711h@4e { - compatible =3D "richtek,rt1711h"; - reg =3D <0x4e>; - interrupt-parent =3D <&gpio26>; - interrupts =3D <0 IRQ_TYPE_LEVEL_LOW>; - - usb_con: connector { - compatible =3D "usb-c-connector"; - label =3D "USB-C"; - data-role =3D "dual"; - power-role =3D "dual"; - try-power-role =3D "sink"; - source-pdos =3D ; - sink-pdos =3D ; - op-sink-microwatt =3D <10000000>; - - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - port@1 { - reg =3D <1>; - usb_con_ss: endpoint { - remote-endpoint =3D <&usb3_data_ss>; - }; - }; - }; - }; -}; --=20 2.54.0 From nobody Mon May 25 05:12:51 2026 Received: from mail-yx1-f48.google.com (mail-yx1-f48.google.com [74.125.224.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78844246BD5 for ; Mon, 18 May 2026 16:20:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.224.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779121224; cv=none; b=gEf/hCchAHr7Ry6Du0MKUD5+mq+kNT74spRDiRipRTyxEJuHCEWsbvoREWb2UWrsBL5kLUaf+O8dSXcivoIzGNZwQLdCi8yGiRVo4HB5FBWeUfhZ3JjE3YbVorLHWtzxoov6Nx0N1aHFvsorNUCvRQQBAlWh/yJo4NfFzj1viws= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779121224; c=relaxed/simple; bh=vdEZEUOs7PRDXYhwPRYrWKYpoelBDrzxoSmk24QTQgk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EmWGTCkDz24/b7XVEGRRbm9y7t7RWnIaUtxSBD9+wNy5CgcRG3kd/iqDZFsuqPxKnUWsjrJ8zILOy0LjeFAUTOhhg8FIlkRMtQY88H5LweZ5vcLhaXXtEy/tjisP325+AaV9KKtaLd8t+P17k7EDZxDQBbysasjr3xaZJmYzMPE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Tv513+di; arc=none smtp.client-ip=74.125.224.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Tv513+di" Received: by mail-yx1-f48.google.com with SMTP id 956f58d0204a3-65c37eafcbeso2811453d50.1 for ; Mon, 18 May 2026 09:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779121218; x=1779726018; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Mm59fBho8TSPcttA9nMtsPpYbNTzkooRSqlhl7WTUa4=; b=Tv513+dirocYuWNp4yWdL8GR4535jqc0dO/0/qCymsboV9Y5nmmcgYIT8IyGzFrsit xvITzE3Gcl2rnpHkWtMcADz02YxnGzWqzgQPdGOEZZ4xxOqfTkTcKRbVW6XjzYk8mjdY 0TYmjAPr9bG9+BCZz1gXF9CM/bupATQ+9WY6qnWeGOt0FdTiFIw5d/Mf1Nx5uImg2nNh +7KIpChSccZ6YmZtRtbb3OFTZmWFU9432etb2kem23n8U3Hd3XFfoLMLjk3WXcn7Cmmc nVzFXSmrZgwVes9JtDBU38a/brgvqbHawkcrXciZ3xIdyTdwy9iG5p+hS/CvqiU8xulD +c3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779121218; x=1779726018; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Mm59fBho8TSPcttA9nMtsPpYbNTzkooRSqlhl7WTUa4=; b=hZ76c186NIe+YC7MoqGtTWunr2rngzgHAIbH0rZ3umRaRXifucWGz35sxnjyNFTtp6 LgQ7Ndkodf2WB5mIdhyeGgXxMKBEPiwnIU+qT44gk27m9RwNn+mtDgRCcSoXnG9lsiur cGh3FUqJKfDQgQ5a2xsiI6oyoVkV/a/kwcv7PRQYXGWGAhU+41TpUES/CtY1h+NjsFWP a6Gilee96zmxoD4OWz4Qevw+hMmSKECBvEPCunN8djDS4WMjhKzUqm2xzkRQwa2YxM60 IJ2mh8bazXkFpund8c+/13nxb8gbZwK8Z7nQb/z2ZLsFM121vVs+H+jiRH86AecHZIWi HfHg== X-Forwarded-Encrypted: i=1; AFNElJ9DjiSo8CJVPRdQSRrfT/vX0JOaQoQGuQR3KtrUGyZHclHhwcNA12t+gcZBanHRemiwPCuCF3CYpq2XERs=@vger.kernel.org X-Gm-Message-State: AOJu0Yx0h8wpr5YE583L8Y6eeGHbWjIH/6vnb7v1QgUK9pCP0ceNHVYN 9e/fW+3CEvNAMzQEN6jX1kQWi3liAUeWadNhLxqc+mfSSeOrz2G8P35n X-Gm-Gg: Acq92OHKXquMaL5/GOBeR/2cmOmA1QMKPr7Eyh12TfxDrazXYmU19dQSw6ErXb0gmWc qmQphgnJxeZallKKrN+vbKzPXKpZ8fh05iQ4f9h7RufgFGb4dmAmbPK+RMQjQV5iq/76/iuYA+C DBqOlWwaWMwWmH5ink0nDlBz0YVvQR50zAJhZpYVu/gY0EfX1/kOhZuJ7PlR27fmZwzPvKCCyMe 8D66Z23xN4pBRpZboHLscIbeGEVqBn5o6kzWnmvPR0X/UZ0t9DLguS6OFs4CjObPdNO8s+ge31P Ht2agpi91J7ixb9ZyxUqIclTErHFUcIw6P7RzXv0vxQx4CpbN2bwEJ/N4K67oYfqXu065f5hHlD 08lbL9CER68clSrIHxlhz3vdLQxZAxIjBF+un4Tdwo8M8MXgoKshXSZJoMVDn3MbHyrh+MlpZC9 ZwzyAvDR3hxzgGEc4pFTgErXtkVgI8WpLf8CUeV8Jz+A== X-Received: by 2002:a05:690e:190f:b0:654:c2b5:b77c with SMTP id 956f58d0204a3-65e226632f7mr15134957d50.7.1779121217793; Mon, 18 May 2026 09:20:17 -0700 (PDT) Received: from fsh.attlocal.net ([2600:1702:56e9:4b40:ed8c:6b8b:1fa3:d14b]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-65e0db60379sm6596021d50.14.2026.05.18.09.20.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2026 09:20:17 -0700 (PDT) From: Akash Sukhavasi To: krzk+dt@kernel.org Cc: robh@kernel.org, conor+dt@kernel.org, gregkh@linuxfoundation.org, gene_chen@richtek.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: usb: richtek,rt1711h: add missing 'port' property Date: Mon, 18 May 2026 11:20:14 -0500 Message-ID: <20260518162014.18251-3-akash.sukhavasi@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260518162014.18251-1-akash.sukhavasi@gmail.com> References: <20260518162014.18251-1-akash.sukhavasi@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The schema declares 'additionalProperties: false' but omits the top-level 'port' property, which hi3660-hikey960.dts uses to describe the role-switch graph endpoint. This causes dtbs_check to emit: hi3660-hikey960.dtb: rt1711h@4e (richtek,rt1711h): 'port' does not match any of the regexes: '^pinctrl-[0-9]+$' Add the missing property using /schemas/graph.yaml#/properties/port, following the pattern used by realtek,rts5411.yaml and other USB controller bindings. Update the example accordingly. Signed-off-by: Akash Sukhavasi --- .../devicetree/bindings/usb/richtek,rt1711h.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml b/D= ocumentation/devicetree/bindings/usb/richtek,rt1711h.yaml index 7ded36384..05ffc33a2 100644 --- a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml +++ b/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml @@ -52,6 +52,13 @@ properties: description: Properties for usb c connector. =20 + port: + $ref: /schemas/graph.yaml#/properties/port + description: + OF graph port describing the connection to the USB role switch + consumer (e.g., a dwc3 controller with usb-role-switch), used to + convey type-C data-role changes signaled by the TCPC. + additionalProperties: false =20 required: @@ -108,6 +115,12 @@ examples: }; }; }; + + port { + endpoint { + remote-endpoint =3D <&usb_role_switch>; + }; + }; }; }; ... --=20 2.54.0