usb: dwc3: add generic OF glue layer
authorFelipe Balbi <balbi@ti.com>
Wed, 18 Nov 2015 19:15:20 +0000 (13:15 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 15 Dec 2015 15:12:41 +0000 (09:12 -0600)
commit16adc674d0d68a50dfc725574738d7ae11cf5d7e
tree70474a9eb1f931e8fd0f87106039553a744506be
parentb5d335e5ea6a60f5254c1f3d5fddd47f4531bccf
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>
drivers/usb/dwc3/Kconfig
drivers/usb/dwc3/Makefile
drivers/usb/dwc3/dwc3-of-simple.c [new file with mode: 0644]