diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-03-09 17:06:12 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-10 23:33:33 +0300 |
commit | eac68e8f979b82d257eea0a4bbcda7b169d330bf (patch) | |
tree | ad3f38d39d31c8c82a9121f375d36c1029363548 /drivers/usb/dwc3/platform_data.h | |
parent | ad78c918602cb7cce0fab5d5813213853a6f351d (diff) | |
download | linux-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/platform_data.h b/drivers/usb/dwc3/platform_data.h index a3a3b6d5668c..a2bd464be828 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; |