Skip to content

Commit b7e8027

Browse files
maximschwalmdigetx
authored andcommitted
usb: misc: onboard_hub: Add support for Genesys Logic USB2.0 Hub
Add support for the Genesys Logic USB2.0 Hub found on the Asus P1801-T. Signed-off-by: Maxim Schwalm <[email protected]>
1 parent 86be0b8 commit b7e8027

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/usb/misc/onboard_usb_hub.c

+2
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ static struct platform_driver onboard_hub_driver = {
337337
#define VENDOR_ID_MICROCHIP 0x0424
338338
#define VENDOR_ID_REALTEK 0x0bda
339339
#define VENDOR_ID_TI 0x0451
340+
#define VENDOR_ID_GENESYS_LOGIC 0x05e3
340341

341342
/*
342343
* Returns the onboard_hub platform device that is associated with the USB
@@ -417,6 +418,7 @@ static const struct usb_device_id onboard_hub_id_table[] = {
417418
{ USB_DEVICE(VENDOR_ID_REALTEK, 0x5414) }, /* RTS5414 USB 2.1 */
418419
{ USB_DEVICE(VENDOR_ID_TI, 0x8140) }, /* TI USB8041 3.0 */
419420
{ USB_DEVICE(VENDOR_ID_TI, 0x8142) }, /* TI USB8041 2.0 */
421+
{ USB_DEVICE(VENDOR_ID_GENESYS_LOGIC, 0x0610) },
420422
{}
421423
};
422424
MODULE_DEVICE_TABLE(usb, onboard_hub_id_table);

drivers/usb/misc/onboard_usb_hub.h

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ static const struct onboard_hub_pdata ti_tusb8041_data = {
2323
};
2424

2525
static const struct of_device_id onboard_hub_match[] = {
26+
{ .compatible = "usb5e3,610", .data = &realtek_rts5411_data, },
2627
{ .compatible = "usb424,2514", .data = &microchip_usb424_data, },
2728
{ .compatible = "usb451,8140", .data = &ti_tusb8041_data, },
2829
{ .compatible = "usb451,8142", .data = &ti_tusb8041_data, },

0 commit comments

Comments
 (0)