Re: [PATCH v5 1/7] usb: onboard-hub: Add reset-gpio support

2024-10-07 Thread Marek Vasut
On 10/7/24 5:03 PM, Abbarapu, Venkatesh wrote: [...] static int usb_onboard_hub_probe(struct udevice *dev) { struct onboard_hub *hub = dev_get_priv(dev); @@ -30,7 +67,11 @@ static int usb_onboard_hub_probe(struct udevice *dev) if (ret) dev_err(dev, "can't e

RE: [PATCH v5 1/7] usb: onboard-hub: Add reset-gpio support

2024-10-07 Thread Abbarapu, Venkatesh
Hi, > -Original Message- > From: Marek Vasut > Sent: Monday, October 7, 2024 5:39 PM > To: Abbarapu, Venkatesh ; u-boot@lists.denx.de > Cc: Simek, Michal ; fabrice.gasn...@foss.st.com; git > (AMD-Xilinx) > Subject: Re: [PATCH v5 1/7] usb: onboard-hub: Add reset-gpio

Re: [PATCH v5 1/7] usb: onboard-hub: Add reset-gpio support

2024-10-07 Thread Marek Vasut
On 10/7/24 6:45 AM, Venkatesh Yadav Abbarapu wrote: As part of the reset, sets the direction of the pin to output before toggling the pin. Delay of millisecond is added in between low and high to meet the setup and hold time requirement of the reset. Signed-off-by: Venkatesh Yadav Abbarapu ---

[PATCH v5 1/7] usb: onboard-hub: Add reset-gpio support

2024-10-06 Thread Venkatesh Yadav Abbarapu
As part of the reset, sets the direction of the pin to output before toggling the pin. Delay of millisecond is added in between low and high to meet the setup and hold time requirement of the reset. Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 49 +++