[U-Boot] [PATCH v4 05/11] usb: host: xhci-rockchip: add support for rk3328

Meng Dongyang daniel.meng at rock-chips.com
Thu Jun 8 07:33:40 UTC 2017


Add the compatible "rockchip,rk3328-xhci" in match table
for rk3328 to probe xhci controller.

Signed-off-by: Meng Dongyang <daniel.meng at rock-chips.com>
---

Changes in v4:
- New patch, splited from patch [Uboot,v3,04/10]

 drivers/usb/host/xhci-rockchip.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/host/xhci-rockchip.c b/drivers/usb/host/xhci-rockchip.c
index dc9cd56..fbb700c 100644
--- a/drivers/usb/host/xhci-rockchip.c
+++ b/drivers/usb/host/xhci-rockchip.c
@@ -206,6 +206,7 @@ static int xhci_usb_remove(struct udevice *dev)
 
 static const struct udevice_id xhci_usb_ids[] = {
 	{ .compatible = "rockchip,rk3399-xhci" },
+	{ .compatible = "rockchip,rk3328-xhci" },
 	{ }
 };
 
@@ -225,6 +226,7 @@ U_BOOT_DRIVER(usb_xhci) = {
 
 static const struct udevice_id usb_phy_ids[] = {
 	{ .compatible = "rockchip,rk3399-usb3-phy" },
+	{ .compatible = "rockchip,rk3328-usb3-phy" },
 	{ }
 };
 
-- 
1.9.1




More information about the U-Boot mailing list