mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Marco Felsch <m.felsch@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 3/5] ARM: stm32mp: defconfig: enable use of DKx USB hubs
Date: Fri, 21 Apr 2023 12:51:30 +0200	[thread overview]
Message-ID: <487ad019-b97d-39bd-cf2c-8a81c0fcdc2c@pengutronix.de> (raw)
In-Reply-To: <20230421103657.bhety2z5srjrzhqa@pengutronix.de>

Hello Marco,

On 21.04.23 12:36, Marco Felsch wrote:
> Hi Ahmad,
> 
> On 23-04-21, Ahmad Fatoum wrote:
>> The DK1/DK2 boards have an on-board USB-Hub with togglable power supply,
>> which is connected to the SoC's EHCI. Enable the necessary options to
>> make it usable. This was tested with the mass storage support (barebox
>> being host, not gadget), so enable that as well.
>>
>> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
>> ---
>>  arch/arm/configs/stm32mp_defconfig | 3 +++
>>  1 file changed, 3 insertions(+)
>>
>> diff --git a/arch/arm/configs/stm32mp_defconfig b/arch/arm/configs/stm32mp_defconfig
>> index f6c6ca71b15c..df73102ba1c0 100644
>> --- a/arch/arm/configs/stm32mp_defconfig
>> +++ b/arch/arm/configs/stm32mp_defconfig
>> @@ -115,6 +115,9 @@ CONFIG_MTD_SST25L=y
>>  CONFIG_USB_HOST=y
>>  CONFIG_USB_DWC2_HOST=y
>>  CONFIG_USB_DWC2_GADGET=y
>> +CONFIG_USB_EHCI=y
>> +CONFIG_USB_STORAGE=y
>> +CONFIG_USB_ONBOARD_HUB=y
> 
> While USB_EHCI and USB_STORAGE is already part of the the
> mulit_v7_defconfig, USB_ONBOARD_HUB isn't. Can you please enable it
> there as well?

I just sent a separate patch to that effect.

Cheers,
Ahmad

> 
> Regards,
>   Marco
> 
>>  CONFIG_USB_GADGET=y
>>  CONFIG_USB_GADGET_DFU=y
>>  CONFIG_USB_GADGET_SERIAL=y
>> -- 
>> 2.39.2
>>
>>
>>
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




  reply	other threads:[~2023-04-21 11:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21 10:06 [PATCH 0/5] ARM: stm32mp: enable UBS hubs on DKx Ahmad Fatoum
2023-04-21 10:06 ` [PATCH 1/5] asm-generic: atomic: implement atomic_inc/dec_return stubs Ahmad Fatoum
2023-04-21 10:06 ` [PATCH 2/5] phy: stm32-usphyc: sync with Linux v6.3-rc5 Ahmad Fatoum
2023-04-21 10:06 ` [PATCH 3/5] ARM: stm32mp: defconfig: enable use of DKx USB hubs Ahmad Fatoum
2023-04-21 10:36   ` Marco Felsch
2023-04-21 10:51     ` Ahmad Fatoum [this message]
2023-04-21 10:06 ` [PATCH 4/5] clk: bulk: return -EPROBE_DEFER in silence Ahmad Fatoum
2023-04-21 10:06 ` [PATCH 5/5] ARM: stm32mp: dkx: enable deep probe Ahmad Fatoum
2023-05-02 11:36 ` [PATCH 0/5] ARM: stm32mp: enable UBS hubs on DKx Sascha Hauer

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=487ad019-b97d-39bd-cf2c-8a81c0fcdc2c@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=m.felsch@pengutronix.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