* [PATCH] usb: misc: onboard_hub: add support for Microchip USB2412 USB 2.0 hub
@ 2023-09-11 8:22 Javier Carrasco
2023-09-11 13:01 ` Matthias Kaehlcke
0 siblings, 1 reply; 2+ messages in thread
From: Javier Carrasco @ 2023-09-11 8:22 UTC (permalink / raw)
To: Matthias Kaehlcke, Greg Kroah-Hartman
Cc: linux-usb, linux-kernel, Javier Carrasco
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>
---
drivers/usb/misc/onboard_usb_hub.c | 1 +
drivers/usb/misc/onboard_usb_hub.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/usb/misc/onboard_usb_hub.c b/drivers/usb/misc/onboard_usb_hub.c
index 3da1a4659c5f..57bbe1309094 100644
--- a/drivers/usb/misc/onboard_usb_hub.c
+++ b/drivers/usb/misc/onboard_usb_hub.c
@@ -434,6 +434,7 @@ static const struct usb_device_id onboard_hub_id_table[] = {
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0608) }, /* Genesys Logic GL850G USB 2.0 */
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0610) }, /* Genesys Logic GL852G USB 2.0 */
{ USB_DEVICE(VENDOR_ID_GENESYS, 0x0620) }, /* Genesys Logic GL3523 USB 3.1 */
+ { USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2412) }, /* USB2412 USB 2.0 */
{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2514) }, /* USB2514B USB 2.0 */
{ USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2517) }, /* USB2517 USB 2.0 */
{ USB_DEVICE(VENDOR_ID_REALTEK, 0x0411) }, /* RTS5411 USB 3.1 */
diff --git a/drivers/usb/misc/onboard_usb_hub.h b/drivers/usb/misc/onboard_usb_hub.h
index 4026ba64c592..2a4ab5ac0ebe 100644
--- a/drivers/usb/misc/onboard_usb_hub.h
+++ b/drivers/usb/misc/onboard_usb_hub.h
@@ -47,6 +47,7 @@ static const struct onboard_hub_pdata vialab_vl817_data = {
};
static const struct of_device_id onboard_hub_match[] = {
+ { .compatible = "usb424,2412", .data = µchip_usb424_data, },
{ .compatible = "usb424,2514", .data = µchip_usb424_data, },
{ .compatible = "usb424,2517", .data = µchip_usb424_data, },
{ .compatible = "usb451,8140", .data = &ti_tusb8041_data, },
---
base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
change-id: 20230911-topic-2412_onboard_hub-1d7747e84ac6
Best regards,
--
Javier Carrasco <javier.carrasco@wolfvision.net>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: misc: onboard_hub: add support for Microchip USB2412 USB 2.0 hub
2023-09-11 8:22 [PATCH] usb: misc: onboard_hub: add support for Microchip USB2412 USB 2.0 hub Javier Carrasco
@ 2023-09-11 13:01 ` Matthias Kaehlcke
0 siblings, 0 replies; 2+ messages in thread
From: Matthias Kaehlcke @ 2023-09-11 13:01 UTC (permalink / raw)
To: Javier Carrasco; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel
On Mon, Sep 11, 2023 at 10:22:38AM +0200, Javier Carrasco wrote:
> 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>
Acked-by: Matthias Kaehlcke <mka@chromium.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-11 21:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-11 8:22 [PATCH] usb: misc: onboard_hub: add support for Microchip USB2412 USB 2.0 hub Javier Carrasco
2023-09-11 13:01 ` Matthias Kaehlcke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).