[PATCH 3/7] usb: onboard-hub: add support for Microchip USB5744
Marek Vasut
marex at denx.de
Mon Sep 2 20:46:13 CEST 2024
On 6/5/24 12:02 PM, Venkatesh Yadav Abbarapu wrote:
> Add support for the Microchip USB5744 USB3.0 and USB2.0 Hub.
> The usb5744 driver trigger hub reset signal after soft reset.
> The usb5744 hub need to reset after the phy initialization,
> which toggles the gpio.
>
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> ---
> common/usb_onboard_hub.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c
> index 0cfaa90fce3..50870285995 100644
> --- a/common/usb_onboard_hub.c
> +++ b/common/usb_onboard_hub.c
> @@ -88,11 +88,21 @@ static const struct onboard_hub_data usb2514_data = {
> /* TBD */
> };
>
> +static const struct onboard_hub_data usb5744_data = {
> + .reset_us = 10000,
> +};
> +
> static const struct udevice_id usb_onboard_hub_ids[] = {
> /* Use generic usbVID,PID dt-bindings (usb-device.yaml) */
> {
> .compatible = "usb424,2514", /* USB2514B USB 2.0 */
> .data = (ulong)&usb2514_data,
> + }, {
> + .compatible = "usb424,5744", /* USB5744 USB 3.0 */
> + .data = (ulong)&usb5744_data,
> + }, {
> + .compatible = "usb424,2744", /* USB2744 USB 2.0 */
> + .data = (ulong)&usb5744_data,
> }
Keep the list sorted.
More information about the U-Boot
mailing list