diff mbox series

[v3,2/4] dt-bindings: usb: dwc2: adopt otg properties defined in usb-drd.yaml

Message ID 1634133425-25670-3-git-send-email-fabrice.gasnier@foss.st.com
State Not Applicable, archived
Headers show
Series usb: dwc2: fill in gadget caps, configure it for stm32mp15 | expand

Checks

Context Check Description
robh/checkpatch success
robh/dt-meta-schema success
robh/dtbs-check fail build log

Commit Message

Fabrice Gasnier Oct. 13, 2021, 1:57 p.m. UTC
Adopt some OTG optional properties as defined in usb-drd.yaml:
- otg-rev
- hnp-disable
- srp-disable

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
---
 Documentation/devicetree/bindings/usb/dwc2.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rob Herring Oct. 18, 2021, 7:19 p.m. UTC | #1
On Wed, 13 Oct 2021 15:57:03 +0200, Fabrice Gasnier wrote:
> Adopt some OTG optional properties as defined in usb-drd.yaml:
> - otg-rev
> - hnp-disable
> - srp-disable
> 
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
> ---
>  Documentation/devicetree/bindings/usb/dwc2.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml
index 0acbb7a..56a8184 100644
--- a/Documentation/devicetree/bindings/usb/dwc2.yaml
+++ b/Documentation/devicetree/bindings/usb/dwc2.yaml
@@ -106,6 +106,12 @@  properties:
 
   dr_mode: true
 
+  otg-rev: true
+
+  hnp-disable: true
+
+  srp-disable: true
+
   usb-role-switch: true
 
   g-rx-fifo-size: