diff mbox series

usb: dwc3: Add versal compatibility string to dwc3 glue ids

Message ID b1ac4bc6fd2f3bd0633c99f05faa1ce469fc179b.1589265360.git.michal.simek@xilinx.com
State New
Headers show
Series usb: dwc3: Add versal compatibility string to dwc3 glue ids | expand

Commit Message

Michal Simek May 12, 2020, 6:36 a.m. UTC
From: Siva Durga Prasad Paladugu <siva.durga.paladugu at xilinx.com>

Xilinx Versal platform uses dwc3 and hence its compatible string
needs to be added to dwc3 glue ids.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu at xilinx.com>
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 drivers/usb/dwc3/dwc3-generic.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Marek Vasut May 12, 2020, 7:27 a.m. UTC | #1
On 5/12/20 8:36 AM, Michal Simek wrote:
> From: Siva Durga Prasad Paladugu <siva.durga.paladugu at xilinx.com>
> 
> Xilinx Versal platform uses dwc3 and hence its compatible string
> needs to be added to dwc3 glue ids.
> 
> Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
> 
>  drivers/usb/dwc3/dwc3-generic.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c
> index eabd53a36dc9..175866cf4deb 100644
> --- a/drivers/usb/dwc3/dwc3-generic.c
> +++ b/drivers/usb/dwc3/dwc3-generic.c
> @@ -420,6 +420,7 @@ static int dwc3_glue_remove(struct udevice *dev)
>  
>  static const struct udevice_id dwc3_glue_ids[] = {
>  	{ .compatible = "xlnx,zynqmp-dwc3" },
> +	{ .compatible = "xlnx,versal-dwc3" },
>  	{ .compatible = "ti,keystone-dwc3"},
>  	{ .compatible = "ti,dwc3", .data = (ulong)&ti_ops },
>  	{ .compatible = "ti,am437x-dwc3", .data = (ulong)&ti_ops },
> 

Applied, thanks.
diff mbox series

Patch

diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c
index eabd53a36dc9..175866cf4deb 100644
--- a/drivers/usb/dwc3/dwc3-generic.c
+++ b/drivers/usb/dwc3/dwc3-generic.c
@@ -420,6 +420,7 @@  static int dwc3_glue_remove(struct udevice *dev)
 
 static const struct udevice_id dwc3_glue_ids[] = {
 	{ .compatible = "xlnx,zynqmp-dwc3" },
+	{ .compatible = "xlnx,versal-dwc3" },
 	{ .compatible = "ti,keystone-dwc3"},
 	{ .compatible = "ti,dwc3", .data = (ulong)&ti_ops },
 	{ .compatible = "ti,am437x-dwc3", .data = (ulong)&ti_ops },