[PATCH v2 2/2] dt-bindings: usb: richtek,rt1711h: add missing 'port' property

From: Akash Sukhavasi

Date: Mon May 18 2026 - 12:20:58 EST


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 <akash.sukhavasi@xxxxxxxxx>
---
.../devicetree/bindings/usb/richtek,rt1711h.yaml | 13 +++++++++++++
1 file changed, 13 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml b/Documentation/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.

+ 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

required:
@@ -108,6 +115,12 @@ examples:
};
};
};
+
+ port {
+ endpoint {
+ remote-endpoint = <&usb_role_switch>;
+ };
+ };
};
};
...
--
2.54.0