diff mbox series

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

Message ID 20200318083508.20781-2-martin.kepplinger@puri.sm (mailing list archive)
State Superseded
Headers show
Series [1/2] usb: dwc3: support continuous runtime PM with dual role | expand

Commit Message

Martin Kepplinger March 18, 2020, 8:35 a.m. UTC
the dwc3 drd module already hooks up an extcon device if described in DT.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
---
 Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring (Arm) March 30, 2020, 11:04 p.m. UTC | #1
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@puri.sm>
> ---
>  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
>
diff mbox series

Patch

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.
  - 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