UPSTREAM: usb: dwc3: add generic OF glue layer
authorFelipe Balbi <balbi@ti.com>
Wed, 18 Nov 2015 19:15:20 +0000 (13:15 -0600)
committerWu Liang feng <wulf@rock-chips.com>
Sun, 6 Mar 2016 13:27:17 +0000 (21:27 +0800)
commit9d8dd68f16e08f82be35cfe90a3eacf62a61e81f
treee5085b329d77ee1df3fe62920b785d2b018f3580
parentbfb4bdd41bac520b9dbd6b85220a0a258a645f30
UPSTREAM: usb: dwc3: add generic OF glue layer

For simple platforms which merely enable some clocks
and populate its children, we can use this generic
glue layer to avoid boilerplate code duplication.

For now this supports Qcom and Xilinx, but if we
find a way to add generic handling of regulators and
optional PHYs, we can absorb exynos as well.

Tested-by: Subbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@xilinx.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
(cherry picked from commit 16adc674d0d68a50dfc725574738d7ae11cf5d7e)

Change-Id: Ia397ebcc522d0cd33c8dd3ee286dc2e0a5383a58
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
drivers/usb/dwc3/Kconfig
drivers/usb/dwc3/Makefile
drivers/usb/dwc3/dwc3-of-simple.c [new file with mode: 0644]