[PATCH v2 1/2] dt-bindings: usb: cypress,cypd4226: Add orientation-gpios property

From: Akash Kumar

Date: Tue Nov 17 2026 - 09:10:18 EST


Add the optional orientation-gpios property, used to sense the CC
orientation of each Type-C connector on boards where the CCGx chip
has no HPI register exposing CC polarity. Entries are ordered by
connector number; an entry may be left as <0> for connectors with no
sense line.

Signed-off-by: Akash Kumar <akash.kumar@xxxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
index d923ef82ecfa..5716c045d87e 100644
--- a/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
+++ b/Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml
@@ -59,6 +59,14 @@ properties:
description: enable IRQ remote wakeup, see power/wakeup-source.txt
type: boolean

+ orientation-gpios:
+ description:
+ GPIOs used to sense the CC orientation of each Type-C connector.
+ Entries are ordered by connector number, i.e. the first entry
+ corresponds to connector@0 and the second to connector@1.
+ minItems: 1
+ maxItems: 2
+
patternProperties:
'^connector@[01]$':
$ref: /schemas/connector/usb-connector.yaml#
@@ -129,6 +137,7 @@ examples:
};
};
- |
+ #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
@@ -141,6 +150,7 @@ examples:
pinctrl-0 = <&usb0_intr_state>;
pinctrl-names = "default";
wakeup-source;
+ orientation-gpios = <0>, <&tlmm XX GPIO_ACTIVE_HIGH>;

#address-cells = <1>;
#size-cells = <0>;

--
2.43.0