[PATCH v4 2/3] usb: ohci-at91: Enable OHCI functionality and register into DM

Marek Vasut marex at denx.de
Thu Jun 22 17:19:47 CEST 2023


On 6/22/23 15:07, Eugen Hristev wrote:
> From: Sergiu Moga <sergiu.moga at microchip.com>
> 
> Register the OHCI driver into DM by properly initializing the required
> clocks and pins required by the DT node of OHCI. In order for the VBUS
> to stay enabled, a `child_pre_probe` method has been added to overcome
> the DM core disabling it in `usb_scan_device`: when the generic
> `device_probe` method is called, the pinctrl is processed once again,
> undoing whatever changes have been made in our driver's probe method.
> 
> Furthermore, enable CONFIG_DM_GPIO whenever this driver and CONFIG_DM_USB
> are selected.
> 
> Signed-off-by: Sergiu Moga <sergiu.moga at microchip.com>

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list