[PATCH v4 2/9] configs: stih410-b2260: Enable DM_REGULATOR flag
Patrick DELAUNAY
patrick.delaunay at foss.st.com
Thu Jan 30 13:56:28 CET 2025
Hi,
On 1/23/25 15:47, Patrice Chotard wrote:
> Since commit 6aa8bde8786d ("usb: host: ehci-generic: Remove DM_REGULATOR
> flag") device_get_supply_regulator() returns -ENOSYS which is not handle
> by ehci_enable_vbus_supply() and thus, ehci_usb_probe() return an error.
>
> By enabling DM_REGULATOR flag, device_get_supply_regulator() return -ENOENT
> which is handle and ehci_usb_probe() return 0.
>
> This fixed the following issue:
> stih410-b2260 =>usb start
> starting USB...
> Bus dwc3 at 9900000: Register 2000240 NbrPorts 2
> Starting the controller
> USB XHCI 1.00
> Bus usb at 9a03c00: USB OHCI 1.0
> Bus usb at 9a03e00: probe failed, error -38
> Bus usb at 9a83c00: USB OHCI 1.0
> Bus usb at 9a83e00: probe failed, error -38
> scanning bus dwc3 at 9900000 for devices... 1 USB Device(s) found
> scanning bus usb at 9a03c00 for devices... data abort
> pc : [<7df929b4>] lr : [<7df92918>]
> reloc pc : [<7d6409b4>] lr : [<7d640918>]
> sp : 7c73b848 ip : 9cf13c5c fp : 7c879d08
> r10: 7c85d040 r9 : 7c74ded0 r8 : 09a03c00
> r7 : 00000002 r6 : 7c85d080 r5 : 7c86a040 r4 : 00000000
> r3 : 00000000 r2 : 00000000 r1 : 7c85d080 r0 : 7c85d040
> Flags: nzCv IRQs off FIQs off Mode SVC_32
> Code: 05853ae4 0affffe2 e59a2010 e59a300c (e5832010)
> Resetting CPU ...
>
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Marek Vasut <marex at denx.de>
> ---
>
> (no changes since v1)
>
> configs/stih410-b2260_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig
> index 815f7557d69..e312ca492d2 100644
> --- a/configs/stih410-b2260_defconfig
> +++ b/configs/stih410-b2260_defconfig
> @@ -48,6 +48,7 @@ CONFIG_MMC_SDHCI_STI=y
> CONFIG_PHY=y
> CONFIG_STI_USB_PHY=y
> CONFIG_PINCTRL=y
> +CONFIG_DM_REGULATOR=y
> CONFIG_STI_RESET=y
> CONFIG_STI_ASC_SERIAL=y
> CONFIG_SYSRESET=y
Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Thanks
Patrick
More information about the U-Boot
mailing list