]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
usb: misc: onboard_usb_hub: Add Genesys Logic GL3590 hub support
authorSwati Agarwal <swati.agarwal@oss.qualcomm.com>
Fri, 3 Apr 2026 10:04:35 +0000 (15:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Apr 2026 11:14:17 +0000 (05:14 -0600)
Add support for the GL3590 4 ports USB3.2 hub.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Swati Agarwal <swati.agarwal@oss.qualcomm.com>
Link: https://patch.msgid.link/20260403100435.3477729-3-swati.agarwal@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/onboard_usb_dev.c
drivers/usb/misc/onboard_usb_dev.h

index 7cdbdfe07a7639c08b8df6348beb770c2a336898..11508ed4df2516697b396d969c6a43aeb3161734 100644 (file)
@@ -665,6 +665,7 @@ static const struct usb_device_id onboard_dev_id_table[] = {
        { USB_DEVICE(VENDOR_ID_GENESYS, 0x0608) }, /* Genesys Logic GL850G USB 2.0 HUB */
        { USB_DEVICE(VENDOR_ID_GENESYS, 0x0610) }, /* Genesys Logic GL852G USB 2.0 HUB */
        { USB_DEVICE(VENDOR_ID_GENESYS, 0x0620) }, /* Genesys Logic GL3523 USB 3.1 HUB */
+       { USB_DEVICE(VENDOR_ID_GENESYS, 0x0625) }, /* Genesys Logic GL3590 USB 3.2 HUB */
        { USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2412) }, /* USB2412 USB 2.0 HUB */
        { USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2514) }, /* USB2514B USB 2.0 HUB */
        { USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2517) }, /* USB2517 USB 2.0 HUB */
index ac1aa3e122ad9f2fda781262901d6c8ca6fe45a6..3523f8f8a1496db76de9f74a5cf9425d46ba1d25 100644 (file)
@@ -101,6 +101,13 @@ static const struct onboard_dev_pdata genesys_gl852g_data = {
        .is_hub = true,
 };
 
+static const struct onboard_dev_pdata genesys_gl3590_data = {
+       .reset_us = 50,
+       .num_supplies = 2,
+       .supply_names = { "vdd", "vdd12" },
+       .is_hub = true,
+};
+
 static const struct onboard_dev_pdata usb_a_conn_data = {
        .num_supplies = 1,
        .supply_names = { "vbus" },
@@ -146,6 +153,7 @@ static const struct of_device_id onboard_dev_match[] = {
        { .compatible = "usb5e3,608", .data = &genesys_gl850g_data, },
        { .compatible = "usb5e3,610", .data = &genesys_gl852g_data, },
        { .compatible = "usb5e3,620", .data = &genesys_gl852g_data, },
+       { .compatible = "usb5e3,625", .data = &genesys_gl3590_data, },
        { .compatible = "usb5e3,626", .data = &genesys_gl852g_data, },
        { .compatible = "usbbda,179", .data = &realtek_rtl8188etv_data, },
        { .compatible = "usbbda,411", .data = &realtek_rts5411_data, },