Skip to contentSkip to conversation

usb: dwc3: Misc USB2 LPM settings

PATCH In review Thinh Nguyen 2 participants 3 messages Nov 8, 2018 – Nov 12, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover usb: dwc3: Misc USB2 LPM settings

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(-)
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/3 usb: dwc3: Add a property to disable USB2 LPM

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

---
 Documentation/devicetree/bindings/usb/dwc3.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/usb/dwc3.txt +1 -0
index 636630fb92d7..7e33e53e7c29 100644
@@ -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.
Signature · 1 line
2.11.0
maintainer Reviewed-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] usb: dwc3: Add a property to disable USB2 LPM

Quoted 8 lines · Thinh Nguyen

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

---
 Documentation/devicetree/bindings/usb/dwc3.txt | 1 +
 1 file changed, 1 insertion(+)