2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 22:53:55 +08:00

ARM: tegra: Remove simple regulators bus

The standard way to do this is to list out the regulators at the top
level. Adopt the standard way to fix validation.

Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Thierry Reding 2020-06-11 19:01:32 +02:00
parent 901c865340
commit 1cf17aa67a
19 changed files with 1122 additions and 1353 deletions

View File

@ -1187,83 +1187,70 @@
}; };
}; };
regulators { vdd_ac_bat_reg: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "vdd_ac_bat";
#size-cells = <0>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
vdd_ac_bat_reg: regulator@0 { dvdd_ts_reg: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "dvdd_ts";
regulator-name = "vdd_ac_bat"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <5000000>; enable-active-high;
regulator-always-on; gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>;
}; };
dvdd_ts_reg: regulator@1 { usb1_vbus_reg: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "usb1_vbus";
regulator-name = "dvdd_ts"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1800000>; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; gpio-open-drain;
}; vin-supply = <&tps65090_dcdc1_reg>;
};
usb1_vbus_reg: regulator@3 { usb3_vbus_reg: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "usb2_vbus";
regulator-name = "usb1_vbus"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; gpio-open-drain;
gpio-open-drain; vin-supply = <&tps65090_dcdc1_reg>;
vin-supply = <&tps65090_dcdc1_reg>; };
};
usb3_vbus_reg: regulator@4 { vdd_hdmi_reg: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "vdd_hdmi_5v0";
regulator-name = "usb2_vbus"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; vin-supply = <&tps65090_dcdc1_reg>;
enable-active-high; };
gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
gpio-open-drain;
vin-supply = <&tps65090_dcdc1_reg>;
};
vdd_hdmi_reg: regulator@5 { vdd_cam_1v8_reg: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "vdd_cam_1v8_reg";
regulator-name = "vdd_hdmi_5v0"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <5000000>; enable-active-high;
vin-supply = <&tps65090_dcdc1_reg>; gpio = <&palmas_gpio 6 0>;
}; };
vdd_cam_1v8_reg: regulator@6 { vdd_5v0_hdmi: regulator@7 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <6>; regulator-name = "VDD_5V0_HDMI_CON";
regulator-name = "vdd_cam_1v8_reg"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1800000>; gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
gpio = <&palmas_gpio 6 0>; vin-supply = <&tps65090_dcdc1_reg>;
};
vdd_5v0_hdmi: regulator@7 {
compatible = "regulator-fixed";
reg = <7>;
regulator-name = "VDD_5V0_HDMI_CON";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&tps65090_dcdc1_reg>;
};
}; };
sound { sound {

View File

@ -1045,76 +1045,64 @@
}; };
}; };
regulators { lcd_bl_en: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "lcd_bl_en";
#size-cells = <0>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-boot-on;
};
lcd_bl_en: regulator@0 { vdd_lcd: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "vdd_lcd_1v8";
regulator-name = "lcd_bl_en"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <5000000>; vin-supply = <&vdd_1v8>;
regulator-boot-on; enable-active-high;
}; gpio = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>;
regulator-boot-on;
};
vdd_lcd: regulator@1 { regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "vdd_1v8_ts";
regulator-name = "vdd_lcd_1v8"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_LOW>;
vin-supply = <&vdd_1v8>; regulator-boot-on;
enable-active-high; };
gpio = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>;
regulator-boot-on;
};
regulator@2 { regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "vdd_3v3_ts";
regulator-name = "vdd_1v8_ts"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <1800000>; enable-active-high;
gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_LOW>; gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>;
regulator-boot-on; regulator-boot-on;
}; };
regulator@3 { regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "vdd_1v8_com";
regulator-name = "vdd_3v3_ts"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <3300000>; vin-supply = <&vdd_1v8>;
enable-active-high; enable-active-high;
gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; gpio = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_HIGH>;
regulator-boot-on; regulator-boot-on;
}; };
regulator@4 { regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "vdd_3v3_com";
regulator-name = "vdd_1v8_com"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <1800000>; vin-supply = <&vdd_3v3_sys>;
vin-supply = <&vdd_1v8>; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_HIGH>; regulator-always-on;
regulator-boot-on; regulator-boot-on;
};
regulator@5 {
compatible = "regulator-fixed";
reg = <5>;
regulator-name = "vdd_3v3_com";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vdd_3v3_sys>;
enable-active-high;
gpio = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_HIGH>;
regulator-always-on;
regulator-boot-on;
};
}; };
}; };

View File

@ -302,44 +302,35 @@
}; };
}; };
regulators { /* FIXME: output of BQ24192 */
compatible = "simple-bus"; vs_sys: regulator@0 {
#address-cells = <1>; compatible = "regulator-fixed";
#size-cells = <0>; regulator-name = "VS_SYS";
regulator-min-microvolt = <4200000>;
regulator-max-microvolt = <4200000>;
regulator-always-on;
regulator-boot-on;
};
/* FIXME: output of BQ24192 */ lcd_bl_en: regulator@1 {
vs_sys: regulator@0 { compatible = "regulator-fixed";
compatible = "regulator-fixed"; regulator-name = "VDD_LCD_BL";
reg = <0>; regulator-min-microvolt = <16500000>;
regulator-name = "VS_SYS"; regulator-max-microvolt = <16500000>;
regulator-min-microvolt = <4200000>; gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
regulator-max-microvolt = <4200000>; enable-active-high;
regulator-always-on; vin-supply = <&vs_sys>;
regulator-boot-on; regulator-boot-on;
}; };
lcd_bl_en: regulator@1 { vdd_lcd: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "VD_LCD_1V8";
regulator-name = "VDD_LCD_BL"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <16500000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <16500000>; gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_1v8>;
vin-supply = <&vs_sys>; regulator-boot-on;
regulator-boot-on;
};
vdd_lcd: regulator@2 {
compatible = "regulator-fixed";
reg = <2>;
regulator-name = "VD_LCD_1V8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_1v8>;
regulator-boot-on;
};
}; };
}; };

