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.chot...@foss.st.com>
Cc: Marek Vasut <ma...@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 ?