Skip to content

Commit 673655f

Browse files
catalin-popescugregkh
authored andcommitted
usb: misc: onboard_dev: add vdda support for Microchip USB2514
This hub is powered by digital and analog 3V3 power rails, so provide the possibility to use different regulators for digital (vdd) and analog (vdda) power rails. Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com> Link: https://lore.kernel.org/r/20250213094338.1611389-3-catalin.popescu@leica-geosystems.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 233840b commit 673655f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

drivers/usb/misc/onboard_usb_dev.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ static const struct onboard_dev_pdata microchip_usb424_data = {
2323
.is_hub = true,
2424
};
2525

26+
static const struct onboard_dev_pdata microchip_usb2514_data = {
27+
.reset_us = 1,
28+
.num_supplies = 2,
29+
.supply_names = { "vdd", "vdda" },
30+
.is_hub = true,
31+
};
32+
2633
static const struct onboard_dev_pdata microchip_usb5744_data = {
2734
.reset_us = 0,
2835
.power_on_delay_us = 10000,
@@ -96,7 +103,7 @@ static const struct onboard_dev_pdata xmos_xvf3500_data = {
96103

97104
static const struct of_device_id onboard_dev_match[] = {
98105
{ .compatible = "usb424,2412", .data = &microchip_usb424_data, },
99-
{ .compatible = "usb424,2514", .data = &microchip_usb424_data, },
106+
{ .compatible = "usb424,2514", .data = &microchip_usb2514_data, },
100107
{ .compatible = "usb424,2517", .data = &microchip_usb424_data, },
101108
{ .compatible = "usb424,2744", .data = &microchip_usb5744_data, },
102109
{ .compatible = "usb424,5744", .data = &microchip_usb5744_data, },

0 commit comments

Comments
 (0)