View File

@ -1886,145 +1886,127 @@
}; };
}; };
regulators { vdd_mux: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "+VDD_MUX";
#size-cells = <0>; regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_mux: regulator@0 { vdd_5v0_sys: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "+5V_SYS";
regulator-name = "+VDD_MUX"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <12000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <12000000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; vin-supply = <&vdd_mux>;
}; };
vdd_5v0_sys: regulator@1 { vdd_3v3_sys: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "+3.3V_SYS";
regulator-name = "+5V_SYS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; vin-supply = <&vdd_mux>;
vin-supply = <&vdd_mux>; };
};
vdd_3v3_sys: regulator@2 { vdd_3v3_run: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "+3.3V_RUN";
regulator-name = "+3.3V_SYS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
vin-supply = <&vdd_mux>; enable-active-high;
}; vin-supply = <&vdd_3v3_sys>;
};
vdd_3v3_run: regulator@3 { vdd_3v3_hdmi: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
regulator-name = "+3.3V_RUN"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; vin-supply = <&vdd_3v3_run>;
regulator-always-on; };
regulator-boot-on;
gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_3v3_hdmi: regulator@4 { vdd_usb1_vbus: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "+USB0_VBUS_SW";
regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <3300000>; gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
vin-supply = <&vdd_3v3_run>; enable-active-high;
}; gpio-open-drain;
vin-supply = <&vdd_5v0_sys>;
};
vdd_usb1_vbus: regulator@7 { vdd_usb3_vbus: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <7>; regulator-name = "+5V_USB_HS";
regulator-name = "+USB0_VBUS_SW"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; gpio-open-drain;
gpio-open-drain; vin-supply = <&vdd_5v0_sys>;
vin-supply = <&vdd_5v0_sys>; };
};
vdd_usb3_vbus: regulator@8 { vdd_3v3_lp0: regulator@7 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <8>; regulator-name = "+3.3V_LP0";
regulator-name = "+5V_USB_HS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; regulator-boot-on;
enable-active-high; gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
gpio-open-drain; enable-active-high;
vin-supply = <&vdd_5v0_sys>; vin-supply = <&vdd_3v3_sys>;
}; };
vdd_3v3_lp0: regulator@10 { vdd_hdmi_pll: regulator@8 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <10>; regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
regulator-name = "+3.3V_LP0"; regulator-min-microvolt = <1050000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <1050000>;
regulator-max-microvolt = <3300000>; gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
regulator-always-on; vin-supply = <&vdd_1v05_run>;
regulator-boot-on; };
gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_hdmi_pll: regulator@11 { vdd_5v0_hdmi: regulator@9 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <11>; regulator-name = "+5V_HDMI_CON";
regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1050000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1050000>; gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; enable-active-high;
vin-supply = <&vdd_1v05_run>; vin-supply = <&vdd_5v0_sys>;
}; };
vdd_5v0_hdmi: regulator@12 { /* Molex power connector */
compatible = "regulator-fixed"; vdd_5v0_sata: regulator@10 {
reg = <12>; compatible = "regulator-fixed";
regulator-name = "+5V_HDMI_CON"; regulator-name = "+5V_SATA";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
vin-supply = <&vdd_5v0_sys>; vin-supply = <&vdd_5v0_sys>;
}; };
/* Molex power connector */ vdd_12v0_sata: regulator@11 {
vdd_5v0_sata: regulator@13 { compatible = "regulator-fixed";
compatible = "regulator-fixed"; regulator-name = "+12V_SATA";
reg = <13>; regulator-min-microvolt = <12000000>;
regulator-name = "+5V_SATA"; regulator-max-microvolt = <12000000>;
regulator-min-microvolt = <5000000>; gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>;
regulator-max-microvolt = <5000000>; enable-active-high;
gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>; vin-supply = <&vdd_mux>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
vdd_12v0_sata: regulator@14 {
compatible = "regulator-fixed";
reg = <14>;
regulator-name = "+12V_SATA";
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_mux>;
};
}; };
sound { sound {

View File

@ -612,157 +612,138 @@
}; };
}; };
regulators { vdd_mux: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "+VDD_MUX";
#size-cells = <0>; regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_mux: regulator@0 { vdd_5v0_sys: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "+5V_SYS";
regulator-name = "+VDD_MUX"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <12000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <12000000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; vin-supply = <&vdd_mux>;
}; };
vdd_5v0_sys: regulator@1 { vdd_3v3_sys: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "+3.3V_SYS";
regulator-name = "+5V_SYS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; vin-supply = <&vdd_mux>;
vin-supply = <&vdd_mux>; };
};
vdd_3v3_sys: regulator@2 { vdd_3v3_run: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "+3.3V_RUN";
regulator-name = "+3.3V_SYS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
vin-supply = <&vdd_mux>; enable-active-high;
}; vin-supply = <&vdd_3v3_sys>;
};
vdd_3v3_run: regulator@3 { vdd_3v3_hdmi: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
regulator-name = "+3.3V_RUN"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; vin-supply = <&vdd_3v3_run>;
regulator-always-on; };
regulator-boot-on;
gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_3v3_hdmi: regulator@4 { vdd_led: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "+VDD_LED";
regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <3300000>; enable-active-high;
regulator-max-microvolt = <3300000>; vin-supply = <&vdd_mux>;
vin-supply = <&vdd_3v3_run>; };
};
vdd_led: regulator@5 { vdd_5v0_ts: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "+5V_VDD_TS_SW";
regulator-name = "+VDD_LED"; regulator-min-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; regulator-max-microvolt = <5000000>;
enable-active-high; regulator-boot-on;
vin-supply = <&vdd_mux>; gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
}; enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
vdd_5v0_ts: regulator@6 { vdd_usb1_vbus: regulator@7 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <6>; regulator-name = "+5V_USB_HS";
regulator-name = "+5V_VDD_TS_SW"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
regulator-boot-on; enable-active-high;
gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; gpio-open-drain;
enable-active-high; vin-supply = <&vdd_5v0_sys>;
vin-supply = <&vdd_5v0_sys>; };
};
vdd_usb1_vbus: regulator@7 { vdd_usb3_vbus: regulator@8 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <7>; regulator-name = "+5V_USB_SS";
regulator-name = "+5V_USB_HS"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; gpio-open-drain;
gpio-open-drain; vin-supply = <&vdd_5v0_sys>;
vin-supply = <&vdd_5v0_sys>; };
};
vdd_usb3_vbus: regulator@8 { vdd_3v3_panel: regulator@9 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <8>; regulator-name = "+3.3V_PANEL";
regulator-name = "+5V_USB_SS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_3v3_run>;
gpio-open-drain; };
vin-supply = <&vdd_5v0_sys>;
};
vdd_3v3_panel: regulator@9 { vdd_3v3_lp0: regulator@10 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <9>; regulator-name = "+3.3V_LP0";
regulator-name = "+3.3V_PANEL"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; /*
gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; * TODO: find a way to wire this up with the USB EHCI
enable-active-high; * controllers so that it can be enabled on demand.
vin-supply = <&vdd_3v3_run>; */
}; regulator-always-on;
gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_3v3_lp0: regulator@10 { vdd_hdmi_pll: regulator@11 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <10>; regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
regulator-name = "+3.3V_LP0"; regulator-min-microvolt = <1050000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <1050000>;
regulator-max-microvolt = <3300000>; gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
/* vin-supply = <&vdd_1v05_run>;
* TODO: find a way to wire this up with the USB EHCI };
* controllers so that it can be enabled on demand.
*/
regulator-always-on;
gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_hdmi_pll: regulator@11 { vdd_5v0_hdmi: regulator@12 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <11>; regulator-name = "+5V_HDMI_CON";
regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1050000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1050000>; gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; enable-active-high;
vin-supply = <&vdd_1v05_run>; vin-supply = <&vdd_5v0_sys>;
};
vdd_5v0_hdmi: regulator@12 {
compatible = "regulator-fixed";
reg = <12>;
regulator-name = "+5V_HDMI_CON";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
}; };
sound { sound {

View File

@ -1086,159 +1086,140 @@
ddc-i2c-bus = <&dpaux>; ddc-i2c-bus = <&dpaux>;
}; };
regulators { vdd_mux: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "+VDD_MUX";
#size-cells = <0>; regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_mux: regulator@0 { vdd_5v0_sys: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "+5V_SYS";
regulator-name = "+VDD_MUX"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <12000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <12000000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; vin-supply = <&vdd_mux>;
}; };
vdd_5v0_sys: regulator@1 { vdd_3v3_sys: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "+3.3V_SYS";
regulator-name = "+5V_SYS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; vin-supply = <&vdd_mux>;
vin-supply = <&vdd_mux>; };
};
vdd_3v3_sys: regulator@2 { vdd_3v3_run: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "+3.3V_RUN";
regulator-name = "+3.3V_SYS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
vin-supply = <&vdd_mux>; enable-active-high;
}; vin-supply = <&vdd_3v3_sys>;
};
vdd_3v3_run: regulator@3 { vdd_3v3_hdmi: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
regulator-name = "+3.3V_RUN"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; vin-supply = <&vdd_3v3_run>;
regulator-always-on; };
regulator-boot-on;
gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_3v3_hdmi: regulator@4 { vdd_led: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "+VDD_LED";
regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
vin-supply = <&vdd_3v3_run>; enable-active-high;
}; vin-supply = <&vdd_mux>;
};
vdd_led: regulator@5 { vdd_5v0_ts: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "+5V_VDD_TS_SW";
regulator-name = "+VDD_LED"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <3300000>; regulator-boot-on;
gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
vin-supply = <&vdd_mux>; vin-supply = <&vdd_5v0_sys>;
}; };
vdd_5v0_ts: regulator@6 { vdd_usb1_vbus: regulator@7 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <6>; regulator-name = "+5V_USB_HS";
regulator-name = "+5V_VDD_TS_SW"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
regulator-boot-on; enable-active-high;
gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; gpio-open-drain;
enable-active-high; vin-supply = <&vdd_5v0_sys>;
vin-supply = <&vdd_5v0_sys>; };
};
vdd_usb1_vbus: regulator@7 { vdd_usb3_vbus: regulator@8 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <7>; regulator-name = "+5V_USB_SS";
regulator-name = "+5V_USB_HS"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; gpio-open-drain;
gpio-open-drain; vin-supply = <&vdd_5v0_sys>;
vin-supply = <&vdd_5v0_sys>; };
};
vdd_usb3_vbus: regulator@8 { vdd_3v3_panel: regulator@9 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <8>; regulator-name = "+3.3V_PANEL";
regulator-name = "+5V_USB_SS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_3v3_run>;
gpio-open-drain; };
vin-supply = <&vdd_5v0_sys>;
};
vdd_3v3_panel: regulator@9 { vdd_3v3_lp0: regulator@10 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <9>; regulator-name = "+3.3V_LP0";
regulator-name = "+3.3V_PANEL"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; /*
gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; * TODO: find a way to wire this up with the USB EHCI
enable-active-high; * controllers so that it can be enabled on demand.
vin-supply = <&vdd_3v3_run>; */
}; regulator-always-on;
gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_3v3_lp0: regulator@10 { vdd_hdmi_pll: regulator@11 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <10>; regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL";
regulator-name = "+3.3V_LP0"; regulator-min-microvolt = <1050000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <1050000>;
regulator-max-microvolt = <3300000>; gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
/* vin-supply = <&vdd_1v05_run>;
* TODO: find a way to wire this up with the USB EHCI };
* controllers so that it can be enabled on demand.
*/
regulator-always-on;
gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_hdmi_pll: regulator@11 { vdd_5v0_hdmi: regulator@12 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <11>; regulator-name = "+5V_HDMI_CON";
regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1050000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1050000>; gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; enable-active-high;
vin-supply = <&vdd_1v05_run>; vin-supply = <&vdd_5v0_sys>;
};
vdd_5v0_hdmi: regulator@12 {
compatible = "regulator-fixed";
reg = <12>;
regulator-name = "+5V_HDMI_CON";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
}; };
sound { sound {

View File

@ -666,79 +666,66 @@
backlight = <&backlight>; backlight = <&backlight>;
}; };
regulators { vdd_5v0_reg: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "vdd_5v0";
#size-cells = <0>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
vdd_5v0_reg: regulator@0 { regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "vdd_1v5";
regulator-name = "vdd_5v0"; regulator-min-microvolt = <1500000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <1500000>;
regulator-max-microvolt = <5000000>; gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
regulator-always-on; };
};
regulator@1 { regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "vdd_1v2";
regulator-name = "vdd_1v5"; regulator-min-microvolt = <1200000>;
regulator-min-microvolt = <1500000>; regulator-max-microvolt = <1200000>;
regulator-max-microvolt = <1500000>; gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; enable-active-high;
}; };
regulator@2 { pci_vdd_reg: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "vdd_1v05";
regulator-name = "vdd_1v2"; regulator-min-microvolt = <1050000>;
regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1050000>;
regulator-max-microvolt = <1200000>; gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; };
};
pci_vdd_reg: regulator@3 { vdd_pnl_reg: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "vdd_pnl";
regulator-name = "vdd_1v05"; regulator-min-microvolt = <2800000>;
regulator-min-microvolt = <1050000>; regulator-max-microvolt = <2800000>;
regulator-max-microvolt = <1050000>; gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; };
};
vdd_pnl_reg: regulator@4 { vdd_bl_reg: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "vdd_bl";
regulator-name = "vdd_pnl"; regulator-min-microvolt = <2800000>;
regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; };
};
vdd_bl_reg: regulator@5 { vdd_5v0_hdmi: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "VDDIO_HDMI";
regulator-name = "vdd_bl"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <2800000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <2800000>; gpio = <&gpio TEGRA_GPIO(T, 2) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_5v0_reg>;
};
vdd_5v0_hdmi: regulator@6 {
compatible = "regulator-fixed";
reg = <6>;
regulator-name = "VDDIO_HDMI";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(T, 2) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_reg>;
};
}; };
sound { sound {

View File

@ -92,44 +92,38 @@
clock-names = "pll_a", "pll_a_out0", "mclk"; clock-names = "pll_a", "pll_a_out0", "mclk";
}; };
regulators { vcc_24v_reg: regulator@100 {
vcc_24v_reg: regulator@100 { compatible = "regulator-fixed";
compatible = "regulator-fixed"; regulator-name = "vcc_24v";
reg = <100>; regulator-min-microvolt = <24000000>;
regulator-name = "vcc_24v"; regulator-max-microvolt = <24000000>;
regulator-min-microvolt = <24000000>; regulator-always-on;
regulator-max-microvolt = <24000000>; };
regulator-always-on;
};
vdd_5v0_reg: regulator@101 { vdd_5v0_reg: regulator@101 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <101>; regulator-name = "vdd_5v0";
regulator-name = "vdd_5v0"; vin-supply = <&vcc_24v_reg>;
vin-supply = <&vcc_24v_reg>; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-always-on; };
};
vdd_3v3_reg: regulator@102 { vdd_3v3_reg: regulator@102 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <102>; regulator-name = "vdd_3v3";
regulator-name = "vdd_3v3"; vin-supply = <&vcc_24v_reg>;
vin-supply = <&vcc_24v_reg>; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on; };
};
vdd_1v8_reg: regulator@103 { vdd_1v8_reg: regulator@103 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <103>; regulator-name = "vdd_1v8";
regulator-name = "vdd_1v8"; vin-supply = <&vdd_3v3_reg>;
vin-supply = <&vdd_3v3_reg>; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-always-on;
regulator-always-on;
};
}; };
}; };

