Skip to content

Commit f7c13cb

Browse files
tq-steinagregkh
authored andcommitted
usb: misc: onboard-hub: add support for Microchip USB2517 USB 2.0 hub
Add support for Microchip USB2517 USB 2.0 hub to the onboard usb hub driver. Adopt the generic usb-device compatible ("usbVID,PID"). This hub has the same reset timings as USB2514, so reuse that one. There is also an USB2517I which just has industrial temperature range. Signed-off-by: Alexander Stein <[email protected]> Cc: stable <[email protected]> Acked-by: Matthias Kaehlcke <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent d8a2bb4 commit f7c13cb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/usb/misc/onboard_usb_hub.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ static const struct usb_device_id onboard_hub_id_table[] = {
410410
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0608) }, /* Genesys Logic GL850G USB 2.0 */
411411
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0610) }, /* Genesys Logic GL852G USB 2.0 */
412412
{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2514) }, /* USB2514B USB 2.0 */
413+
{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2517) }, /* USB2517 USB 2.0 */
413414
{ USB_DEVICE(VENDOR_ID_REALTEK, 0x0411) }, /* RTS5411 USB 3.1 */
414415
{ USB_DEVICE(VENDOR_ID_REALTEK, 0x5411) }, /* RTS5411 USB 2.1 */
415416
{ USB_DEVICE(VENDOR_ID_REALTEK, 0x0414) }, /* RTS5414 USB 3.2 */

drivers/usb/misc/onboard_usb_hub.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ static const struct onboard_hub_pdata vialab_vl817_data = {
3636

3737
static const struct of_device_id onboard_hub_match[] = {
3838
{ .compatible = "usb424,2514", .data = &microchip_usb424_data, },
39+
{ .compatible = "usb424,2517", .data = &microchip_usb424_data, },
3940
{ .compatible = "usb451,8140", .data = &ti_tusb8041_data, },
4041
{ .compatible = "usb451,8142", .data = &ti_tusb8041_data, },
4142
{ .compatible = "usb5e3,608", .data = &genesys_gl850g_data, },

0 commit comments

Comments
 (0)