Re: [PATCH v4 1/2] dt-bindings: connector: Add pd-supported property

From: Rob Herring
Date: Tue Aug 03 2021 - 15:37:42 EST


On Fri, Jul 30, 2021 at 02:18:31PM +0800, Kyle Tso wrote:
> Set "pd-unsupported" property if the Type-C connector has no power
> delivery support.
>
> Signed-off-by: Kyle Tso <kyletso@xxxxxxxxxx>
> ---
> .../devicetree/bindings/connector/usb-connector.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
> index 92b49bc37939..21ec470117a6 100644
> --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
> +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
> @@ -111,6 +111,10 @@ properties:
> - 1.5A
> - 3.0A
>
> + pd-unsupported:

'disable-pd' or 'pd-disable' would be a bit more consistent with other
flags like to enable/disable things.

> + description: Set this property if the Type-C connector has no power delivery support.
> + type: boolean
> +
> # The following are optional properties for "usb-c-connector" with power
> # delivery support.
> source-pdos:
> --
> 2.32.0.554.ge1b32706d8-goog
>
>