View File

@ -606,30 +606,22 @@
backlight = <&backlight>; backlight = <&backlight>;
}; };
regulators { p5valw_reg: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "+5valw";
#size-cells = <0>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
p5valw_reg: regulator@0 { vdd_pnl_reg: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "+3VS,vdd_pnl";
regulator-name = "+5valw"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; regulator-boot-on;
regulator-always-on; gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
}; enable-active-high;
vdd_pnl_reg: regulator@1 {
compatible = "regulator-fixed";
reg = <1>;
regulator-name = "+3VS,vdd_pnl";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
enable-active-high;
};
}; };
sound { sound {

View File

@ -60,44 +60,38 @@
clock-names = "pll_a", "pll_a_out0", "mclk"; clock-names = "pll_a", "pll_a_out0", "mclk";
}; };
regulators { vcc_24v_reg: regulator@100 {
vcc_24v_reg: regulator@100 { compatible = "regulator-fixed";
compatible = "regulator-fixed"; regulator-name = "vcc_24v";
reg = <100>; regulator-min-microvolt = <24000000>;
regulator-name = "vcc_24v"; regulator-max-microvolt = <24000000>;
regulator-min-microvolt = <24000000>; regulator-always-on;
regulator-max-microvolt = <24000000>; };
regulator-always-on;
};
vdd_5v0_reg: regulator@101 { vdd_5v0_reg: regulator@101 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <101>; regulator-name = "vdd_5v0";
regulator-name = "vdd_5v0"; vin-supply = <&vcc_24v_reg>;
vin-supply = <&vcc_24v_reg>; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-always-on; };
};
vdd_3v3_reg: regulator@102 { vdd_3v3_reg: regulator@102 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <102>; regulator-name = "vdd_3v3";
regulator-name = "vdd_3v3"; vin-supply = <&vcc_24v_reg>;
vin-supply = <&vcc_24v_reg>; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on; };
};
vdd_1v8_reg: regulator@103 { vdd_1v8_reg: regulator@103 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <103>; regulator-name = "vdd_1v8";
regulator-name = "vdd_1v8"; vin-supply = <&vdd_3v3_reg>;
vin-supply = <&vdd_3v3_reg>; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-always-on;
regulator-always-on;
};
}; };
}; };

