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

Marek Vasut marex at denx.de
Wed Jan 15 20:29:27 CET 2025


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?


More information about the U-Boot mailing list