Skip to content

Commit e59e381

Browse files
JC-WVgregkh
authored andcommitted
usb: misc: onboard_hub: add support for Microchip USB2412 USB 2.0 hub
The USB2412 is a 2-Port USB 2.0 hub controller that provides a reset pin and a single 3v3 powre source, which makes it suitable to be controlled by the onboard_hub driver. This hub has the same reset timings as USB2514/2517 and the same onboard hub specific-data can be reused for USB2412. Signed-off-by: Javier Carrasco <javier.carrasco@wolfvision.net> Cc: stable <stable@kernel.org> Acked-by: Matthias Kaehlcke <mka@chromium.org> Link: https://lore.kernel.org/r/20230911-topic-2412_onboard_hub-v1-1-7704181ddfff@wolfvision.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 3061b64 commit e59e381

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
@@ -434,6 +434,7 @@ static const struct usb_device_id onboard_hub_id_table[] = {
434434
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0608) }, /* Genesys Logic GL850G USB 2.0 */
435435
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0610) }, /* Genesys Logic GL852G USB 2.0 */
436436
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0620) }, /* Genesys Logic GL3523 USB 3.1 */
437+
{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2412) }, /* USB2412 USB 2.0 */
437438
{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2514) }, /* USB2514B USB 2.0 */
438439
{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2517) }, /* USB2517 USB 2.0 */
439440
{ USB_DEVICE(VENDOR_ID_REALTEK, 0x0411) }, /* RTS5411 USB 3.1 */

drivers/usb/misc/onboard_usb_hub.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ static const struct onboard_hub_pdata vialab_vl817_data = {
4747
};
4848

4949
static const struct of_device_id onboard_hub_match[] = {
50+
{ .compatible = "usb424,2412", .data = &microchip_usb424_data, },
5051
{ .compatible = "usb424,2514", .data = &microchip_usb424_data, },
5152
{ .compatible = "usb424,2517", .data = &microchip_usb424_data, },
5253
{ .compatible = "usb451,8140", .data = &ti_tusb8041_data, },

0 commit comments

Comments
 (0)