View File

@ -828,81 +828,68 @@
ddc-i2c-bus = <&lvds_ddc>; ddc-i2c-bus = <&lvds_ddc>;
}; };
regulators { vdd_5v0_reg: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "vdd_5v0";
#size-cells = <0>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
vdd_5v0_reg: regulator@0 { regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "vdd_1v5";
regulator-name = "vdd_5v0"; regulator-min-microvolt = <1500000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <1500000>;
regulator-max-microvolt = <5000000>; gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
regulator-always-on; };
};
regulator@1 { regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "vdd_1v2";
regulator-name = "vdd_1v5"; regulator-min-microvolt = <1200000>;
regulator-min-microvolt = <1500000>; regulator-max-microvolt = <1200000>;
regulator-max-microvolt = <1500000>; gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; enable-active-high;
}; };
regulator@2 { vbus_reg: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "vdd_vbus_wup1";
regulator-name = "vdd_1v2"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1200000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1200000>; enable-active-high;
gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; gpio = <&gpio TEGRA_GPIO(D, 0) 0>;
enable-active-high; regulator-always-on;
}; regulator-boot-on;
};
vbus_reg: regulator@3 { vdd_pnl_reg: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "vdd_pnl";
regulator-name = "vdd_vbus_wup1"; regulator-min-microvolt = <2800000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <2800000>;
regulator-max-microvolt = <5000000>; gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
gpio = <&gpio TEGRA_GPIO(D, 0) 0>; };
regulator-always-on;
regulator-boot-on;
};
vdd_pnl_reg: regulator@4 { vdd_bl_reg: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "vdd_bl";
regulator-name = "vdd_pnl"; regulator-min-microvolt = <2800000>;
regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; };
};
vdd_bl_reg: regulator@5 { vdd_hdmi: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "VDDIO_HDMI";
regulator-name = "vdd_bl"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <2800000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <2800000>; gpio = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_5v0_reg>;
};
vdd_hdmi: regulator@6 {
compatible = "regulator-fixed";
reg = <6>;
regulator-name = "VDDIO_HDMI";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_reg>;
};
}; };
sound { sound {

View File

@ -508,20 +508,12 @@
#clock-cells = <0>; #clock-cells = <0>;
}; };
regulators { pci_vdd_reg: regulator@1 {
compatible = "simple-bus"; compatible = "regulator-fixed";
regulator-name = "vdd_1v05";
#address-cells = <1>; regulator-min-microvolt = <1050000>;
#size-cells = <0>; regulator-max-microvolt = <1050000>;
gpio = <&pmic 2 0>;
pci_vdd_reg: regulator@1 { enable-active-high;
compatible = "regulator-fixed";
reg = <1>;
regulator-name = "vdd_1v05";
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
gpio = <&pmic 2 0>;
enable-active-high;
};
}; };
}; };

