diff mbox

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

Message ID 1496907220-26599-1-git-send-email-daniel.meng@rock-chips.com
State Accepted
Delegated to: Philipp Tomsich
Headers show

Commit Message

Meng Dongyang June 8, 2017, 7:33 a.m. UTC
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(+)

Comments

Marek Vasut June 8, 2017, 1:13 p.m. UTC | #1
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" },
>  	{ }
>  };
>  
>
diff mbox

Patch

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" },
 	{ }
 };