summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/dwc3-of-simple.c
diff options
context:
space:
mode:
authorWilliam Wu <william.wu@rock-chips.com>2016-08-16 16:44:36 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-08-25 11:13:12 +0200
commitf652191be3f6bc997bbaf9bd4e8ec6dc96f44433 (patch)
tree7fddf21fc4952e8fff2a4df6134a1d74a0af8aef /drivers/usb/dwc3/dwc3-of-simple.c
parentusb: dwc3: rockchip: add devicetree bindings documentation (diff)
downloadlinux-f652191be3f6bc997bbaf9bd4e8ec6dc96f44433.tar.xz
linux-f652191be3f6bc997bbaf9bd4e8ec6dc96f44433.zip
usb: dwc3: of-simple: add compatible for rockchip rk3399
Rockchip platform merely enable usb3 clocks and populate its children. So we can use this generic glue layer to support Rockchip dwc3. Signed-off-by: William Wu <william.wu@rock-chips.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-of-simple.c')
-rw-r--r--drivers/usb/dwc3/dwc3-of-simple.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c
index e56d59b19a0e..283f9980a260 100644
--- a/drivers/usb/dwc3/dwc3-of-simple.c
+++ b/drivers/usb/dwc3/dwc3-of-simple.c
@@ -162,6 +162,7 @@ static const struct dev_pm_ops dwc3_of_simple_dev_pm_ops = {
static const struct of_device_id of_dwc3_simple_match[] = {
{ .compatible = "qcom,dwc3" },
+ { .compatible = "rockchip,rk3399-dwc3" },
{ .compatible = "xlnx,zynqmp-dwc3" },
{ /* Sentinel */ }
};