diff mbox series

[v2,1/2] dt-bindings: usb: dwc3: Add disabling LPM for gadget

Message ID f31348ba744318c83b3a9ab1eab75c61122b15ae.1618366071.git.Thinh.Nguyen@synopsys.com
State New
Headers show
Series usb: dwc3: gadget: Add disabling LPM option | expand

Commit Message

Thinh Nguyen April 14, 2021, 2:13 a.m. UTC
Add a new DT option to disable LPM for gadget and update the description
for usb2-lpm-disable related to host for clarity.

Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
---
 Changes in v2:
 - New patch

 Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

Rob Herring (Arm) April 15, 2021, 9:18 p.m. UTC | #1
On Tue, 13 Apr 2021 19:13:11 -0700, Thinh Nguyen wrote:
> Add a new DT option to disable LPM for gadget and update the description

> for usb2-lpm-disable related to host for clarity.

> 

> Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>

> ---

>  Changes in v2:

>  - New patch

> 

>  Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 8 +++++++-

>  1 file changed, 7 insertions(+), 1 deletion(-)

> 


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

Patch

diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
index 2247da77eac1..41416fbd92aa 100644
--- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
@@ -87,13 +87,19 @@  properties:
     minItems: 1
 
   snps,usb2-lpm-disable:
-    description: Indicate if we don't want to enable USB2 HW LPM
+    description: Indicate if we don't want to enable USB2 HW LPM for host
+      mode.
     type: boolean
 
   snps,usb3_lpm_capable:
     description: Determines if platform is USB3 LPM capable
     type: boolean
 
+  snps,usb2-gadget-lpm-disable:
+    description: Indicate if we don't want to enable USB2 HW LPM for gadget
+      mode.
+    type: boolean
+
   snps,dis-start-transfer-quirk:
     description:
       When set, disable isoc START TRANSFER command failure SW work-around