[PATCH] usb: xhci-rcar: Add support for R8A774A1 SoC

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] usb: xhci-rcar: Add support for R8A774A1 SoC

Lad Prabhakar
The R8A774A1 is compatible with the generic rcar-gen3-xhci controller.
This patch adds the compatibility flag, to support the xHCI controller.

Signed-off-by: Lad Prabhakar <[hidden email]>
Reviewed-by: Biju Das <[hidden email]>
---
 drivers/usb/host/xhci-rcar.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c
index 8fc51df3d1..5379dba566 100644
--- a/drivers/usb/host/xhci-rcar.c
+++ b/drivers/usb/host/xhci-rcar.c
@@ -146,6 +146,7 @@ static int xhci_rcar_ofdata_to_platdata(struct udevice *dev)
 }
 
 static const struct udevice_id xhci_rcar_ids[] = {
+ { .compatible = "renesas,rcar-gen3-xhci" },
  { .compatible = "renesas,xhci-r8a7795" },
  { .compatible = "renesas,xhci-r8a7796" },
  { .compatible = "renesas,xhci-r8a77965" },
--
2.17.1

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] usb: xhci-rcar: Add support for R8A774A1 SoC

Marek Vasut-3
On 9/21/20 7:24 PM, Lad Prabhakar wrote:

> The R8A774A1 is compatible with the generic rcar-gen3-xhci controller.
> This patch adds the compatibility flag, to support the xHCI controller.
>
> Signed-off-by: Lad Prabhakar <[hidden email]>
> Reviewed-by: Biju Das <[hidden email]>
> ---
>  drivers/usb/host/xhci-rcar.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c
> index 8fc51df3d1..5379dba566 100644
> --- a/drivers/usb/host/xhci-rcar.c
> +++ b/drivers/usb/host/xhci-rcar.c
> @@ -146,6 +146,7 @@ static int xhci_rcar_ofdata_to_platdata(struct udevice *dev)
>  }
>  
>  static const struct udevice_id xhci_rcar_ids[] = {
> + { .compatible = "renesas,rcar-gen3-xhci" },
>   { .compatible = "renesas,xhci-r8a7795" },
>   { .compatible = "renesas,xhci-r8a7796" },
>   { .compatible = "renesas,xhci-r8a77965" },

Applied to usb/next, thanks