[PATCH 2/7] usb: gadget: udc: atmel: add compatible for SAM9X60's PMC

From: cristian.birsan
Date: Tue Apr 07 2020 - 08:29:41 EST


From: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>

Add compatible for SAM9X60's PMC.

Signed-off-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
[cristian.birsan@xxxxxxxxxxxxx Add sentinel at the end of the array]
Signed-off-by: Cristian Birsan <cristian.birsan@xxxxxxxxxxxxx>
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c
index 32e5b44d9fbd..c50902b91a96 100644
--- a/drivers/usb/gadget/udc/atmel_usba_udc.c
+++ b/drivers/usb/gadget/udc/atmel_usba_udc.c
@@ -2056,6 +2056,8 @@ static const struct of_device_id atmel_pmc_dt_ids[] = {
{ .compatible = "atmel,at91sam9g45-pmc" },
{ .compatible = "atmel,at91sam9rl-pmc" },
{ .compatible = "atmel,at91sam9x5-pmc" },
+ { .compatible = "microchip,sam9x60-pmc" },
+ { /* sentinel */ }
};

static struct usba_ep * atmel_udc_of_init(struct platform_device *pdev,
--
2.17.1