Re: [PATCH v3 1/1] dt-bindings: extcon: ptn5150: add child node port

From: Krzysztof Kozlowski
Date: Tue Aug 20 2024 - 03:44:59 EST


On Mon, Aug 19, 2024 at 02:57:34PM -0400, Frank Li wrote:
> 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.
>

...

> required:
> - compatible
> - interrupts
> @@ -58,5 +63,12 @@ examples:
> interrupt-parent = <&msmgpio>;
> interrupts = <78 IRQ_TYPE_LEVEL_HIGH>;
> vbus-gpios = <&msmgpio 148 GPIO_ACTIVE_HIGH>;
> +
> + port {
> + endpoint {

Indentation is mixed up here.

> + remote-endpoint = <&usb1_drd_sw>;
> + };
> + };
> +

Drop blank line.

> };
> };
> --
> 2.34.1
>