
22 Jun
2023
22 Jun
'23
5:19 p.m.
On 6/22/23 15:07, Eugen Hristev wrote:
From: Sergiu Moga sergiu.moga@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@microchip.com
Reviewed-by: Marek Vasut marex@denx.de