Re: [PATCH 2/2] dt-bindings: usb: dwc3: add optional extcon description

From: Rob Herring
Date: Mon Mar 30 2020 - 19:04:40 EST


On Wed, Mar 18, 2020 at 09:35:08AM +0100, Martin Kepplinger wrote:
> the dwc3 drd module already hooks up an extcon device if described in DT.
>
> Signed-off-by: Martin Kepplinger <martin.kepplinger@xxxxxxx>
> ---
> Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt
> index 9946ff9ba735..9aa0cefbf5f6 100644
> --- a/Documentation/devicetree/bindings/usb/dwc3.txt
> +++ b/Documentation/devicetree/bindings/usb/dwc3.txt
> @@ -31,6 +31,8 @@ Exception for clocks:
> "xlnx,zynqmp-dwc3"
>
> Optional properties:
> + - extcon: phandle for the extcon device dwc3 DRD uses to detect
> + connect/disconnect events.

This is deprecated in favor of usb-connector binding. I guess fine to
document it, but needs a big fat deprecated, do not use message.

> - usb-phy : array of phandle for the PHY device. The first element
> in the array is expected to be a handle to the USB2/HS PHY and
> the second element is expected to be a handle to the USB3/SS PHY
> --
> 2.20.1
>