Skip to content

Commit

Permalink
usb: misc: onboard_hub: Add support for Genesys Logic USB2.0 Hub
Browse files Browse the repository at this point in the history
Add support for the Genesys Logic USB2.0 Hub found on the Asus P1801-T.

Signed-off-by: Maxim Schwalm <[email protected]>
  • Loading branch information
maximschwalm authored and digetx committed Aug 15, 2022
1 parent 86be0b8 commit b7e8027
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/misc/onboard_usb_hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ static struct platform_driver onboard_hub_driver = {
#define VENDOR_ID_MICROCHIP 0x0424
#define VENDOR_ID_REALTEK 0x0bda
#define VENDOR_ID_TI 0x0451
#define VENDOR_ID_GENESYS_LOGIC 0x05e3

/*
* Returns the onboard_hub platform device that is associated with the USB
Expand Down Expand Up @@ -417,6 +418,7 @@ static const struct usb_device_id onboard_hub_id_table[] = {
{ USB_DEVICE(VENDOR_ID_REALTEK, 0x5414) }, /* RTS5414 USB 2.1 */
{ USB_DEVICE(VENDOR_ID_TI, 0x8140) }, /* TI USB8041 3.0 */
{ USB_DEVICE(VENDOR_ID_TI, 0x8142) }, /* TI USB8041 2.0 */
{ USB_DEVICE(VENDOR_ID_GENESYS_LOGIC, 0x0610) },
{}
};
MODULE_DEVICE_TABLE(usb, onboard_hub_id_table);
Expand Down
1 change: 1 addition & 0 deletions drivers/usb/misc/onboard_usb_hub.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ static const struct onboard_hub_pdata ti_tusb8041_data = {
};

static const struct of_device_id onboard_hub_match[] = {
{ .compatible = "usb5e3,610", .data = &realtek_rts5411_data, },
{ .compatible = "usb424,2514", .data = &microchip_usb424_data, },
{ .compatible = "usb451,8140", .data = &ti_tusb8041_data, },
{ .compatible = "usb451,8142", .data = &ti_tusb8041_data, },
Expand Down

0 comments on commit b7e8027

Please sign in to comment.