From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Eugen Hristev <eugen.hristev@linaro.org>,
Zixun LI <admin@hifiphile.com>, Tom Rini <trini@konsulko.com>,
Lukasz Majewski <lukma@denx.de>, Marek Vasut <marex@denx.de>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH] usb: gadget: atmel: Add SAM9X60 support
Date: Mon, 31 Mar 2025 11:39:43 +0200 [thread overview]
Message-ID: <8734etpmhs.fsf@baylibre.com> (raw)
In-Reply-To: <777fde90-8f9d-485f-ae92-6add019bb47a@linaro.org>
Hi Eugen,
On lun., mars 31, 2025 at 12:26, Eugen Hristev <eugen.hristev@linaro.org> wrote:
> On 3/31/25 12:05, Mattijs Korpershoek wrote:
>> Hi Eugen, Zixun,
>>
>> On lun., mars 24, 2025 at 11:23, Eugen Hristev <eugen.hristev@linaro.org> wrote:
>>
>>> On 3/22/25 22:56, Zixun LI wrote:
>>>> Add compatible "microchip,sam9x60-udc" and device tree binding.
>>>> 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.
>>>>
>>>> Tested on SAM9X60-Curiosity board with nfs and ums commands.
>>>
>>> Why no patch to enable it on the board as well then ?
>>
>> Looking at configs/at91sam9x5ek_mmc_defconfig, I don't see
>> CMD_USB_MASS_STORAGE=y in there as well.
>>
>> Could you elaborate on why you'd want this to be enabled as part of the
>> driver series?
>>
>> On one hand, users has more built-in commands available and it eases the
>> testing. On the other hand, some users might not be interested in having
>> this by default. Enabling it via menuconfig is quite easy.
>
> What I meant is have the node in the board DT (gadget@500000).
> That cannot be enabled in the menuconfig.
> The Gadget or the Host should be described in the DT as it's a
> description of the board, if the board supports both Gadget and Host ,
> both should be in the DT.
>
> If there is a hardware limitation, or something that allows only one of
> these to work at the same time, this should be detailed, and have both
> nodes anyway, with one of them Disabled, possibly two different DTs with
> either of the nodes enabled/disabled.
I see. Sorry I misunderstood your point initially.
I agree with you: we should enable usb0 in
arch/arm/dts/at91-sam9x60_curiosity.dts as part of this series.
Thanks for the clarification!
>
>>
>>>
>>>>
>>>> Signed-off-by: Zixun LI <admin@hifiphile.com>
>>>> ---
[...]
next prev parent reply other threads:[~2025-03-31 9:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-22 20:56 [PATCH] usb: gadget: atmel: Add SAM9X60 support Zixun LI
2025-03-22 22:59 ` Marek Vasut
2025-03-24 9:23 ` Eugen Hristev
2025-03-31 9:05 ` Mattijs Korpershoek
2025-03-31 9:26 ` Eugen Hristev
2025-03-31 9:39 ` Mattijs Korpershoek [this message]
2025-03-31 16:03 ` Zixun LI
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=8734etpmhs.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.