Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: misc: onboard_usb_dev: Add Parade PS5511 hub support

Parade PS5511 is 4+1 port USB 3.2 gen 1 hub with a reset pin and two power
supplies (3V3 and 1V1).

Add the support for this hub for the reset pin control and power supply.

Signed-off-by: Pin-yen Lin <treapking@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20250422082957.2058229-5-treapking@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Pin-yen Lin and committed by
Greg Kroah-Hartman
588d032e 76cbb3ea

+12
+3
drivers/usb/misc/onboard_usb_dev.c
··· 490 490 #define VENDOR_ID_CYPRESS 0x04b4 491 491 #define VENDOR_ID_GENESYS 0x05e3 492 492 #define VENDOR_ID_MICROCHIP 0x0424 493 + #define VENDOR_ID_PARADE 0x1da0 493 494 #define VENDOR_ID_REALTEK 0x0bda 494 495 #define VENDOR_ID_TI 0x0451 495 496 #define VENDOR_ID_VIA 0x2109 ··· 581 580 { USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2517) }, /* USB2517 USB 2.0 HUB */ 582 581 { USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2744) }, /* USB5744 USB 2.0 HUB */ 583 582 { USB_DEVICE(VENDOR_ID_MICROCHIP, 0x5744) }, /* USB5744 USB 3.0 HUB */ 583 + { USB_DEVICE(VENDOR_ID_PARADE, 0x5511) }, /* PS5511 USB 3.2 */ 584 + { USB_DEVICE(VENDOR_ID_PARADE, 0x55a1) }, /* PS5511 USB 2.0 */ 584 585 { USB_DEVICE(VENDOR_ID_REALTEK, 0x0411) }, /* RTS5411 USB 3.1 HUB */ 585 586 { USB_DEVICE(VENDOR_ID_REALTEK, 0x5411) }, /* RTS5411 USB 2.1 HUB */ 586 587 { USB_DEVICE(VENDOR_ID_REALTEK, 0x0414) }, /* RTS5414 USB 3.2 HUB */
+9
drivers/usb/misc/onboard_usb_dev.h
··· 38 38 .is_hub = true, 39 39 }; 40 40 41 + static const struct onboard_dev_pdata parade_ps5511_data = { 42 + .reset_us = 500, 43 + .num_supplies = 2, 44 + .supply_names = { "vddd11", "vdd33"}, 45 + .is_hub = true, 46 + }; 47 + 41 48 static const struct onboard_dev_pdata realtek_rts5411_data = { 42 49 .reset_us = 0, 43 50 .num_supplies = 1, ··· 137 130 { .compatible = "usbbda,5411", .data = &realtek_rts5411_data, }, 138 131 { .compatible = "usbbda,414", .data = &realtek_rts5411_data, }, 139 132 { .compatible = "usbbda,5414", .data = &realtek_rts5411_data, }, 133 + { .compatible = "usb1da0,5511", .data = &parade_ps5511_data, }, 134 + { .compatible = "usb1da0,55a1", .data = &parade_ps5511_data, }, 140 135 { .compatible = "usb2109,817", .data = &vialab_vl817_data, }, 141 136 { .compatible = "usb2109,2817", .data = &vialab_vl817_data, }, 142 137 { .compatible = "usb20b1,0013", .data = &xmos_xvf3500_data, },