View File

@ -69,44 +69,38 @@
clock-names = "pll_a", "pll_a_out0", "mclk"; clock-names = "pll_a", "pll_a_out0", "mclk";
}; };
regulators { vcc_24v_reg: regulator@100 {
vcc_24v_reg: regulator@100 { compatible = "regulator-fixed";
compatible = "regulator-fixed"; regulator-name = "vcc_24v";
reg = <100>; regulator-min-microvolt = <24000000>;
regulator-name = "vcc_24v"; regulator-max-microvolt = <24000000>;
regulator-min-microvolt = <24000000>; regulator-always-on;
regulator-max-microvolt = <24000000>; };
regulator-always-on;
};
vdd_5v0_reg: regulator@101 { vdd_5v0_reg: regulator@101 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <101>; regulator-name = "vdd_5v0";
regulator-name = "vdd_5v0"; vin-supply = <&vcc_24v_reg>;
vin-supply = <&vcc_24v_reg>; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-always-on; };
};
vdd_3v3_reg: regulator@102 { vdd_3v3_reg: regulator@102 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <102>; regulator-name = "vdd_3v3";
regulator-name = "vdd_3v3"; vin-supply = <&vcc_24v_reg>;
vin-supply = <&vcc_24v_reg>; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on; };
};
vdd_1v8_reg: regulator@103 { vdd_1v8_reg: regulator@103 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <103>; regulator-name = "vdd_1v8";
regulator-name = "vdd_1v8"; vin-supply = <&vdd_3v3_reg>;
vin-supply = <&vdd_3v3_reg>; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-always-on;
regulator-always-on;
};
}; };
}; };

