[PATCH 3/5] ARM: stm32mp: defconfig: enable use of DKx USB hubs
Ahmad Fatoum
a.fatoum at pengutronix.de
Fri Apr 21 03:51:30 PDT 2023
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 at 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 |
More information about the barebox
mailing list