[PATCH 06/10] dw3-generic: Add dependencies whith SYSCON and REGMAP

Patrice CHOTARD patrice.chotard at foss.st.com
Thu Jan 16 07:59:36 CET 2025



On 1/15/25 20:29, Marek Vasut wrote:
> On 1/15/25 11:43 AM, Patrice CHOTARD wrote:
>>
>>
>> On 1/14/25 15:54, Marek Vasut wrote:
>>> On 1/14/25 3:45 PM, Patrice Chotard wrote:
>>>> Since addition of STiH407 support in dwc3-generic, SYSCON and REGMAP
>>>> support are needed.
>>>>
>>>> Add dependencies with SPL_REGMAP and SPL_SYSCON for:
>>>> qcm6490, imx8mp_evk, phycore-imx8mp, librem5, qcom,
>>>> xilinx_versal_net_virt, amd_versal2_virt, xilinx_zynqmp_kria
>>>> xilinx_zynqmp_virt.
>>>>
>>>> Add dependencies with SPL_REGMAP and SPL_SYSCON for am57xx_hs_evm_usb.
>>>>
>>>> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
>>>> Cc: Marek Vasut <marex at denx.de>
>>>> ---
>>>>
>>>>    drivers/usb/dwc3/Kconfig | 4 ++++
>>>>    1 file changed, 4 insertions(+)
>>>>
>>>> diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
>>>> index 0100723a68b..ef82a3e9626 100644
>>>> --- a/drivers/usb/dwc3/Kconfig
>>>> +++ b/drivers/usb/dwc3/Kconfig
>>>> @@ -26,6 +26,10 @@ config USB_DWC3_OMAP
>>>>    config USB_DWC3_GENERIC
>>>>        bool "Generic implementation of a DWC3 wrapper (aka dwc3 glue)"
>>>>        depends on DM_USB && USB_DWC3 && MISC
>>>> +    select SPL_REGMAP if SPL
>>>> +    select SPL_SYSCON if SPL
>>>> +    select REGMAP
>>>> +    select SYSCON
>>> Why was this not needed so far ? Or is this a bugfix ?
>>
>> My comment lacks of detail.
>> By adding stih407 support, i am using syscon_regmap_lookup_by_phandle() which
>> need that REGMAP and SYSCOn support are enabled.
> I suspect this will now be specific to the stih glue driver , right?

Right it's specific to STi glue driver. But as i said in my reply of patch 04/10, 
the rework of patch 04/10 will remove the need of patch 06/10.

Thanks
Patrice


More information about the U-Boot mailing list