Commit 673655f7 authored by Catalin Popescu's avatar Catalin Popescu Committed by Greg Kroah-Hartman
Browse files

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: default avatarCatalin Popescu <catalin.popescu@leica-geosystems.com>
Link: https://lore.kernel.org/r/20250213094338.1611389-3-catalin.popescu@leica-geosystems.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 233840bb
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -23,6 +23,13 @@ static const struct onboard_dev_pdata microchip_usb424_data = {
	.is_hub = true,
};

static const struct onboard_dev_pdata microchip_usb2514_data = {
	.reset_us = 1,
	.num_supplies = 2,
	.supply_names = { "vdd", "vdda" },
	.is_hub = true,
};

static const struct onboard_dev_pdata microchip_usb5744_data = {
	.reset_us = 0,
	.power_on_delay_us = 10000,
@@ -96,7 +103,7 @@ static const struct onboard_dev_pdata xmos_xvf3500_data = {

static const struct of_device_id onboard_dev_match[] = {
	{ .compatible = "usb424,2412", .data = &microchip_usb424_data, },
	{ .compatible = "usb424,2514", .data = &microchip_usb424_data, },
	{ .compatible = "usb424,2514", .data = &microchip_usb2514_data, },
	{ .compatible = "usb424,2517", .data = &microchip_usb424_data, },
	{ .compatible = "usb424,2744", .data = &microchip_usb5744_data, },
	{ .compatible = "usb424,5744", .data = &microchip_usb5744_data, },