devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] usb: dwc3: Misc USB2 LPM settings
@ 2018-11-08  2:10 Thinh Nguyen
  2018-11-08  2:10 ` [PATCH 2/3] usb: dwc3: Add a property to disable USB2 LPM Thinh Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Thinh Nguyen @ 2018-11-08  2:10 UTC (permalink / raw)
  To: Felipe Balbi, linux-usb, devicetree, Rob Herring, Mark Rutland; +Cc: John Youn

This patch series adds miscellaneous USB2 LPM related settings


Thinh Nguyen (3):
  usb: dwc3: Set GUSB2PHYCFG.ENBLSLPM
  usb: dwc3: Add a property to disable USB2 LPM
  usb: dwc3: Support option to disable USB2 LPM

 Documentation/devicetree/bindings/usb/dwc3.txt | 1 +
 drivers/usb/dwc3/core.c                        | 4 ++++
 drivers/usb/dwc3/core.h                        | 2 ++
 drivers/usb/dwc3/host.c                        | 5 ++++-
 4 files changed, 11 insertions(+), 1 deletion(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/3] usb: dwc3: Add a property to disable USB2 LPM
  2018-11-08  2:10 [PATCH 0/3] usb: dwc3: Misc USB2 LPM settings Thinh Nguyen
@ 2018-11-08  2:10 ` Thinh Nguyen
  2018-11-12 23:37   ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Thinh Nguyen @ 2018-11-08  2:10 UTC (permalink / raw)
  To: Felipe Balbi, linux-usb, devicetree, Rob Herring, Mark Rutland; +Cc: John Youn

Add an option to disable USB2 LPM from host. There maybe cases where the
user does not want to enable USB2 LPM (e.g. USB2 LPM is broken).

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
---
 Documentation/devicetree/bindings/usb/dwc3.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt
index 636630fb92d7..7e33e53e7c29 100644
--- a/Documentation/devicetree/bindings/usb/dwc3.txt
+++ b/Documentation/devicetree/bindings/usb/dwc3.txt
@@ -37,6 +37,7 @@ Optional properties:
  - phy-names: from the *Generic PHY* bindings; supported names are "usb2-phy"
 	or "usb3-phy".
  - resets: a single pair of phandle and reset specifier
+ - snps,usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM
  - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable
  - snps,disable_scramble_quirk: true when SW should disable data scrambling.
 	Only really useful for FPGA builds.
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/3] usb: dwc3: Add a property to disable USB2 LPM
  2018-11-08  2:10 ` [PATCH 2/3] usb: dwc3: Add a property to disable USB2 LPM Thinh Nguyen
@ 2018-11-12 23:37   ` Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2018-11-12 23:37 UTC (permalink / raw)
  To: Thinh Nguyen; +Cc: Felipe Balbi, linux-usb, devicetree, Mark Rutland, John Youn

On Wed, 7 Nov 2018 18:10:36 -0800, Thinh Nguyen wrote:
> Add an option to disable USB2 LPM from host. There maybe cases where the
> user does not want to enable USB2 LPM (e.g. USB2 LPM is broken).
> 
> Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
> ---
>  Documentation/devicetree/bindings/usb/dwc3.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-12 23:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-08  2:10 [PATCH 0/3] usb: dwc3: Misc USB2 LPM settings Thinh Nguyen
2018-11-08  2:10 ` [PATCH 2/3] usb: dwc3: Add a property to disable USB2 LPM Thinh Nguyen
2018-11-12 23:37   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).