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

2024-10-08 Thread Marek Vasut
On 10/8/24 6:58 AM, Venkatesh Yadav Abbarapu wrote: [...] @@ -95,6 +198,7 @@ static int usb_onboard_hub_remove(struct udevice *dev) static const struct onboard_hub_data usb5744_data = { .reset_us = 1, .power_on_delay_us = 1, + .init = usb5744_i2c_init, Keep the

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

2024-10-07 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