From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Marek Vasut <marex@denx.de>,
Caleb Connolly <caleb.connolly@linaro.org>,
Zixun LI <admin@hifiphile.com>
Cc: Lukasz Majewski <lukma@denx.de>, Tom Rini <trini@konsulko.com>,
u-boot@lists.denx.de
Subject: Re: [PATCH] usb: gadget: ether: Handle gadget driver registration in start and stop
Date: Wed, 21 Aug 2024 14:34:13 +0200 [thread overview]
Message-ID: <87r0aicawq.fsf@baylibre.com> (raw)
In-Reply-To: <c6d9d714-c44c-4d97-bbea-66dc2f410b60@denx.de>
On mar., août 20, 2024 at 19:12, Marek Vasut <marex@denx.de> wrote:
> On 8/20/24 7:11 PM, Caleb Connolly wrote:
>>
>>> Instead, to enable usb ethernet, we should manually bind the UDC driver
>>> to the usb_ether gadget.
>>>
>>> For example, on Khadas VIM3 board, this can be done with:
>>>
>>> => bind /soc/usb@ffe09000/usb@ff400000 usb_ether
>>
>> It would be great if this could be done like ums where the UDC index is
>> given rather than having to figure out the magic DT path incantation :D
>>
>> => ums 0 scsi 0,1,2,3,4,5
Agreed, but we don't want to have one U-Boot command per gadget function.
>
> Yeah ... I wonder if we want an 'udc' command ?
This seems like a nice idea. I will give it some more thoughts and look
into prototyping something.
prev parent reply other threads:[~2024-08-21 12:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-26 8:31 [PATCH] usb: gadget: ether: Handle gadget driver registration in start and stop Zixun LI
2024-08-06 14:00 ` Mattijs Korpershoek
2024-08-06 20:28 ` Zixun LI
2024-08-07 6:34 ` Mattijs Korpershoek
2024-08-07 6:38 ` Mattijs Korpershoek
2024-08-20 16:11 ` Mattijs Korpershoek
2024-08-20 17:11 ` Caleb Connolly
2024-08-20 17:12 ` Marek Vasut
2024-08-21 12:34 ` Mattijs Korpershoek [this message]
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=87r0aicawq.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--cc=admin@hifiphile.com \
--cc=caleb.connolly@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