View File

@ -401,58 +401,47 @@
gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>; gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>;
}; };
regulators { hdmi_vdd_reg: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "avdd_hdmi";
#size-cells = <0>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
hdmi_vdd_reg: regulator@0 { hdmi_pll_reg: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "avdd_hdmi_pll";
regulator-name = "avdd_hdmi"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on; };
};
hdmi_pll_reg: regulator@1 { vbus_reg: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "usb1_vbus";
regulator-name = "avdd_hdmi_pll"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1800000>; enable-active-high;
regulator-always-on; gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
}; regulator-always-on;
regulator-boot-on;
};
vbus_reg: regulator@2 { pci_clk_reg: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "pci_clk";
regulator-name = "usb1_vbus"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
enable-active-high; };
gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
regulator-always-on;
regulator-boot-on;
};
pci_clk_reg: regulator@3 { pci_vdd_reg: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "pci_vdd";
regulator-name = "pci_clk"; regulator-min-microvolt = <1050000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <1050000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on;
};
pci_vdd_reg: regulator@4 {
compatible = "regulator-fixed";
reg = <4>;
regulator-name = "pci_vdd";
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
regulator-always-on;
};
}; };
sound { sound {

View File

@ -613,58 +613,47 @@
ddc-i2c-bus = <&lvds_ddc>; ddc-i2c-bus = <&lvds_ddc>;
}; };
regulators { vdd_5v0_reg: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "vdd_5v0";
#size-cells = <0>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
vdd_5v0_reg: regulator@0 { regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "vdd_1v5";
regulator-name = "vdd_5v0"; regulator-min-microvolt = <1500000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <1500000>;
regulator-max-microvolt = <5000000>; gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
regulator-always-on; };
};
regulator@1 { regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "vdd_1v2";
regulator-name = "vdd_1v5"; regulator-min-microvolt = <1200000>;
regulator-min-microvolt = <1500000>; regulator-max-microvolt = <1200000>;
regulator-max-microvolt = <1500000>; gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; enable-active-high;
}; };
regulator@2 { vdd_pnl_reg: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "vdd_pnl";
regulator-name = "vdd_1v2"; regulator-min-microvolt = <2800000>;
regulator-min-microvolt = <1200000>; regulator-max-microvolt = <2800000>;
regulator-max-microvolt = <1200000>; gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; };
};
vdd_pnl_reg: regulator@3 { vdd_bl_reg: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "vdd_bl";
regulator-name = "vdd_pnl"; regulator-min-microvolt = <2800000>;
regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high;
};
vdd_bl_reg: regulator@4 {
compatible = "regulator-fixed";
reg = <4>;
regulator-name = "vdd_bl";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
enable-active-high;
};
}; };
sound { sound {

View File

@ -1984,118 +1984,103 @@
}; };
}; };
regulators { vdd_5v_in_reg: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "vdd_5v_in";
#size-cells = <0>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
vdd_5v_in_reg: regulator@0 { chargepump_5v_reg: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "chargepump_5v";
regulator-name = "vdd_5v_in"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-boot-on;
regulator-always-on; regulator-always-on;
}; enable-active-high;
gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
};
chargepump_5v_reg: regulator@1 { ddr_reg: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "vdd_ddr";
regulator-name = "chargepump_5v"; regulator-min-microvolt = <1500000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <1500000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-boot-on; regulator-boot-on;
regulator-always-on; enable-active-high;
enable-active-high; gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; vin-supply = <&vdd_5v_in_reg>;
}; };
ddr_reg: regulator@2 { vdd_5v_sata_reg: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "vdd_5v_sata";
regulator-name = "vdd_ddr"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1500000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1500000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; vin-supply = <&vdd_5v_in_reg>;
vin-supply = <&vdd_5v_in_reg>; };
};
vdd_5v_sata_reg: regulator@3 { usb1_vbus_reg: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "usb1_vbus";
regulator-name = "vdd_5v_sata"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; enable-active-high;
regulator-always-on; gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
regulator-boot-on; gpio-open-drain;
enable-active-high; vin-supply = <&vdd_5v_in_reg>;
gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>; };
vin-supply = <&vdd_5v_in_reg>;
};
usb1_vbus_reg: regulator@4 { usb3_vbus_reg: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "usb3_vbus";
regulator-name = "usb1_vbus"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; gpio-open-drain;
gpio-open-drain; vin-supply = <&vdd_5v_in_reg>;
vin-supply = <&vdd_5v_in_reg>; };
};
usb3_vbus_reg: regulator@5 { sys_3v3_reg: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "sys_3v3,vdd_3v3_alw";
regulator-name = "usb3_vbus"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
enable-active-high; regulator-boot-on;
gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; enable-active-high;
gpio-open-drain; gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
vin-supply = <&vdd_5v_in_reg>; vin-supply = <&vdd_5v_in_reg>;
}; };
sys_3v3_reg: regulator@6 { sys_3v3_pexs_reg: regulator@7 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <6>; regulator-name = "sys_3v3_pexs";
regulator-name = "sys_3v3,vdd_3v3_alw"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; vin-supply = <&sys_3v3_reg>;
vin-supply = <&vdd_5v_in_reg>; };
};
sys_3v3_pexs_reg: regulator@7 { vdd_5v0_hdmi: regulator@8 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <7>; regulator-name = "+VDD_5V_HDMI";
regulator-name = "sys_3v3_pexs"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; vin-supply = <&sys_3v3_reg>;
enable-active-high;
gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
vin-supply = <&sys_3v3_reg>;
};
vdd_5v0_hdmi: regulator@8 {
compatible = "regulator-fixed";
reg = <8>;
regulator-name = "+VDD_5V_HDMI";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
vin-supply = <&sys_3v3_reg>;
};
}; };
sound { sound {

View File

@ -16,80 +16,68 @@
keep-power-in-suspend; keep-power-in-suspend;
}; };
regulators { ddr_reg: regulator@100 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "vdd_ddr";
#size-cells = <0>; regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
regulator-boot-on;
enable-active-high;
gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
};
ddr_reg: regulator@100 { sys_3v3_reg: regulator@101 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <100>; regulator-name = "sys_3v3";
regulator-name = "vdd_ddr"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <1500000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <1500000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; enable-active-high;
enable-active-high; gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; };
};
sys_3v3_reg: regulator@101 { usb1_vbus_reg: regulator@102 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <101>; regulator-name = "usb1_vbus";
regulator-name = "sys_3v3"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <3300000>; enable-active-high;
regulator-always-on; gpio = <&gpio TEGRA_GPIO(I, 4) GPIO_ACTIVE_HIGH>;
regulator-boot-on; gpio-open-drain;
enable-active-high; vin-supply = <&vdd_5v0_reg>;
gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; };
};
usb1_vbus_reg: regulator@102 { usb3_vbus_reg: regulator@103 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <102>; regulator-name = "usb3_vbus";
regulator-name = "usb1_vbus"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(I, 4) GPIO_ACTIVE_HIGH>; gpio-open-drain;
gpio-open-drain; vin-supply = <&vdd_5v0_reg>;
vin-supply = <&vdd_5v0_reg>; };
};
usb3_vbus_reg: regulator@103 { vdd_5v0_reg: regulator@104 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <103>; regulator-name = "5v0";
regulator-name = "usb3_vbus"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; enable-active-high;
enable-active-high; gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>; };
gpio-open-drain;
vin-supply = <&vdd_5v0_reg>;
};
vdd_5v0_reg: regulator@104 { vdd_bl_reg: regulator@105 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <104>; regulator-name = "vdd_bl";
regulator-name = "5v0"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
enable-active-high; regulator-boot-on;
gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; enable-active-high;
}; gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_HIGH>;
vdd_bl_reg: regulator@105 {
compatible = "regulator-fixed";
reg = <105>;
regulator-name = "vdd_bl";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
enable-active-high;
gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_HIGH>;
};
}; };
}; };

