Skip to contentSkip to conversation

usb: host: xhci-rockchip: add support for rk3328

PATCH Superseded Meng Dongyang 2 participants 2 messages Jun 8, 2017

Subsystems (3)

v4 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 5/11 usb: host: xhci-rockchip: add support for rk3328

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

---

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

 drivers/usb/host/xhci-rockchip.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/usb/host/xhci-rockchip.c +2 -0
index dc9cd56..fbb700c 100644
@@ -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" },
 	{ }
 };
 
Signature · 1 line
1.9.1
Applied
#1 lore raw

PATCH v4 5/11 usb: host: xhci-rockchip: add support for rk3328

Quoted 4 lines · Meng Dongyang

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

Applied, thanks

Quoted 29 lines

---

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

 drivers/usb/host/xhci-rockchip.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/usb/host/xhci-rockchip.c +2 -0
index dc9cd56..fbb700c 100644
@@ -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" },
 	{ }
 };
 
Signature · 2 lines
Best regards,
Marek Vasut