Re: [PATCH v3 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-10-01 Thread Marek Vasut
On 10/1/24 7:05 AM, Venkatesh Yadav Abbarapu wrote: [...] +static int usb5744_i2c_init(struct udevice *dev) +{ + /* +* Prevent the MCU from the putting the HUB in suspend mode through register write. +* The BYPASS_UDC_SUSPEND bit (Bit 3) of the RuntimeFlags2 register at

[PATCH v3 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-09-30 Thread Venkatesh Yadav Abbarapu
Add i2c initialization hook and set usb5744 platform data with function having required i2c initialization sequence. Apart from the USB command attach, prevent the hub from suspend. when the “USB Attach with SMBUS (0xAA56)” command is issued to the hub, the hub is getting enumerated and then it pu