Skip to content

Commit 38f6c92

Browse files
nxpfranklichanwoochoi
authored andcommitted
dt-bindings: extcon: ptn5150: add child node port
Add child node 'port' to allow connect to usb controller to do role-switch if id pin of ptn5150 have not connected to chip's usb ID function pin. Fix below warning: arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dtb: typec@3d: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/extcon/extcon-ptn5150.yaml Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Frank Li <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
1 parent 9e1897c commit 38f6c92

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ properties:
3737
GPIO pin (output) used to control VBUS. If skipped, no such control
3838
takes place.
3939

40+
port:
41+
$ref: /schemas/graph.yaml#/properties/port
42+
description:
43+
A port node to link the usb controller for the dual role switch.
44+
4045
required:
4146
- compatible
4247
- interrupts
@@ -58,5 +63,11 @@ examples:
5863
interrupt-parent = <&msmgpio>;
5964
interrupts = <78 IRQ_TYPE_LEVEL_HIGH>;
6065
vbus-gpios = <&msmgpio 148 GPIO_ACTIVE_HIGH>;
66+
67+
port {
68+
endpoint {
69+
remote-endpoint = <&usb1_drd_sw>;
70+
};
71+
};
6172
};
6273
};

0 commit comments

Comments
 (0)