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

Cristian.Birsan
2020-04-07T14:04:17Z

On 4/7/20 4:41 PM, Alexandre Belloni wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> Hi,
>
> On 07/04/2020 15:28:47+0300, cristian.birsan@microchip.com wrote:
>> From: Claudiu Beznea <claudiu.beznea@microchip.com>
>>
>> Add compatible for SAM9X60's PMC.
>>
>> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
>> [cristian.birsan@microchip.com Add sentinel at the end of the array]
>> Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
>> ---
>> 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 */ }
>
> This patch can be squashed in the previous one.

I'll squash it in v2.

>
> --
> Alexandre Belloni, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>