usb: dwc3: make LPM configurable in DT
authorRobert Baldyga <r.baldyga@samsung.com>
Mon, 9 Mar 2015 14:06:12 +0000 (15:06 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:33 +0000 (15:33 -0500)
commiteac68e8f979b82d257eea0a4bbcda7b169d330bf
treead3f38d39d31c8c82a9121f375d36c1029363548
parentad78c918602cb7cce0fab5d5813213853a6f351d
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>
Documentation/devicetree/bindings/usb/dwc3.txt
drivers/usb/dwc3/Kconfig
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/host.c
drivers/usb/dwc3/platform_data.h