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

Meng Dongyang daniel.meng at rock-chips.com
Mon Jun 12 09:19:36 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>
---

Chagnes in v5: None
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 15df6ef..6004bcb 100644
--- a/drivers/usb/host/xhci-rockchip.c
+++ b/drivers/usb/host/xhci-rockchip.c
@@ -212,6 +212,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" },
 	{ }
 };
 
@@ -231,6 +232,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