[PATCH v2 1/3] dt-bindings: extcon: ptn5150: Describe the USB connector

Fabio Estevam
2023-12-12T17:49:57Z

PTN5150 supports USB Type-C connector, so improve the bindings by
allowing to describe the connector like it is done on nxp,ptn5110.yaml.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
Changes since v1:
- Removed type and unevaluatedProperties: false (Conor).

Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml b/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml
index d5cfa32ea52d..b3e5c0df0cd7 100644
--- a/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml
+++ b/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml
@@ -37,6 +37,9 @@ properties:
GPIO pin (output) used to control VBUS. If skipped, no such control
takes place.

+ connector:
+ $ref: /schemas/connector/usb-connector.yaml#
+
required:
- compatible
- interrupts