Hi Zixun,

Thank you for the patch.
On lun., mars 31, 2025 at 18:26, Zixun LI <ad...@hifiphile.com> wrote:

> Compared to SAM9X5 the only difference is the DPRAM memory from the
> USB High Speed Device Port (UDPHS) hardware block was increased,
> so we can reuse the same endpoint data.
>
> Also add compatible "microchip,sam9x60-udc".
>
> Signed-off-by: Zixun LI <ad...@hifiphile.com>

Reviewed-by: Mattijs Korpershoek <mkorpersh...@kernel.org>

> ---
>  arch/arm/mach-at91/include/mach/atmel_usba_udc.h | 2 +-
>  drivers/usb/gadget/atmel_usba_udc.c              | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-at91/include/mach/atmel_usba_udc.h 
> b/arch/arm/mach-at91/include/mach/atmel_usba_udc.h
> index 835b47d91ba..23c71985c90 100644
> --- a/arch/arm/mach-at91/include/mach/atmel_usba_udc.h
> +++ b/arch/arm/mach-at91/include/mach/atmel_usba_udc.h
> @@ -20,7 +20,7 @@
>       }
>  
>  #if defined(CONFIG_AT91SAM9G45) || defined(CONFIG_AT91SAM9M10G45) || \
> -     defined(CONFIG_AT91SAM9X5)
> +     defined(CONFIG_AT91SAM9X5) || defined(CONFIG_SAM9X60)
>  static struct usba_ep_data usba_udc_ep[] = {
>       EP("ep0", 0, 64, 1, 0, 0),
>       EP("ep1", 1, 1024, 2, 1, 1),
> diff --git a/drivers/usb/gadget/atmel_usba_udc.c 
> b/drivers/usb/gadget/atmel_usba_udc.c
> index a77037a7094..f9326f0a7e7 100644
> --- a/drivers/usb/gadget/atmel_usba_udc.c
> +++ b/drivers/usb/gadget/atmel_usba_udc.c
> @@ -1443,6 +1443,7 @@ static const struct udevice_id usba_udc_ids[] = {
>       { .compatible = "atmel,at91sam9rl-udc" },
>       { .compatible = "atmel,at91sam9g45-udc" },
>       { .compatible = "atmel,sama5d3-udc" },
> +     { .compatible = "microchip,sam9x60-udc" },
>       {}
>  };
>  
> -- 
> 2.49.0

Reply via email to