From: Akash Kumar <akash.kumar@oss.qualcomm.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH 1/3] dt-bindings: usb: typec: Add Cypress CYPD6129 UCSI controller compatible
Date: Wed, 20 May 2026 15:07:32 +0530 [thread overview]
Message-ID: <20260520093902.2064730-2-akash.kumar@oss.qualcomm.com> (raw)
In-Reply-To: <20260520093902.2064730-1-akash.kumar@oss.qualcomm.com>
Document the "cypress,cypd6129" compatible string for the Cypress/Infineon
EZ-PD CCGx UCSI controller.
The CYPD6129 is compatible with the existing CCGx binding, so allow it as a
valid compatible and permit the existing "cypress,cypd4226" fallback where
appropriate.
Signed-off-by: Akash Kumar <akash.kumar@oss.qualcomm.com>
---
.../bindings/usb/cypress,cypd4226.yaml | 73 ++++++++++++++-----
1 file changed, 55 insertions(+), 18 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
index 0620d82508c1..90769c43ac95 100644
--- a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
+++ b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
@@ -15,7 +15,13 @@ description:
properties:
compatible:
- const: cypress,cypd4226
+ oneOf:
+ - enum:
+ - cypress,cypd6129
+ - cypress,cypd4226
+ - items:
+ - const: cypress,cypd6129
+ - const: cypress,cypd4226
'#address-cells':
const: 1
@@ -63,10 +69,42 @@ examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c {
- #address-cells = <1>;
- #size-cells = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ #interrupt-cells = <2>;
+
+ typec@8 {
+ compatible = "cypress,cypd6129";
+ reg = <0x08>;
+ interrupt-parent = <&node>;
+ interrupts = <GPIO IRQ_TYPE_LEVEL_LOW>;
+ firmware-name = "ccg_primary.cyacd2";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ connector@0 {
+ compatible = "usb-c-connector";
+ reg = <0>;
+ label = "USB-C";
+ data-role = "dual";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
- typec@8 {
+ port@0 {
+ reg = <0>;
+ endpoint {
+ remote-endpoint = <&usb_role_switch0>;
+ };
+ };
+ };
+ };
+ };
+ };
+
+ - |
+ typec@8 {
compatible = "cypress,cypd4226";
reg = <0x08>;
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
@@ -74,20 +112,19 @@ examples:
#address-cells = <1>;
#size-cells = <0>;
connector@0 {
- compatible = "usb-c-connector";
- reg = <0>;
- label = "USB-C";
- data-role = "dual";
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- port@0 {
- reg = <0>;
- endpoint {
- remote-endpoint = <&usb_role_switch0>;
- };
+ compatible = "usb-c-connector";
+ reg = <0>;
+ label = "USB-C";
+ data-role = "dual";
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ endpoint {
+ remote-endpoint = <&usb_role_switch0>;
+ };
+ };
};
- };
};
- };
};
--
2.43.0
next prev parent reply other threads:[~2026-05-20 9:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-20 9:37 [PATCH 0/3] Add Cypress CYPD6129 UCSI support for monza SOM USB0 DRD Akash Kumar
2026-05-20 9:37 ` Akash Kumar [this message]
2026-05-20 10:01 ` [PATCH 1/3] dt-bindings: usb: typec: Add Cypress CYPD6129 UCSI controller compatible Dmitry Baryshkov
2026-05-20 10:06 ` Dmitry Baryshkov
2026-05-20 11:21 ` Krzysztof Kozlowski
2026-05-20 11:57 ` Rob Herring (Arm)
2026-05-20 9:37 ` [PATCH 2/3] arm64: dts: qcom: monaco-monza-som: Enable USB0 DRD mode Akash Kumar
2026-05-20 10:05 ` Dmitry Baryshkov
2026-05-20 10:08 ` Dmitry Baryshkov
2026-05-20 11:15 ` Konrad Dybcio
2026-05-20 11:22 ` Krzysztof Kozlowski
2026-05-20 9:37 ` [PATCH 3/3] usb: ucsi: ccg: Add support for CYPD6129 (CCG6) Akash Kumar
2026-05-20 10:07 ` Dmitry Baryshkov
2026-05-20 11:20 ` Krzysztof Kozlowski
2026-05-20 11:22 ` [PATCH 0/3] Add Cypress CYPD6129 UCSI support for monza SOM USB0 DRD Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260520093902.2064730-2-akash.kumar@oss.qualcomm.com \
--to=akash.kumar@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=gregkh@linuxfoundation.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®