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

Add the compatible "rockchip,rk3328-xhci" in match table for rk3328 to probe xhci controller.
Signed-off-by: Meng Dongyang daniel.meng@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" }, { } };

On 06/08/2017 09:33 AM, Meng Dongyang wrote:
Add the compatible "rockchip,rk3328-xhci" in match table for rk3328 to probe xhci controller.
Signed-off-by: Meng Dongyang daniel.meng@rock-chips.com
Applied, thanks
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" }, { }
};
participants (2)
-
Marek Vasut
-
Meng Dongyang