summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/platform_data.h
diff options
context:
space:
mode:
authorRobert Baldyga <r.baldyga@samsung.com>2015-03-09 14:06:12 (GMT)
committerFelipe Balbi <balbi@ti.com>2015-03-10 20:33:33 (GMT)
commiteac68e8f979b82d257eea0a4bbcda7b169d330bf (patch)
treead3f38d39d31c8c82a9121f375d36c1029363548 /drivers/usb/dwc3/platform_data.h
parentad78c918602cb7cce0fab5d5813213853a6f351d (diff)
downloadlinux-eac68e8f979b82d257eea0a4bbcda7b169d330bf.tar.xz
usb: dwc3: make LPM configurable in DT
This patch removes "Enable USB3 LPM Capability" option from Kconfig and adds snps,usb3_lpm_capable devicetree property instead of it. USB3 LPM (Link Power Management) capability is hardware property, and it's platform dependent, so if our hardware supports this feature, we want rather to configure it in devicetree than having it as Kconfig option. Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/platform_data.h')
-rw-r--r--drivers/usb/dwc3/platform_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/platform_data.h b/drivers/usb/dwc3/platform_data.h
index a3a3b6d..a2bd464 100644
--- a/drivers/usb/dwc3/platform_data.h
+++ b/drivers/usb/dwc3/platform_data.h
@@ -24,6 +24,7 @@ struct dwc3_platform_data {
enum usb_device_speed maximum_speed;
enum usb_dr_mode dr_mode;
bool tx_fifo_resize;
+ bool usb3_lpm_capable;
unsigned is_utmi_l1_suspend:1;
u8 hird_threshold;