U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mattijs Korpershoek <mkorpershoek@kernel.org>
To: Zixun LI <admin@hifiphile.com>,
	Eugen Hristev <eugen.hristev@linaro.org>,
	Tom Rini <trini@konsulko.com>, Lukasz Majewski <lukma@denx.de>,
	Mattijs Korpershoek <mkorpershoek@kernel.org>,
	Marek Vasut <marex@denx.de>
Cc: Zixun LI <admin@hifiphile.com>, u-boot@lists.denx.de
Subject: Re: [PATCH v2 1/3] usb: gadget: atmel: Add SAM9X60 support
Date: Tue, 01 Apr 2025 12:07:52 +0200	[thread overview]
Message-ID: <87y0wknqiv.fsf@baylibre.com> (raw)
In-Reply-To: <20250331162611.1557759-2-admin@hifiphile.com>

Hi Zixun,

Thank you for the patch.

On lun., mars 31, 2025 at 18:26, Zixun LI <admin@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 <admin@hifiphile.com>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@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	other threads:[~2025-04-01 12:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250331162611.1557759-1-admin@hifiphile.com>
2025-03-31 16:26 ` [PATCH v2 1/3] usb: gadget: atmel: Add SAM9X60 support Zixun LI
2025-04-01 10:07   ` Mattijs Korpershoek [this message]
2025-04-10  8:49   ` (subset) " Mattijs Korpershoek
2025-04-18 10:43     ` Eugen Hristev
2025-03-31 16:26 ` [PATCH v2 2/3] ARM: dts: sam9x60: Add USB gadget DT node Zixun LI
2025-03-31 20:34   ` Eugen Hristev
2025-04-01 10:10   ` Mattijs Korpershoek
2025-04-01 10:40     ` Eugen Hristev
2025-04-01 12:27       ` Mattijs Korpershoek
2025-03-31 16:26 ` [PATCH v2 3/3] ARM: dts: at91: sam9x60-curiosity: Enable USB gadget node Zixun LI
2025-03-31 20:34   ` Eugen Hristev
2025-04-01 10:11   ` Mattijs Korpershoek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y0wknqiv.fsf@baylibre.com \
    --to=mkorpershoek@kernel.org \
    --cc=admin@hifiphile.com \
    --cc=eugen.hristev@linaro.org \
    --cc=lukma@denx.de \
    --cc=marex@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox