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

2023-07-25 Thread Marek Vasut
On 7/25/23 17:43, Eugen Hristev wrote: [...] +static int ohci_atmel_probe(struct udevice *dev) +{ + struct ohci_at91_priv *ohci_at91 = dev_get_priv(dev); + struct at91_usbh_data *pdata = dev_get_plat(dev); + struct ohci_regs *regs; + int ret; + u32 i; + + reg

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

2023-07-25 Thread Eugen Hristev
From: Sergiu Moga 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 `d