View File

@ -18,92 +18,79 @@
keep-power-in-suspend; keep-power-in-suspend;
}; };
regulators { ddr_reg: regulator@100 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "ddr";
#size-cells = <0>; regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
regulator-boot-on;
enable-active-high;
gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
};
ddr_reg: regulator@100 { sys_3v3_reg: regulator@101 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "ddr"; regulator-name = "sys_3v3";
reg = <100>; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <1500000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <1500000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; enable-active-high;
enable-active-high; gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; };
};
sys_3v3_reg: regulator@101 { usb1_vbus_reg: regulator@102 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <101>; regulator-name = "usb1_vbus";
regulator-name = "sys_3v3"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <3300000>; enable-active-high;
regulator-always-on; gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
regulator-boot-on; gpio-open-drain;
enable-active-high; vin-supply = <&vdd_5v0_reg>;
gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; };
};
usb1_vbus_reg: regulator@102 { usb3_vbus_reg: regulator@103 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <102>; regulator-name = "usb3_vbus";
regulator-name = "usb1_vbus"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; gpio-open-drain;
gpio-open-drain; vin-supply = <&vdd_5v0_reg>;
vin-supply = <&vdd_5v0_reg>; };
};
usb3_vbus_reg: regulator@103 { vdd_5v0_reg: regulator@104 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <103>; regulator-name = "5v0";
regulator-name = "usb3_vbus"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; enable-active-high;
enable-active-high; gpio = <&pmic 8 GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; };
gpio-open-drain;
vin-supply = <&vdd_5v0_reg>;
};
vdd_5v0_reg: regulator@104 { vdd_bl_reg: regulator@105 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <104>; regulator-name = "vdd_bl";
regulator-name = "5v0"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
enable-active-high; regulator-boot-on;
gpio = <&pmic 8 GPIO_ACTIVE_HIGH>; enable-active-high;
}; gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
};
vdd_bl_reg: regulator@105 { vdd_bl2_reg: regulator@106 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <105>; regulator-name = "vdd_bl2";
regulator-name = "vdd_bl"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
};
vdd_bl2_reg: regulator@106 {
compatible = "regulator-fixed";
reg = <106>;
regulator-name = "vdd_bl2";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
enable-active-high;
gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
};
}; };
i2c@7000d000 { i2c@7000d000 {

View File

@ -434,158 +434,139 @@
backlight = <&backlight>; backlight = <&backlight>;
}; };
regulators { vdd_ac_bat_reg: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "vdd_ac_bat";
#size-cells = <0>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
vdd_ac_bat_reg: regulator@0 { cam_1v8_reg: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "cam_1v8";
regulator-name = "vdd_ac_bat"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <5000000>; enable-active-high;
regulator-always-on; gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
}; vin-supply = <&vio_reg>;
};
cam_1v8_reg: regulator@1 { cp_5v_reg: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "cp_5v";
regulator-name = "cam_1v8"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1800000>; regulator-boot-on;
enable-active-high; regulator-always-on;
gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>; enable-active-high;
vin-supply = <&vio_reg>; gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
}; };
cp_5v_reg: regulator@2 { emmc_3v3_reg: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "emmc_3v3";
regulator-name = "cp_5v"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-boot-on; regulator-boot-on;
regulator-always-on; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; vin-supply = <&sys_3v3_reg>;
}; };
emmc_3v3_reg: regulator@3 { modem_3v3_reg: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "modem_3v3";
regulator-name = "emmc_3v3"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; enable-active-high;
regulator-always-on; gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
regulator-boot-on; };
enable-active-high;
gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
vin-supply = <&sys_3v3_reg>;
};
modem_3v3_reg: regulator@4 { pex_hvdd_3v3_reg: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "pex_hvdd_3v3";
regulator-name = "modem_3v3"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>; vin-supply = <&sys_3v3_reg>;
}; };
pex_hvdd_3v3_reg: regulator@5 { vdd_cam1_ldo_reg: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "vdd_cam1_ldo";
regulator-name = "pex_hvdd_3v3"; regulator-min-microvolt = <2800000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <2800000>;
regulator-max-microvolt = <3300000>; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>; vin-supply = <&sys_3v3_reg>;
vin-supply = <&sys_3v3_reg>; };
};
vdd_cam1_ldo_reg: regulator@6 { vdd_cam2_ldo_reg: regulator@7 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <6>; regulator-name = "vdd_cam2_ldo";
regulator-name = "vdd_cam1_ldo"; regulator-min-microvolt = <2800000>;
regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
regulator-max-microvolt = <2800000>; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>; vin-supply = <&sys_3v3_reg>;
vin-supply = <&sys_3v3_reg>; };
};
vdd_cam2_ldo_reg: regulator@7 { vdd_cam3_ldo_reg: regulator@8 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <7>; regulator-name = "vdd_cam3_ldo";
regulator-name = "vdd_cam2_ldo"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <2800000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <2800000>; enable-active-high;
enable-active-high; gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>; vin-supply = <&sys_3v3_reg>;
vin-supply = <&sys_3v3_reg>; };
};
vdd_cam3_ldo_reg: regulator@8 { vdd_com_reg: regulator@9 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <8>; regulator-name = "vdd_com";
regulator-name = "vdd_cam3_ldo"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
enable-active-high; regulator-boot-on;
gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>; enable-active-high;
vin-supply = <&sys_3v3_reg>; gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
}; vin-supply = <&sys_3v3_reg>;
};
vdd_com_reg: regulator@9 { vdd_fuse_3v3_reg: regulator@10 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <9>; regulator-name = "vdd_fuse_3v3";
regulator-name = "vdd_com"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; enable-active-high;
regulator-always-on; gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
regulator-boot-on; vin-supply = <&sys_3v3_reg>;
enable-active-high; };
gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
vin-supply = <&sys_3v3_reg>;
};
vdd_fuse_3v3_reg: regulator@10 { vdd_pnl1_reg: regulator@11 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <10>; regulator-name = "vdd_pnl1";
regulator-name = "vdd_fuse_3v3"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
enable-active-high; regulator-boot-on;
gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>; enable-active-high;
vin-supply = <&sys_3v3_reg>; gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
}; vin-supply = <&sys_3v3_reg>;
};
vdd_pnl1_reg: regulator@11 { vdd_vid_reg: regulator@12 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <11>; regulator-name = "vddio_vid";
regulator-name = "vdd_pnl1"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <3300000>; enable-active-high;
regulator-always-on; gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
regulator-boot-on; gpio-open-drain;
enable-active-high; vin-supply = <&vdd_5v0_reg>;
gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
vin-supply = <&sys_3v3_reg>;
};
vdd_vid_reg: regulator@12 {
compatible = "regulator-fixed";
reg = <12>;
regulator-name = "vddio_vid";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
gpio-open-drain;
vin-supply = <&vdd_5v0_reg>;
};
}; };
sound { sound {