]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: onboard-hub: Add reset-gpio support
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Mon, 25 Nov 2024 04:11:58 +0000 (09:41 +0530)
committerMarek Vasut <marex@denx.de>
Mon, 25 Nov 2024 04:40:49 +0000 (05:40 +0100)
commit0e670e2917d76005d03be7e2dc3db1b7cba2d0d8
tree7164b410d6ac096993f638629dfee7861108374a
parent52c0e5f8a39ef022ee5ab2dfd67661d1d34941c7
usb: onboard-hub: Add reset-gpio support

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.
Update the usb2514 hub_data with the reset delay and power on
delay values.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Reviewed-by: Marek Vasut <marex@denx.de>
common/usb_onboard_hub.c