Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1122 -1353
+58 -71
arch/arm/boot/dts/tegra114-dalmore.dts
··· 1187 1187 }; 1188 1188 }; 1189 1189 1190 - regulators { 1191 - compatible = "simple-bus"; 1192 - #address-cells = <1>; 1193 - #size-cells = <0>; 1190 + vdd_ac_bat_reg: regulator@0 { 1191 + compatible = "regulator-fixed"; 1192 + regulator-name = "vdd_ac_bat"; 1193 + regulator-min-microvolt = <5000000>; 1194 + regulator-max-microvolt = <5000000>; 1195 + regulator-always-on; 1196 + }; 1194 1197 1195 - vdd_ac_bat_reg: regulator@0 { 1196 - compatible = "regulator-fixed"; 1197 - reg = <0>; 1198 - regulator-name = "vdd_ac_bat"; 1199 - regulator-min-microvolt = <5000000>; 1200 - regulator-max-microvolt = <5000000>; 1201 - regulator-always-on; 1202 - }; 1198 + dvdd_ts_reg: regulator@1 { 1199 + compatible = "regulator-fixed"; 1200 + regulator-name = "dvdd_ts"; 1201 + regulator-min-microvolt = <1800000>; 1202 + regulator-max-microvolt = <1800000>; 1203 + enable-active-high; 1204 + gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; 1205 + }; 1203 1206 1204 - dvdd_ts_reg: regulator@1 { 1205 - compatible = "regulator-fixed"; 1206 - reg = <1>; 1207 - regulator-name = "dvdd_ts"; 1208 - regulator-min-microvolt = <1800000>; 1209 - regulator-max-microvolt = <1800000>; 1210 - enable-active-high; 1211 - gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; 1212 - }; 1207 + usb1_vbus_reg: regulator@3 { 1208 + compatible = "regulator-fixed"; 1209 + regulator-name = "usb1_vbus"; 1210 + regulator-min-microvolt = <5000000>; 1211 + regulator-max-microvolt = <5000000>; 1212 + enable-active-high; 1213 + gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 1214 + gpio-open-drain; 1215 + vin-supply = <&tps65090_dcdc1_reg>; 1216 + }; 1213 1217 1214 - usb1_vbus_reg: regulator@3 { 1215 - compatible = "regulator-fixed"; 1216 - reg = <3>; 1217 - regulator-name = "usb1_vbus"; 1218 - regulator-min-microvolt = <5000000>; 1219 - regulator-max-microvolt = <5000000>; 1220 - enable-active-high; 1221 - gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 1222 - gpio-open-drain; 1223 - vin-supply = <&tps65090_dcdc1_reg>; 1224 - }; 1218 + usb3_vbus_reg: regulator@4 { 1219 + compatible = "regulator-fixed"; 1220 + regulator-name = "usb2_vbus"; 1221 + regulator-min-microvolt = <5000000>; 1222 + regulator-max-microvolt = <5000000>; 1223 + enable-active-high; 1224 + gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 1225 + gpio-open-drain; 1226 + vin-supply = <&tps65090_dcdc1_reg>; 1227 + }; 1225 1228 1226 - usb3_vbus_reg: regulator@4 { 1227 - compatible = "regulator-fixed"; 1228 - reg = <4>; 1229 - regulator-name = "usb2_vbus"; 1230 - regulator-min-microvolt = <5000000>; 1231 - regulator-max-microvolt = <5000000>; 1232 - enable-active-high; 1233 - gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 1234 - gpio-open-drain; 1235 - vin-supply = <&tps65090_dcdc1_reg>; 1236 - }; 1229 + vdd_hdmi_reg: regulator@5 { 1230 + compatible = "regulator-fixed"; 1231 + regulator-name = "vdd_hdmi_5v0"; 1232 + regulator-min-microvolt = <5000000>; 1233 + regulator-max-microvolt = <5000000>; 1234 + vin-supply = <&tps65090_dcdc1_reg>; 1235 + }; 1237 1236 1238 - vdd_hdmi_reg: regulator@5 { 1239 - compatible = "regulator-fixed"; 1240 - reg = <5>; 1241 - regulator-name = "vdd_hdmi_5v0"; 1242 - regulator-min-microvolt = <5000000>; 1243 - regulator-max-microvolt = <5000000>; 1244 - vin-supply = <&tps65090_dcdc1_reg>; 1245 - }; 1237 + vdd_cam_1v8_reg: regulator@6 { 1238 + compatible = "regulator-fixed"; 1239 + regulator-name = "vdd_cam_1v8_reg"; 1240 + regulator-min-microvolt = <1800000>; 1241 + regulator-max-microvolt = <1800000>; 1242 + enable-active-high; 1243 + gpio = <&palmas_gpio 6 0>; 1244 + }; 1246 1245 1247 - vdd_cam_1v8_reg: regulator@6 { 1248 - compatible = "regulator-fixed"; 1249 - reg = <6>; 1250 - regulator-name = "vdd_cam_1v8_reg"; 1251 - regulator-min-microvolt = <1800000>; 1252 - regulator-max-microvolt = <1800000>; 1253 - enable-active-high; 1254 - gpio = <&palmas_gpio 6 0>; 1255 - }; 1256 - 1257 - vdd_5v0_hdmi: regulator@7 { 1258 - compatible = "regulator-fixed"; 1259 - reg = <7>; 1260 - regulator-name = "VDD_5V0_HDMI_CON"; 1261 - regulator-min-microvolt = <5000000>; 1262 - regulator-max-microvolt = <5000000>; 1263 - gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 1264 - enable-active-high; 1265 - vin-supply = <&tps65090_dcdc1_reg>; 1266 - }; 1246 + vdd_5v0_hdmi: regulator@7 { 1247 + compatible = "regulator-fixed"; 1248 + regulator-name = "VDD_5V0_HDMI_CON"; 1249 + regulator-min-microvolt = <5000000>; 1250 + regulator-max-microvolt = <5000000>; 1251 + gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 1252 + enable-active-high; 1253 + vin-supply = <&tps65090_dcdc1_reg>; 1267 1254 }; 1268 1255 1269 1256 sound {
+54 -66
arch/arm/boot/dts/tegra114-roth.dts
··· 1045 1045 }; 1046 1046 }; 1047 1047 1048 - regulators { 1049 - compatible = "simple-bus"; 1050 - #address-cells = <1>; 1051 - #size-cells = <0>; 1048 + lcd_bl_en: regulator@0 { 1049 + compatible = "regulator-fixed"; 1050 + regulator-name = "lcd_bl_en"; 1051 + regulator-min-microvolt = <5000000>; 1052 + regulator-max-microvolt = <5000000>; 1053 + regulator-boot-on; 1054 + }; 1052 1055 1053 - lcd_bl_en: regulator@0 { 1054 - compatible = "regulator-fixed"; 1055 - reg = <0>; 1056 - regulator-name = "lcd_bl_en"; 1057 - regulator-min-microvolt = <5000000>; 1058 - regulator-max-microvolt = <5000000>; 1059 - regulator-boot-on; 1060 - }; 1056 + vdd_lcd: regulator@1 { 1057 + compatible = "regulator-fixed"; 1058 + regulator-name = "vdd_lcd_1v8"; 1059 + regulator-min-microvolt = <1800000>; 1060 + regulator-max-microvolt = <1800000>; 1061 + vin-supply = <&vdd_1v8>; 1062 + enable-active-high; 1063 + gpio = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; 1064 + regulator-boot-on; 1065 + }; 1061 1066 1062 - vdd_lcd: regulator@1 { 1063 - compatible = "regulator-fixed"; 1064 - reg = <1>; 1065 - regulator-name = "vdd_lcd_1v8"; 1066 - regulator-min-microvolt = <1800000>; 1067 - regulator-max-microvolt = <1800000>; 1068 - vin-supply = <&vdd_1v8>; 1069 - enable-active-high; 1070 - gpio = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>; 1071 - regulator-boot-on; 1072 - }; 1067 + regulator@2 { 1068 + compatible = "regulator-fixed"; 1069 + regulator-name = "vdd_1v8_ts"; 1070 + regulator-min-microvolt = <1800000>; 1071 + regulator-max-microvolt = <1800000>; 1072 + gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_LOW>; 1073 + regulator-boot-on; 1074 + }; 1073 1075 1074 - regulator@2 { 1075 - compatible = "regulator-fixed"; 1076 - reg = <2>; 1077 - regulator-name = "vdd_1v8_ts"; 1078 - regulator-min-microvolt = <1800000>; 1079 - regulator-max-microvolt = <1800000>; 1080 - gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_LOW>; 1081 - regulator-boot-on; 1082 - }; 1076 + regulator@3 { 1077 + compatible = "regulator-fixed"; 1078 + regulator-name = "vdd_3v3_ts"; 1079 + regulator-min-microvolt = <3300000>; 1080 + regulator-max-microvolt = <3300000>; 1081 + enable-active-high; 1082 + gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; 1083 + regulator-boot-on; 1084 + }; 1083 1085 1084 - regulator@3 { 1085 - compatible = "regulator-fixed"; 1086 - reg = <3>; 1087 - regulator-name = "vdd_3v3_ts"; 1088 - regulator-min-microvolt = <3300000>; 1089 - regulator-max-microvolt = <3300000>; 1090 - enable-active-high; 1091 - gpio = <&gpio TEGRA_GPIO(H, 5) GPIO_ACTIVE_HIGH>; 1092 - regulator-boot-on; 1093 - }; 1086 + regulator@4 { 1087 + compatible = "regulator-fixed"; 1088 + regulator-name = "vdd_1v8_com"; 1089 + regulator-min-microvolt = <1800000>; 1090 + regulator-max-microvolt = <1800000>; 1091 + vin-supply = <&vdd_1v8>; 1092 + enable-active-high; 1093 + gpio = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_HIGH>; 1094 + regulator-boot-on; 1095 + }; 1094 1096 1095 - regulator@4 { 1096 - compatible = "regulator-fixed"; 1097 - reg = <4>; 1098 - regulator-name = "vdd_1v8_com"; 1099 - regulator-min-microvolt = <1800000>; 1100 - regulator-max-microvolt = <1800000>; 1101 - vin-supply = <&vdd_1v8>; 1102 - enable-active-high; 1103 - gpio = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_HIGH>; 1104 - regulator-boot-on; 1105 - }; 1106 - 1107 - regulator@5 { 1108 - compatible = "regulator-fixed"; 1109 - reg = <5>; 1110 - regulator-name = "vdd_3v3_com"; 1111 - regulator-min-microvolt = <3300000>; 1112 - regulator-max-microvolt = <3300000>; 1113 - vin-supply = <&vdd_3v3_sys>; 1114 - enable-active-high; 1115 - gpio = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_HIGH>; 1116 - regulator-always-on; 1117 - regulator-boot-on; 1118 - }; 1097 + regulator@5 { 1098 + compatible = "regulator-fixed"; 1099 + regulator-name = "vdd_3v3_com"; 1100 + regulator-min-microvolt = <3300000>; 1101 + regulator-max-microvolt = <3300000>; 1102 + vin-supply = <&vdd_3v3_sys>; 1103 + enable-active-high; 1104 + gpio = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_HIGH>; 1105 + regulator-always-on; 1106 + regulator-boot-on; 1119 1107 }; 1120 1108 };
+28 -37
arch/arm/boot/dts/tegra114-tn7.dts
··· 302 302 }; 303 303 }; 304 304 305 - regulators { 306 - compatible = "simple-bus"; 307 - #address-cells = <1>; 308 - #size-cells = <0>; 305 + /* FIXME: output of BQ24192 */ 306 + vs_sys: regulator@0 { 307 + compatible = "regulator-fixed"; 308 + regulator-name = "VS_SYS"; 309 + regulator-min-microvolt = <4200000>; 310 + regulator-max-microvolt = <4200000>; 311 + regulator-always-on; 312 + regulator-boot-on; 313 + }; 309 314 310 - /* FIXME: output of BQ24192 */ 311 - vs_sys: regulator@0 { 312 - compatible = "regulator-fixed"; 313 - reg = <0>; 314 - regulator-name = "VS_SYS"; 315 - regulator-min-microvolt = <4200000>; 316 - regulator-max-microvolt = <4200000>; 317 - regulator-always-on; 318 - regulator-boot-on; 319 - }; 315 + lcd_bl_en: regulator@1 { 316 + compatible = "regulator-fixed"; 317 + regulator-name = "VDD_LCD_BL"; 318 + regulator-min-microvolt = <16500000>; 319 + regulator-max-microvolt = <16500000>; 320 + gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 321 + enable-active-high; 322 + vin-supply = <&vs_sys>; 323 + regulator-boot-on; 324 + }; 320 325 321 - lcd_bl_en: regulator@1 { 322 - compatible = "regulator-fixed"; 323 - reg = <1>; 324 - regulator-name = "VDD_LCD_BL"; 325 - regulator-min-microvolt = <16500000>; 326 - regulator-max-microvolt = <16500000>; 327 - gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 328 - enable-active-high; 329 - vin-supply = <&vs_sys>; 330 - regulator-boot-on; 331 - }; 332 - 333 - vdd_lcd: regulator@2 { 334 - compatible = "regulator-fixed"; 335 - reg = <2>; 336 - regulator-name = "VD_LCD_1V8"; 337 - regulator-min-microvolt = <1800000>; 338 - regulator-max-microvolt = <1800000>; 339 - gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>; 340 - enable-active-high; 341 - vin-supply = <&vdd_1v8>; 342 - regulator-boot-on; 343 - }; 326 + vdd_lcd: regulator@2 { 327 + compatible = "regulator-fixed"; 328 + regulator-name = "VD_LCD_1V8"; 329 + regulator-min-microvolt = <1800000>; 330 + regulator-max-microvolt = <1800000>; 331 + gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>; 332 + enable-active-high; 333 + vin-supply = <&vdd_1v8>; 334 + regulator-boot-on; 344 335 }; 345 336 };
+110 -128
arch/arm/boot/dts/tegra124-jetson-tk1.dts
··· 1886 1886 }; 1887 1887 }; 1888 1888 1889 - regulators { 1890 - compatible = "simple-bus"; 1891 - #address-cells = <1>; 1892 - #size-cells = <0>; 1889 + vdd_mux: regulator@0 { 1890 + compatible = "regulator-fixed"; 1891 + regulator-name = "+VDD_MUX"; 1892 + regulator-min-microvolt = <12000000>; 1893 + regulator-max-microvolt = <12000000>; 1894 + regulator-always-on; 1895 + regulator-boot-on; 1896 + }; 1893 1897 1894 - vdd_mux: regulator@0 { 1895 - compatible = "regulator-fixed"; 1896 - reg = <0>; 1897 - regulator-name = "+VDD_MUX"; 1898 - regulator-min-microvolt = <12000000>; 1899 - regulator-max-microvolt = <12000000>; 1900 - regulator-always-on; 1901 - regulator-boot-on; 1902 - }; 1898 + vdd_5v0_sys: regulator@1 { 1899 + compatible = "regulator-fixed"; 1900 + regulator-name = "+5V_SYS"; 1901 + regulator-min-microvolt = <5000000>; 1902 + regulator-max-microvolt = <5000000>; 1903 + regulator-always-on; 1904 + regulator-boot-on; 1905 + vin-supply = <&vdd_mux>; 1906 + }; 1903 1907 1904 - vdd_5v0_sys: regulator@1 { 1905 - compatible = "regulator-fixed"; 1906 - reg = <1>; 1907 - regulator-name = "+5V_SYS"; 1908 - regulator-min-microvolt = <5000000>; 1909 - regulator-max-microvolt = <5000000>; 1910 - regulator-always-on; 1911 - regulator-boot-on; 1912 - vin-supply = <&vdd_mux>; 1913 - }; 1908 + vdd_3v3_sys: regulator@2 { 1909 + compatible = "regulator-fixed"; 1910 + regulator-name = "+3.3V_SYS"; 1911 + regulator-min-microvolt = <3300000>; 1912 + regulator-max-microvolt = <3300000>; 1913 + regulator-always-on; 1914 + regulator-boot-on; 1915 + vin-supply = <&vdd_mux>; 1916 + }; 1914 1917 1915 - vdd_3v3_sys: regulator@2 { 1916 - compatible = "regulator-fixed"; 1917 - reg = <2>; 1918 - regulator-name = "+3.3V_SYS"; 1919 - regulator-min-microvolt = <3300000>; 1920 - regulator-max-microvolt = <3300000>; 1921 - regulator-always-on; 1922 - regulator-boot-on; 1923 - vin-supply = <&vdd_mux>; 1924 - }; 1918 + vdd_3v3_run: regulator@3 { 1919 + compatible = "regulator-fixed"; 1920 + regulator-name = "+3.3V_RUN"; 1921 + regulator-min-microvolt = <3300000>; 1922 + regulator-max-microvolt = <3300000>; 1923 + regulator-always-on; 1924 + regulator-boot-on; 1925 + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 1926 + enable-active-high; 1927 + vin-supply = <&vdd_3v3_sys>; 1928 + }; 1925 1929 1926 - vdd_3v3_run: regulator@3 { 1927 - compatible = "regulator-fixed"; 1928 - reg = <3>; 1929 - regulator-name = "+3.3V_RUN"; 1930 - regulator-min-microvolt = <3300000>; 1931 - regulator-max-microvolt = <3300000>; 1932 - regulator-always-on; 1933 - regulator-boot-on; 1934 - gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 1935 - enable-active-high; 1936 - vin-supply = <&vdd_3v3_sys>; 1937 - }; 1930 + vdd_3v3_hdmi: regulator@4 { 1931 + compatible = "regulator-fixed"; 1932 + regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; 1933 + regulator-min-microvolt = <3300000>; 1934 + regulator-max-microvolt = <3300000>; 1935 + vin-supply = <&vdd_3v3_run>; 1936 + }; 1938 1937 1939 - vdd_3v3_hdmi: regulator@4 { 1940 - compatible = "regulator-fixed"; 1941 - reg = <4>; 1942 - regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; 1943 - regulator-min-microvolt = <3300000>; 1944 - regulator-max-microvolt = <3300000>; 1945 - vin-supply = <&vdd_3v3_run>; 1946 - }; 1938 + vdd_usb1_vbus: regulator@5 { 1939 + compatible = "regulator-fixed"; 1940 + regulator-name = "+USB0_VBUS_SW"; 1941 + regulator-min-microvolt = <5000000>; 1942 + regulator-max-microvolt = <5000000>; 1943 + gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 1944 + enable-active-high; 1945 + gpio-open-drain; 1946 + vin-supply = <&vdd_5v0_sys>; 1947 + }; 1947 1948 1948 - vdd_usb1_vbus: regulator@7 { 1949 - compatible = "regulator-fixed"; 1950 - reg = <7>; 1951 - regulator-name = "+USB0_VBUS_SW"; 1952 - regulator-min-microvolt = <5000000>; 1953 - regulator-max-microvolt = <5000000>; 1954 - gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 1955 - enable-active-high; 1956 - gpio-open-drain; 1957 - vin-supply = <&vdd_5v0_sys>; 1958 - }; 1949 + vdd_usb3_vbus: regulator@6 { 1950 + compatible = "regulator-fixed"; 1951 + regulator-name = "+5V_USB_HS"; 1952 + regulator-min-microvolt = <5000000>; 1953 + regulator-max-microvolt = <5000000>; 1954 + gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 1955 + enable-active-high; 1956 + gpio-open-drain; 1957 + vin-supply = <&vdd_5v0_sys>; 1958 + }; 1959 1959 1960 - vdd_usb3_vbus: regulator@8 { 1961 - compatible = "regulator-fixed"; 1962 - reg = <8>; 1963 - regulator-name = "+5V_USB_HS"; 1964 - regulator-min-microvolt = <5000000>; 1965 - regulator-max-microvolt = <5000000>; 1966 - gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 1967 - enable-active-high; 1968 - gpio-open-drain; 1969 - vin-supply = <&vdd_5v0_sys>; 1970 - }; 1960 + vdd_3v3_lp0: regulator@7 { 1961 + compatible = "regulator-fixed"; 1962 + regulator-name = "+3.3V_LP0"; 1963 + regulator-min-microvolt = <3300000>; 1964 + regulator-max-microvolt = <3300000>; 1965 + regulator-always-on; 1966 + regulator-boot-on; 1967 + gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 1968 + enable-active-high; 1969 + vin-supply = <&vdd_3v3_sys>; 1970 + }; 1971 1971 1972 - vdd_3v3_lp0: regulator@10 { 1973 - compatible = "regulator-fixed"; 1974 - reg = <10>; 1975 - regulator-name = "+3.3V_LP0"; 1976 - regulator-min-microvolt = <3300000>; 1977 - regulator-max-microvolt = <3300000>; 1978 - regulator-always-on; 1979 - regulator-boot-on; 1980 - gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 1981 - enable-active-high; 1982 - vin-supply = <&vdd_3v3_sys>; 1983 - }; 1972 + vdd_hdmi_pll: regulator@8 { 1973 + compatible = "regulator-fixed"; 1974 + regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; 1975 + regulator-min-microvolt = <1050000>; 1976 + regulator-max-microvolt = <1050000>; 1977 + gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 1978 + vin-supply = <&vdd_1v05_run>; 1979 + }; 1984 1980 1985 - vdd_hdmi_pll: regulator@11 { 1986 - compatible = "regulator-fixed"; 1987 - reg = <11>; 1988 - regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; 1989 - regulator-min-microvolt = <1050000>; 1990 - regulator-max-microvolt = <1050000>; 1991 - gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 1992 - vin-supply = <&vdd_1v05_run>; 1993 - }; 1981 + vdd_5v0_hdmi: regulator@9 { 1982 + compatible = "regulator-fixed"; 1983 + regulator-name = "+5V_HDMI_CON"; 1984 + regulator-min-microvolt = <5000000>; 1985 + regulator-max-microvolt = <5000000>; 1986 + gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 1987 + enable-active-high; 1988 + vin-supply = <&vdd_5v0_sys>; 1989 + }; 1994 1990 1995 - vdd_5v0_hdmi: regulator@12 { 1996 - compatible = "regulator-fixed"; 1997 - reg = <12>; 1998 - regulator-name = "+5V_HDMI_CON"; 1999 - regulator-min-microvolt = <5000000>; 2000 - regulator-max-microvolt = <5000000>; 2001 - gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 2002 - enable-active-high; 2003 - vin-supply = <&vdd_5v0_sys>; 2004 - }; 1991 + /* Molex power connector */ 1992 + vdd_5v0_sata: regulator@10 { 1993 + compatible = "regulator-fixed"; 1994 + regulator-name = "+5V_SATA"; 1995 + regulator-min-microvolt = <5000000>; 1996 + regulator-max-microvolt = <5000000>; 1997 + gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>; 1998 + enable-active-high; 1999 + vin-supply = <&vdd_5v0_sys>; 2000 + }; 2005 2001 2006 - /* Molex power connector */ 2007 - vdd_5v0_sata: regulator@13 { 2008 - compatible = "regulator-fixed"; 2009 - reg = <13>; 2010 - regulator-name = "+5V_SATA"; 2011 - regulator-min-microvolt = <5000000>; 2012 - regulator-max-microvolt = <5000000>; 2013 - gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>; 2014 - enable-active-high; 2015 - vin-supply = <&vdd_5v0_sys>; 2016 - }; 2017 - 2018 - vdd_12v0_sata: regulator@14 { 2019 - compatible = "regulator-fixed"; 2020 - reg = <14>; 2021 - regulator-name = "+12V_SATA"; 2022 - regulator-min-microvolt = <12000000>; 2023 - regulator-max-microvolt = <12000000>; 2024 - gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>; 2025 - enable-active-high; 2026 - vin-supply = <&vdd_mux>; 2027 - }; 2002 + vdd_12v0_sata: regulator@11 { 2003 + compatible = "regulator-fixed"; 2004 + regulator-name = "+12V_SATA"; 2005 + regulator-min-microvolt = <12000000>; 2006 + regulator-max-microvolt = <12000000>; 2007 + gpio = <&gpio TEGRA_GPIO(EE, 2) GPIO_ACTIVE_HIGH>; 2008 + enable-active-high; 2009 + vin-supply = <&vdd_mux>; 2028 2010 }; 2029 2011 2030 2012 sound {
+120 -139
arch/arm/boot/dts/tegra124-nyan.dtsi
··· 612 612 }; 613 613 }; 614 614 615 - regulators { 616 - compatible = "simple-bus"; 617 - #address-cells = <1>; 618 - #size-cells = <0>; 615 + vdd_mux: regulator@0 { 616 + compatible = "regulator-fixed"; 617 + regulator-name = "+VDD_MUX"; 618 + regulator-min-microvolt = <12000000>; 619 + regulator-max-microvolt = <12000000>; 620 + regulator-always-on; 621 + regulator-boot-on; 622 + }; 619 623 620 - vdd_mux: regulator@0 { 621 - compatible = "regulator-fixed"; 622 - reg = <0>; 623 - regulator-name = "+VDD_MUX"; 624 - regulator-min-microvolt = <12000000>; 625 - regulator-max-microvolt = <12000000>; 626 - regulator-always-on; 627 - regulator-boot-on; 628 - }; 624 + vdd_5v0_sys: regulator@1 { 625 + compatible = "regulator-fixed"; 626 + regulator-name = "+5V_SYS"; 627 + regulator-min-microvolt = <5000000>; 628 + regulator-max-microvolt = <5000000>; 629 + regulator-always-on; 630 + regulator-boot-on; 631 + vin-supply = <&vdd_mux>; 632 + }; 629 633 630 - vdd_5v0_sys: regulator@1 { 631 - compatible = "regulator-fixed"; 632 - reg = <1>; 633 - regulator-name = "+5V_SYS"; 634 - regulator-min-microvolt = <5000000>; 635 - regulator-max-microvolt = <5000000>; 636 - regulator-always-on; 637 - regulator-boot-on; 638 - vin-supply = <&vdd_mux>; 639 - }; 634 + vdd_3v3_sys: regulator@2 { 635 + compatible = "regulator-fixed"; 636 + regulator-name = "+3.3V_SYS"; 637 + regulator-min-microvolt = <3300000>; 638 + regulator-max-microvolt = <3300000>; 639 + regulator-always-on; 640 + regulator-boot-on; 641 + vin-supply = <&vdd_mux>; 642 + }; 640 643 641 - vdd_3v3_sys: regulator@2 { 642 - compatible = "regulator-fixed"; 643 - reg = <2>; 644 - regulator-name = "+3.3V_SYS"; 645 - regulator-min-microvolt = <3300000>; 646 - regulator-max-microvolt = <3300000>; 647 - regulator-always-on; 648 - regulator-boot-on; 649 - vin-supply = <&vdd_mux>; 650 - }; 644 + vdd_3v3_run: regulator@3 { 645 + compatible = "regulator-fixed"; 646 + regulator-name = "+3.3V_RUN"; 647 + regulator-min-microvolt = <3300000>; 648 + regulator-max-microvolt = <3300000>; 649 + regulator-always-on; 650 + regulator-boot-on; 651 + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 652 + enable-active-high; 653 + vin-supply = <&vdd_3v3_sys>; 654 + }; 651 655 652 - vdd_3v3_run: regulator@3 { 653 - compatible = "regulator-fixed"; 654 - reg = <3>; 655 - regulator-name = "+3.3V_RUN"; 656 - regulator-min-microvolt = <3300000>; 657 - regulator-max-microvolt = <3300000>; 658 - regulator-always-on; 659 - regulator-boot-on; 660 - gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 661 - enable-active-high; 662 - vin-supply = <&vdd_3v3_sys>; 663 - }; 656 + vdd_3v3_hdmi: regulator@4 { 657 + compatible = "regulator-fixed"; 658 + regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; 659 + regulator-min-microvolt = <3300000>; 660 + regulator-max-microvolt = <3300000>; 661 + vin-supply = <&vdd_3v3_run>; 662 + }; 664 663 665 - vdd_3v3_hdmi: regulator@4 { 666 - compatible = "regulator-fixed"; 667 - reg = <4>; 668 - regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; 669 - regulator-min-microvolt = <3300000>; 670 - regulator-max-microvolt = <3300000>; 671 - vin-supply = <&vdd_3v3_run>; 672 - }; 664 + vdd_led: regulator@5 { 665 + compatible = "regulator-fixed"; 666 + regulator-name = "+VDD_LED"; 667 + gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 668 + enable-active-high; 669 + vin-supply = <&vdd_mux>; 670 + }; 673 671 674 - vdd_led: regulator@5 { 675 - compatible = "regulator-fixed"; 676 - reg = <5>; 677 - regulator-name = "+VDD_LED"; 678 - gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 679 - enable-active-high; 680 - vin-supply = <&vdd_mux>; 681 - }; 672 + vdd_5v0_ts: regulator@6 { 673 + compatible = "regulator-fixed"; 674 + regulator-name = "+5V_VDD_TS_SW"; 675 + regulator-min-microvolt = <5000000>; 676 + regulator-max-microvolt = <5000000>; 677 + regulator-boot-on; 678 + gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 679 + enable-active-high; 680 + vin-supply = <&vdd_5v0_sys>; 681 + }; 682 682 683 - vdd_5v0_ts: regulator@6 { 684 - compatible = "regulator-fixed"; 685 - reg = <6>; 686 - regulator-name = "+5V_VDD_TS_SW"; 687 - regulator-min-microvolt = <5000000>; 688 - regulator-max-microvolt = <5000000>; 689 - regulator-boot-on; 690 - gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 691 - enable-active-high; 692 - vin-supply = <&vdd_5v0_sys>; 693 - }; 683 + vdd_usb1_vbus: regulator@7 { 684 + compatible = "regulator-fixed"; 685 + regulator-name = "+5V_USB_HS"; 686 + regulator-min-microvolt = <5000000>; 687 + regulator-max-microvolt = <5000000>; 688 + gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 689 + enable-active-high; 690 + gpio-open-drain; 691 + vin-supply = <&vdd_5v0_sys>; 692 + }; 694 693 695 - vdd_usb1_vbus: regulator@7 { 696 - compatible = "regulator-fixed"; 697 - reg = <7>; 698 - regulator-name = "+5V_USB_HS"; 699 - regulator-min-microvolt = <5000000>; 700 - regulator-max-microvolt = <5000000>; 701 - gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 702 - enable-active-high; 703 - gpio-open-drain; 704 - vin-supply = <&vdd_5v0_sys>; 705 - }; 694 + vdd_usb3_vbus: regulator@8 { 695 + compatible = "regulator-fixed"; 696 + regulator-name = "+5V_USB_SS"; 697 + regulator-min-microvolt = <5000000>; 698 + regulator-max-microvolt = <5000000>; 699 + gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 700 + enable-active-high; 701 + gpio-open-drain; 702 + vin-supply = <&vdd_5v0_sys>; 703 + }; 706 704 707 - vdd_usb3_vbus: regulator@8 { 708 - compatible = "regulator-fixed"; 709 - reg = <8>; 710 - regulator-name = "+5V_USB_SS"; 711 - regulator-min-microvolt = <5000000>; 712 - regulator-max-microvolt = <5000000>; 713 - gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 714 - enable-active-high; 715 - gpio-open-drain; 716 - vin-supply = <&vdd_5v0_sys>; 717 - }; 705 + vdd_3v3_panel: regulator@9 { 706 + compatible = "regulator-fixed"; 707 + regulator-name = "+3.3V_PANEL"; 708 + regulator-min-microvolt = <3300000>; 709 + regulator-max-microvolt = <3300000>; 710 + gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; 711 + enable-active-high; 712 + vin-supply = <&vdd_3v3_run>; 713 + }; 718 714 719 - vdd_3v3_panel: regulator@9 { 720 - compatible = "regulator-fixed"; 721 - reg = <9>; 722 - regulator-name = "+3.3V_PANEL"; 723 - regulator-min-microvolt = <3300000>; 724 - regulator-max-microvolt = <3300000>; 725 - gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; 726 - enable-active-high; 727 - vin-supply = <&vdd_3v3_run>; 728 - }; 715 + vdd_3v3_lp0: regulator@10 { 716 + compatible = "regulator-fixed"; 717 + regulator-name = "+3.3V_LP0"; 718 + regulator-min-microvolt = <3300000>; 719 + regulator-max-microvolt = <3300000>; 720 + /* 721 + * TODO: find a way to wire this up with the USB EHCI 722 + * controllers so that it can be enabled on demand. 723 + */ 724 + regulator-always-on; 725 + gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 726 + enable-active-high; 727 + vin-supply = <&vdd_3v3_sys>; 728 + }; 729 729 730 - vdd_3v3_lp0: regulator@10 { 731 - compatible = "regulator-fixed"; 732 - reg = <10>; 733 - regulator-name = "+3.3V_LP0"; 734 - regulator-min-microvolt = <3300000>; 735 - regulator-max-microvolt = <3300000>; 736 - /* 737 - * TODO: find a way to wire this up with the USB EHCI 738 - * controllers so that it can be enabled on demand. 739 - */ 740 - regulator-always-on; 741 - gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 742 - enable-active-high; 743 - vin-supply = <&vdd_3v3_sys>; 744 - }; 730 + vdd_hdmi_pll: regulator@11 { 731 + compatible = "regulator-fixed"; 732 + regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; 733 + regulator-min-microvolt = <1050000>; 734 + regulator-max-microvolt = <1050000>; 735 + gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 736 + vin-supply = <&vdd_1v05_run>; 737 + }; 745 738 746 - vdd_hdmi_pll: regulator@11 { 747 - compatible = "regulator-fixed"; 748 - reg = <11>; 749 - regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; 750 - regulator-min-microvolt = <1050000>; 751 - regulator-max-microvolt = <1050000>; 752 - gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 753 - vin-supply = <&vdd_1v05_run>; 754 - }; 755 - 756 - vdd_5v0_hdmi: regulator@12 { 757 - compatible = "regulator-fixed"; 758 - reg = <12>; 759 - regulator-name = "+5V_HDMI_CON"; 760 - regulator-min-microvolt = <5000000>; 761 - regulator-max-microvolt = <5000000>; 762 - gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 763 - enable-active-high; 764 - vin-supply = <&vdd_5v0_sys>; 765 - }; 739 + vdd_5v0_hdmi: regulator@12 { 740 + compatible = "regulator-fixed"; 741 + regulator-name = "+5V_HDMI_CON"; 742 + regulator-min-microvolt = <5000000>; 743 + regulator-max-microvolt = <5000000>; 744 + gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 745 + enable-active-high; 746 + vin-supply = <&vdd_5v0_sys>; 766 747 }; 767 748 768 749 sound {
+122 -141
arch/arm/boot/dts/tegra124-venice2.dts
··· 1086 1086 ddc-i2c-bus = <&dpaux>; 1087 1087 }; 1088 1088 1089 - regulators { 1090 - compatible = "simple-bus"; 1091 - #address-cells = <1>; 1092 - #size-cells = <0>; 1089 + vdd_mux: regulator@0 { 1090 + compatible = "regulator-fixed"; 1091 + regulator-name = "+VDD_MUX"; 1092 + regulator-min-microvolt = <12000000>; 1093 + regulator-max-microvolt = <12000000>; 1094 + regulator-always-on; 1095 + regulator-boot-on; 1096 + }; 1093 1097 1094 - vdd_mux: regulator@0 { 1095 - compatible = "regulator-fixed"; 1096 - reg = <0>; 1097 - regulator-name = "+VDD_MUX"; 1098 - regulator-min-microvolt = <12000000>; 1099 - regulator-max-microvolt = <12000000>; 1100 - regulator-always-on; 1101 - regulator-boot-on; 1102 - }; 1098 + vdd_5v0_sys: regulator@1 { 1099 + compatible = "regulator-fixed"; 1100 + regulator-name = "+5V_SYS"; 1101 + regulator-min-microvolt = <5000000>; 1102 + regulator-max-microvolt = <5000000>; 1103 + regulator-always-on; 1104 + regulator-boot-on; 1105 + vin-supply = <&vdd_mux>; 1106 + }; 1103 1107 1104 - vdd_5v0_sys: regulator@1 { 1105 - compatible = "regulator-fixed"; 1106 - reg = <1>; 1107 - regulator-name = "+5V_SYS"; 1108 - regulator-min-microvolt = <5000000>; 1109 - regulator-max-microvolt = <5000000>; 1110 - regulator-always-on; 1111 - regulator-boot-on; 1112 - vin-supply = <&vdd_mux>; 1113 - }; 1108 + vdd_3v3_sys: regulator@2 { 1109 + compatible = "regulator-fixed"; 1110 + regulator-name = "+3.3V_SYS"; 1111 + regulator-min-microvolt = <3300000>; 1112 + regulator-max-microvolt = <3300000>; 1113 + regulator-always-on; 1114 + regulator-boot-on; 1115 + vin-supply = <&vdd_mux>; 1116 + }; 1114 1117 1115 - vdd_3v3_sys: regulator@2 { 1116 - compatible = "regulator-fixed"; 1117 - reg = <2>; 1118 - regulator-name = "+3.3V_SYS"; 1119 - regulator-min-microvolt = <3300000>; 1120 - regulator-max-microvolt = <3300000>; 1121 - regulator-always-on; 1122 - regulator-boot-on; 1123 - vin-supply = <&vdd_mux>; 1124 - }; 1118 + vdd_3v3_run: regulator@3 { 1119 + compatible = "regulator-fixed"; 1120 + regulator-name = "+3.3V_RUN"; 1121 + regulator-min-microvolt = <3300000>; 1122 + regulator-max-microvolt = <3300000>; 1123 + regulator-always-on; 1124 + regulator-boot-on; 1125 + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 1126 + enable-active-high; 1127 + vin-supply = <&vdd_3v3_sys>; 1128 + }; 1125 1129 1126 - vdd_3v3_run: regulator@3 { 1127 - compatible = "regulator-fixed"; 1128 - reg = <3>; 1129 - regulator-name = "+3.3V_RUN"; 1130 - regulator-min-microvolt = <3300000>; 1131 - regulator-max-microvolt = <3300000>; 1132 - regulator-always-on; 1133 - regulator-boot-on; 1134 - gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 1135 - enable-active-high; 1136 - vin-supply = <&vdd_3v3_sys>; 1137 - }; 1130 + vdd_3v3_hdmi: regulator@4 { 1131 + compatible = "regulator-fixed"; 1132 + regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; 1133 + regulator-min-microvolt = <3300000>; 1134 + regulator-max-microvolt = <3300000>; 1135 + vin-supply = <&vdd_3v3_run>; 1136 + }; 1138 1137 1139 - vdd_3v3_hdmi: regulator@4 { 1140 - compatible = "regulator-fixed"; 1141 - reg = <4>; 1142 - regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; 1143 - regulator-min-microvolt = <3300000>; 1144 - regulator-max-microvolt = <3300000>; 1145 - vin-supply = <&vdd_3v3_run>; 1146 - }; 1138 + vdd_led: regulator@5 { 1139 + compatible = "regulator-fixed"; 1140 + regulator-name = "+VDD_LED"; 1141 + regulator-min-microvolt = <3300000>; 1142 + regulator-max-microvolt = <3300000>; 1143 + gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 1144 + enable-active-high; 1145 + vin-supply = <&vdd_mux>; 1146 + }; 1147 1147 1148 - vdd_led: regulator@5 { 1149 - compatible = "regulator-fixed"; 1150 - reg = <5>; 1151 - regulator-name = "+VDD_LED"; 1152 - regulator-min-microvolt = <3300000>; 1153 - regulator-max-microvolt = <3300000>; 1154 - gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 1155 - enable-active-high; 1156 - vin-supply = <&vdd_mux>; 1157 - }; 1148 + vdd_5v0_ts: regulator@6 { 1149 + compatible = "regulator-fixed"; 1150 + regulator-name = "+5V_VDD_TS_SW"; 1151 + regulator-min-microvolt = <5000000>; 1152 + regulator-max-microvolt = <5000000>; 1153 + regulator-boot-on; 1154 + gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 1155 + enable-active-high; 1156 + vin-supply = <&vdd_5v0_sys>; 1157 + }; 1158 1158 1159 - vdd_5v0_ts: regulator@6 { 1160 - compatible = "regulator-fixed"; 1161 - reg = <6>; 1162 - regulator-name = "+5V_VDD_TS_SW"; 1163 - regulator-min-microvolt = <5000000>; 1164 - regulator-max-microvolt = <5000000>; 1165 - regulator-boot-on; 1166 - gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 1167 - enable-active-high; 1168 - vin-supply = <&vdd_5v0_sys>; 1169 - }; 1159 + vdd_usb1_vbus: regulator@7 { 1160 + compatible = "regulator-fixed"; 1161 + regulator-name = "+5V_USB_HS"; 1162 + regulator-min-microvolt = <5000000>; 1163 + regulator-max-microvolt = <5000000>; 1164 + gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 1165 + enable-active-high; 1166 + gpio-open-drain; 1167 + vin-supply = <&vdd_5v0_sys>; 1168 + }; 1170 1169 1171 - vdd_usb1_vbus: regulator@7 { 1172 - compatible = "regulator-fixed"; 1173 - reg = <7>; 1174 - regulator-name = "+5V_USB_HS"; 1175 - regulator-min-microvolt = <5000000>; 1176 - regulator-max-microvolt = <5000000>; 1177 - gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 1178 - enable-active-high; 1179 - gpio-open-drain; 1180 - vin-supply = <&vdd_5v0_sys>; 1181 - }; 1170 + vdd_usb3_vbus: regulator@8 { 1171 + compatible = "regulator-fixed"; 1172 + regulator-name = "+5V_USB_SS"; 1173 + regulator-min-microvolt = <5000000>; 1174 + regulator-max-microvolt = <5000000>; 1175 + gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 1176 + enable-active-high; 1177 + gpio-open-drain; 1178 + vin-supply = <&vdd_5v0_sys>; 1179 + }; 1182 1180 1183 - vdd_usb3_vbus: regulator@8 { 1184 - compatible = "regulator-fixed"; 1185 - reg = <8>; 1186 - regulator-name = "+5V_USB_SS"; 1187 - regulator-min-microvolt = <5000000>; 1188 - regulator-max-microvolt = <5000000>; 1189 - gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 1190 - enable-active-high; 1191 - gpio-open-drain; 1192 - vin-supply = <&vdd_5v0_sys>; 1193 - }; 1181 + vdd_3v3_panel: regulator@9 { 1182 + compatible = "regulator-fixed"; 1183 + regulator-name = "+3.3V_PANEL"; 1184 + regulator-min-microvolt = <3300000>; 1185 + regulator-max-microvolt = <3300000>; 1186 + gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; 1187 + enable-active-high; 1188 + vin-supply = <&vdd_3v3_run>; 1189 + }; 1194 1190 1195 - vdd_3v3_panel: regulator@9 { 1196 - compatible = "regulator-fixed"; 1197 - reg = <9>; 1198 - regulator-name = "+3.3V_PANEL"; 1199 - regulator-min-microvolt = <3300000>; 1200 - regulator-max-microvolt = <3300000>; 1201 - gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; 1202 - enable-active-high; 1203 - vin-supply = <&vdd_3v3_run>; 1204 - }; 1191 + vdd_3v3_lp0: regulator@10 { 1192 + compatible = "regulator-fixed"; 1193 + regulator-name = "+3.3V_LP0"; 1194 + regulator-min-microvolt = <3300000>; 1195 + regulator-max-microvolt = <3300000>; 1196 + /* 1197 + * TODO: find a way to wire this up with the USB EHCI 1198 + * controllers so that it can be enabled on demand. 1199 + */ 1200 + regulator-always-on; 1201 + gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 1202 + enable-active-high; 1203 + vin-supply = <&vdd_3v3_sys>; 1204 + }; 1205 1205 1206 - vdd_3v3_lp0: regulator@10 { 1207 - compatible = "regulator-fixed"; 1208 - reg = <10>; 1209 - regulator-name = "+3.3V_LP0"; 1210 - regulator-min-microvolt = <3300000>; 1211 - regulator-max-microvolt = <3300000>; 1212 - /* 1213 - * TODO: find a way to wire this up with the USB EHCI 1214 - * controllers so that it can be enabled on demand. 1215 - */ 1216 - regulator-always-on; 1217 - gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 1218 - enable-active-high; 1219 - vin-supply = <&vdd_3v3_sys>; 1220 - }; 1206 + vdd_hdmi_pll: regulator@11 { 1207 + compatible = "regulator-fixed"; 1208 + regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; 1209 + regulator-min-microvolt = <1050000>; 1210 + regulator-max-microvolt = <1050000>; 1211 + gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 1212 + vin-supply = <&vdd_1v05_run>; 1213 + }; 1221 1214 1222 - vdd_hdmi_pll: regulator@11 { 1223 - compatible = "regulator-fixed"; 1224 - reg = <11>; 1225 - regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; 1226 - regulator-min-microvolt = <1050000>; 1227 - regulator-max-microvolt = <1050000>; 1228 - gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 1229 - vin-supply = <&vdd_1v05_run>; 1230 - }; 1231 - 1232 - vdd_5v0_hdmi: regulator@12 { 1233 - compatible = "regulator-fixed"; 1234 - reg = <12>; 1235 - regulator-name = "+5V_HDMI_CON"; 1236 - regulator-min-microvolt = <5000000>; 1237 - regulator-max-microvolt = <5000000>; 1238 - gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 1239 - enable-active-high; 1240 - vin-supply = <&vdd_5v0_sys>; 1241 - }; 1215 + vdd_5v0_hdmi: regulator@12 { 1216 + compatible = "regulator-fixed"; 1217 + regulator-name = "+5V_HDMI_CON"; 1218 + regulator-min-microvolt = <5000000>; 1219 + regulator-max-microvolt = <5000000>; 1220 + gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 1221 + enable-active-high; 1222 + vin-supply = <&vdd_5v0_sys>; 1242 1223 }; 1243 1224 1244 1225 sound {
+54 -67
arch/arm/boot/dts/tegra20-harmony.dts
··· 666 666 backlight = <&backlight>; 667 667 }; 668 668 669 - regulators { 670 - compatible = "simple-bus"; 671 - #address-cells = <1>; 672 - #size-cells = <0>; 669 + vdd_5v0_reg: regulator@0 { 670 + compatible = "regulator-fixed"; 671 + regulator-name = "vdd_5v0"; 672 + regulator-min-microvolt = <5000000>; 673 + regulator-max-microvolt = <5000000>; 674 + regulator-always-on; 675 + }; 673 676 674 - vdd_5v0_reg: regulator@0 { 675 - compatible = "regulator-fixed"; 676 - reg = <0>; 677 - regulator-name = "vdd_5v0"; 678 - regulator-min-microvolt = <5000000>; 679 - regulator-max-microvolt = <5000000>; 680 - regulator-always-on; 681 - }; 677 + regulator@1 { 678 + compatible = "regulator-fixed"; 679 + regulator-name = "vdd_1v5"; 680 + regulator-min-microvolt = <1500000>; 681 + regulator-max-microvolt = <1500000>; 682 + gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 683 + }; 682 684 683 - regulator@1 { 684 - compatible = "regulator-fixed"; 685 - reg = <1>; 686 - regulator-name = "vdd_1v5"; 687 - regulator-min-microvolt = <1500000>; 688 - regulator-max-microvolt = <1500000>; 689 - gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 690 - }; 685 + regulator@2 { 686 + compatible = "regulator-fixed"; 687 + regulator-name = "vdd_1v2"; 688 + regulator-min-microvolt = <1200000>; 689 + regulator-max-microvolt = <1200000>; 690 + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 691 + enable-active-high; 692 + }; 691 693 692 - regulator@2 { 693 - compatible = "regulator-fixed"; 694 - reg = <2>; 695 - regulator-name = "vdd_1v2"; 696 - regulator-min-microvolt = <1200000>; 697 - regulator-max-microvolt = <1200000>; 698 - gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 699 - enable-active-high; 700 - }; 694 + pci_vdd_reg: regulator@3 { 695 + compatible = "regulator-fixed"; 696 + regulator-name = "vdd_1v05"; 697 + regulator-min-microvolt = <1050000>; 698 + regulator-max-microvolt = <1050000>; 699 + gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 700 + enable-active-high; 701 + }; 701 702 702 - pci_vdd_reg: regulator@3 { 703 - compatible = "regulator-fixed"; 704 - reg = <3>; 705 - regulator-name = "vdd_1v05"; 706 - regulator-min-microvolt = <1050000>; 707 - regulator-max-microvolt = <1050000>; 708 - gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 709 - enable-active-high; 710 - }; 703 + vdd_pnl_reg: regulator@4 { 704 + compatible = "regulator-fixed"; 705 + regulator-name = "vdd_pnl"; 706 + regulator-min-microvolt = <2800000>; 707 + regulator-max-microvolt = <2800000>; 708 + gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; 709 + enable-active-high; 710 + }; 711 711 712 - vdd_pnl_reg: regulator@4 { 713 - compatible = "regulator-fixed"; 714 - reg = <4>; 715 - regulator-name = "vdd_pnl"; 716 - regulator-min-microvolt = <2800000>; 717 - regulator-max-microvolt = <2800000>; 718 - gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; 719 - enable-active-high; 720 - }; 712 + vdd_bl_reg: regulator@5 { 713 + compatible = "regulator-fixed"; 714 + regulator-name = "vdd_bl"; 715 + regulator-min-microvolt = <2800000>; 716 + regulator-max-microvolt = <2800000>; 717 + gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; 718 + enable-active-high; 719 + }; 721 720 722 - vdd_bl_reg: regulator@5 { 723 - compatible = "regulator-fixed"; 724 - reg = <5>; 725 - regulator-name = "vdd_bl"; 726 - regulator-min-microvolt = <2800000>; 727 - regulator-max-microvolt = <2800000>; 728 - gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; 729 - enable-active-high; 730 - }; 731 - 732 - vdd_5v0_hdmi: regulator@6 { 733 - compatible = "regulator-fixed"; 734 - reg = <6>; 735 - regulator-name = "VDDIO_HDMI"; 736 - regulator-min-microvolt = <5000000>; 737 - regulator-max-microvolt = <5000000>; 738 - gpio = <&gpio TEGRA_GPIO(T, 2) GPIO_ACTIVE_HIGH>; 739 - enable-active-high; 740 - vin-supply = <&vdd_5v0_reg>; 741 - }; 721 + vdd_5v0_hdmi: regulator@6 { 722 + compatible = "regulator-fixed"; 723 + regulator-name = "VDDIO_HDMI"; 724 + regulator-min-microvolt = <5000000>; 725 + regulator-max-microvolt = <5000000>; 726 + gpio = <&gpio TEGRA_GPIO(T, 2) GPIO_ACTIVE_HIGH>; 727 + enable-active-high; 728 + vin-supply = <&vdd_5v0_reg>; 742 729 }; 743 730 744 731 sound {
+30 -36
arch/arm/boot/dts/tegra20-medcom-wide.dts
··· 92 92 clock-names = "pll_a", "pll_a_out0", "mclk"; 93 93 }; 94 94 95 - regulators { 96 - vcc_24v_reg: regulator@100 { 97 - compatible = "regulator-fixed"; 98 - reg = <100>; 99 - regulator-name = "vcc_24v"; 100 - regulator-min-microvolt = <24000000>; 101 - regulator-max-microvolt = <24000000>; 102 - regulator-always-on; 103 - }; 95 + vcc_24v_reg: regulator@100 { 96 + compatible = "regulator-fixed"; 97 + regulator-name = "vcc_24v"; 98 + regulator-min-microvolt = <24000000>; 99 + regulator-max-microvolt = <24000000>; 100 + regulator-always-on; 101 + }; 104 102 105 - vdd_5v0_reg: regulator@101 { 106 - compatible = "regulator-fixed"; 107 - reg = <101>; 108 - regulator-name = "vdd_5v0"; 109 - vin-supply = <&vcc_24v_reg>; 110 - regulator-min-microvolt = <5000000>; 111 - regulator-max-microvolt = <5000000>; 112 - regulator-always-on; 113 - }; 103 + vdd_5v0_reg: regulator@101 { 104 + compatible = "regulator-fixed"; 105 + regulator-name = "vdd_5v0"; 106 + vin-supply = <&vcc_24v_reg>; 107 + regulator-min-microvolt = <5000000>; 108 + regulator-max-microvolt = <5000000>; 109 + regulator-always-on; 110 + }; 114 111 115 - vdd_3v3_reg: regulator@102 { 116 - compatible = "regulator-fixed"; 117 - reg = <102>; 118 - regulator-name = "vdd_3v3"; 119 - vin-supply = <&vcc_24v_reg>; 120 - regulator-min-microvolt = <3300000>; 121 - regulator-max-microvolt = <3300000>; 122 - regulator-always-on; 123 - }; 112 + vdd_3v3_reg: regulator@102 { 113 + compatible = "regulator-fixed"; 114 + regulator-name = "vdd_3v3"; 115 + vin-supply = <&vcc_24v_reg>; 116 + regulator-min-microvolt = <3300000>; 117 + regulator-max-microvolt = <3300000>; 118 + regulator-always-on; 119 + }; 124 120 125 - vdd_1v8_reg: regulator@103 { 126 - compatible = "regulator-fixed"; 127 - reg = <103>; 128 - regulator-name = "vdd_1v8"; 129 - vin-supply = <&vdd_3v3_reg>; 130 - regulator-min-microvolt = <1800000>; 131 - regulator-max-microvolt = <1800000>; 132 - regulator-always-on; 133 - }; 121 + vdd_1v8_reg: regulator@103 { 122 + compatible = "regulator-fixed"; 123 + regulator-name = "vdd_1v8"; 124 + vin-supply = <&vdd_3v3_reg>; 125 + regulator-min-microvolt = <1800000>; 126 + regulator-max-microvolt = <1800000>; 127 + regulator-always-on; 134 128 }; 135 129 };
+15 -23
arch/arm/boot/dts/tegra20-paz00.dts
··· 606 606 backlight = <&backlight>; 607 607 }; 608 608 609 - regulators { 610 - compatible = "simple-bus"; 611 - #address-cells = <1>; 612 - #size-cells = <0>; 609 + p5valw_reg: regulator@0 { 610 + compatible = "regulator-fixed"; 611 + regulator-name = "+5valw"; 612 + regulator-min-microvolt = <5000000>; 613 + regulator-max-microvolt = <5000000>; 614 + regulator-always-on; 615 + }; 613 616 614 - p5valw_reg: regulator@0 { 615 - compatible = "regulator-fixed"; 616 - reg = <0>; 617 - regulator-name = "+5valw"; 618 - regulator-min-microvolt = <5000000>; 619 - regulator-max-microvolt = <5000000>; 620 - regulator-always-on; 621 - }; 622 - 623 - vdd_pnl_reg: regulator@1 { 624 - compatible = "regulator-fixed"; 625 - reg = <1>; 626 - regulator-name = "+3VS,vdd_pnl"; 627 - regulator-min-microvolt = <3300000>; 628 - regulator-max-microvolt = <3300000>; 629 - regulator-boot-on; 630 - gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>; 631 - enable-active-high; 632 - }; 617 + vdd_pnl_reg: regulator@1 { 618 + compatible = "regulator-fixed"; 619 + regulator-name = "+3VS,vdd_pnl"; 620 + regulator-min-microvolt = <3300000>; 621 + regulator-max-microvolt = <3300000>; 622 + regulator-boot-on; 623 + gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>; 624 + enable-active-high; 633 625 }; 634 626 635 627 sound {
+30 -36
arch/arm/boot/dts/tegra20-plutux.dts
··· 60 60 clock-names = "pll_a", "pll_a_out0", "mclk"; 61 61 }; 62 62 63 - regulators { 64 - vcc_24v_reg: regulator@100 { 65 - compatible = "regulator-fixed"; 66 - reg = <100>; 67 - regulator-name = "vcc_24v"; 68 - regulator-min-microvolt = <24000000>; 69 - regulator-max-microvolt = <24000000>; 70 - regulator-always-on; 71 - }; 63 + vcc_24v_reg: regulator@100 { 64 + compatible = "regulator-fixed"; 65 + regulator-name = "vcc_24v"; 66 + regulator-min-microvolt = <24000000>; 67 + regulator-max-microvolt = <24000000>; 68 + regulator-always-on; 69 + }; 72 70 73 - vdd_5v0_reg: regulator@101 { 74 - compatible = "regulator-fixed"; 75 - reg = <101>; 76 - regulator-name = "vdd_5v0"; 77 - vin-supply = <&vcc_24v_reg>; 78 - regulator-min-microvolt = <5000000>; 79 - regulator-max-microvolt = <5000000>; 80 - regulator-always-on; 81 - }; 71 + vdd_5v0_reg: regulator@101 { 72 + compatible = "regulator-fixed"; 73 + regulator-name = "vdd_5v0"; 74 + vin-supply = <&vcc_24v_reg>; 75 + regulator-min-microvolt = <5000000>; 76 + regulator-max-microvolt = <5000000>; 77 + regulator-always-on; 78 + }; 82 79 83 - vdd_3v3_reg: regulator@102 { 84 - compatible = "regulator-fixed"; 85 - reg = <102>; 86 - regulator-name = "vdd_3v3"; 87 - vin-supply = <&vcc_24v_reg>; 88 - regulator-min-microvolt = <3300000>; 89 - regulator-max-microvolt = <3300000>; 90 - regulator-always-on; 91 - }; 80 + vdd_3v3_reg: regulator@102 { 81 + compatible = "regulator-fixed"; 82 + regulator-name = "vdd_3v3"; 83 + vin-supply = <&vcc_24v_reg>; 84 + regulator-min-microvolt = <3300000>; 85 + regulator-max-microvolt = <3300000>; 86 + regulator-always-on; 87 + }; 92 88 93 - vdd_1v8_reg: regulator@103 { 94 - compatible = "regulator-fixed"; 95 - reg = <103>; 96 - regulator-name = "vdd_1v8"; 97 - vin-supply = <&vdd_3v3_reg>; 98 - regulator-min-microvolt = <1800000>; 99 - regulator-max-microvolt = <1800000>; 100 - regulator-always-on; 101 - }; 89 + vdd_1v8_reg: regulator@103 { 90 + compatible = "regulator-fixed"; 91 + regulator-name = "vdd_1v8"; 92 + vin-supply = <&vdd_3v3_reg>; 93 + regulator-min-microvolt = <1800000>; 94 + regulator-max-microvolt = <1800000>; 95 + regulator-always-on; 102 96 }; 103 97 };
+56 -69
arch/arm/boot/dts/tegra20-seaboard.dts
··· 828 828 ddc-i2c-bus = <&lvds_ddc>; 829 829 }; 830 830 831 - regulators { 832 - compatible = "simple-bus"; 833 - #address-cells = <1>; 834 - #size-cells = <0>; 831 + vdd_5v0_reg: regulator@0 { 832 + compatible = "regulator-fixed"; 833 + regulator-name = "vdd_5v0"; 834 + regulator-min-microvolt = <5000000>; 835 + regulator-max-microvolt = <5000000>; 836 + regulator-always-on; 837 + }; 835 838 836 - vdd_5v0_reg: regulator@0 { 837 - compatible = "regulator-fixed"; 838 - reg = <0>; 839 - regulator-name = "vdd_5v0"; 840 - regulator-min-microvolt = <5000000>; 841 - regulator-max-microvolt = <5000000>; 842 - regulator-always-on; 843 - }; 839 + regulator@1 { 840 + compatible = "regulator-fixed"; 841 + regulator-name = "vdd_1v5"; 842 + regulator-min-microvolt = <1500000>; 843 + regulator-max-microvolt = <1500000>; 844 + gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 845 + }; 844 846 845 - regulator@1 { 846 - compatible = "regulator-fixed"; 847 - reg = <1>; 848 - regulator-name = "vdd_1v5"; 849 - regulator-min-microvolt = <1500000>; 850 - regulator-max-microvolt = <1500000>; 851 - gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 852 - }; 847 + regulator@2 { 848 + compatible = "regulator-fixed"; 849 + regulator-name = "vdd_1v2"; 850 + regulator-min-microvolt = <1200000>; 851 + regulator-max-microvolt = <1200000>; 852 + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 853 + enable-active-high; 854 + }; 853 855 854 - regulator@2 { 855 - compatible = "regulator-fixed"; 856 - reg = <2>; 857 - regulator-name = "vdd_1v2"; 858 - regulator-min-microvolt = <1200000>; 859 - regulator-max-microvolt = <1200000>; 860 - gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 861 - enable-active-high; 862 - }; 856 + vbus_reg: regulator@3 { 857 + compatible = "regulator-fixed"; 858 + regulator-name = "vdd_vbus_wup1"; 859 + regulator-min-microvolt = <5000000>; 860 + regulator-max-microvolt = <5000000>; 861 + enable-active-high; 862 + gpio = <&gpio TEGRA_GPIO(D, 0) 0>; 863 + regulator-always-on; 864 + regulator-boot-on; 865 + }; 863 866 864 - vbus_reg: regulator@3 { 865 - compatible = "regulator-fixed"; 866 - reg = <3>; 867 - regulator-name = "vdd_vbus_wup1"; 868 - regulator-min-microvolt = <5000000>; 869 - regulator-max-microvolt = <5000000>; 870 - enable-active-high; 871 - gpio = <&gpio TEGRA_GPIO(D, 0) 0>; 872 - regulator-always-on; 873 - regulator-boot-on; 874 - }; 867 + vdd_pnl_reg: regulator@4 { 868 + compatible = "regulator-fixed"; 869 + regulator-name = "vdd_pnl"; 870 + regulator-min-microvolt = <2800000>; 871 + regulator-max-microvolt = <2800000>; 872 + gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; 873 + enable-active-high; 874 + }; 875 875 876 - vdd_pnl_reg: regulator@4 { 877 - compatible = "regulator-fixed"; 878 - reg = <4>; 879 - regulator-name = "vdd_pnl"; 880 - regulator-min-microvolt = <2800000>; 881 - regulator-max-microvolt = <2800000>; 882 - gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; 883 - enable-active-high; 884 - }; 876 + vdd_bl_reg: regulator@5 { 877 + compatible = "regulator-fixed"; 878 + regulator-name = "vdd_bl"; 879 + regulator-min-microvolt = <2800000>; 880 + regulator-max-microvolt = <2800000>; 881 + gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; 882 + enable-active-high; 883 + }; 885 884 886 - vdd_bl_reg: regulator@5 { 887 - compatible = "regulator-fixed"; 888 - reg = <5>; 889 - regulator-name = "vdd_bl"; 890 - regulator-min-microvolt = <2800000>; 891 - regulator-max-microvolt = <2800000>; 892 - gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; 893 - enable-active-high; 894 - }; 895 - 896 - vdd_hdmi: regulator@6 { 897 - compatible = "regulator-fixed"; 898 - reg = <6>; 899 - regulator-name = "VDDIO_HDMI"; 900 - regulator-min-microvolt = <5000000>; 901 - regulator-max-microvolt = <5000000>; 902 - gpio = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>; 903 - enable-active-high; 904 - vin-supply = <&vdd_5v0_reg>; 905 - }; 885 + vdd_hdmi: regulator@6 { 886 + compatible = "regulator-fixed"; 887 + regulator-name = "VDDIO_HDMI"; 888 + regulator-min-microvolt = <5000000>; 889 + regulator-max-microvolt = <5000000>; 890 + gpio = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>; 891 + enable-active-high; 892 + vin-supply = <&vdd_5v0_reg>; 906 893 }; 907 894 908 895 sound {
+7 -15
arch/arm/boot/dts/tegra20-tamonten.dtsi
··· 508 508 #clock-cells = <0>; 509 509 }; 510 510 511 - regulators { 512 - compatible = "simple-bus"; 513 - 514 - #address-cells = <1>; 515 - #size-cells = <0>; 516 - 517 - pci_vdd_reg: regulator@1 { 518 - compatible = "regulator-fixed"; 519 - reg = <1>; 520 - regulator-name = "vdd_1v05"; 521 - regulator-min-microvolt = <1050000>; 522 - regulator-max-microvolt = <1050000>; 523 - gpio = <&pmic 2 0>; 524 - enable-active-high; 525 - }; 511 + pci_vdd_reg: regulator@1 { 512 + compatible = "regulator-fixed"; 513 + regulator-name = "vdd_1v05"; 514 + regulator-min-microvolt = <1050000>; 515 + regulator-max-microvolt = <1050000>; 516 + gpio = <&pmic 2 0>; 517 + enable-active-high; 526 518 }; 527 519 };
+30 -36
arch/arm/boot/dts/tegra20-tec.dts
··· 69 69 clock-names = "pll_a", "pll_a_out0", "mclk"; 70 70 }; 71 71 72 - regulators { 73 - vcc_24v_reg: regulator@100 { 74 - compatible = "regulator-fixed"; 75 - reg = <100>; 76 - regulator-name = "vcc_24v"; 77 - regulator-min-microvolt = <24000000>; 78 - regulator-max-microvolt = <24000000>; 79 - regulator-always-on; 80 - }; 72 + vcc_24v_reg: regulator@100 { 73 + compatible = "regulator-fixed"; 74 + regulator-name = "vcc_24v"; 75 + regulator-min-microvolt = <24000000>; 76 + regulator-max-microvolt = <24000000>; 77 + regulator-always-on; 78 + }; 81 79 82 - vdd_5v0_reg: regulator@101 { 83 - compatible = "regulator-fixed"; 84 - reg = <101>; 85 - regulator-name = "vdd_5v0"; 86 - vin-supply = <&vcc_24v_reg>; 87 - regulator-min-microvolt = <5000000>; 88 - regulator-max-microvolt = <5000000>; 89 - regulator-always-on; 90 - }; 80 + vdd_5v0_reg: regulator@101 { 81 + compatible = "regulator-fixed"; 82 + regulator-name = "vdd_5v0"; 83 + vin-supply = <&vcc_24v_reg>; 84 + regulator-min-microvolt = <5000000>; 85 + regulator-max-microvolt = <5000000>; 86 + regulator-always-on; 87 + }; 91 88 92 - vdd_3v3_reg: regulator@102 { 93 - compatible = "regulator-fixed"; 94 - reg = <102>; 95 - regulator-name = "vdd_3v3"; 96 - vin-supply = <&vcc_24v_reg>; 97 - regulator-min-microvolt = <3300000>; 98 - regulator-max-microvolt = <3300000>; 99 - regulator-always-on; 100 - }; 89 + vdd_3v3_reg: regulator@102 { 90 + compatible = "regulator-fixed"; 91 + regulator-name = "vdd_3v3"; 92 + vin-supply = <&vcc_24v_reg>; 93 + regulator-min-microvolt = <3300000>; 94 + regulator-max-microvolt = <3300000>; 95 + regulator-always-on; 96 + }; 101 97 102 - vdd_1v8_reg: regulator@103 { 103 - compatible = "regulator-fixed"; 104 - reg = <103>; 105 - regulator-name = "vdd_1v8"; 106 - vin-supply = <&vdd_3v3_reg>; 107 - regulator-min-microvolt = <1800000>; 108 - regulator-max-microvolt = <1800000>; 109 - regulator-always-on; 110 - }; 98 + vdd_1v8_reg: regulator@103 { 99 + compatible = "regulator-fixed"; 100 + regulator-name = "vdd_1v8"; 101 + vin-supply = <&vdd_3v3_reg>; 102 + regulator-min-microvolt = <1800000>; 103 + regulator-max-microvolt = <1800000>; 104 + regulator-always-on; 111 105 }; 112 106 };
+37 -48
arch/arm/boot/dts/tegra20-trimslice.dts
··· 401 401 gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>; 402 402 }; 403 403 404 - regulators { 405 - compatible = "simple-bus"; 406 - #address-cells = <1>; 407 - #size-cells = <0>; 404 + hdmi_vdd_reg: regulator@0 { 405 + compatible = "regulator-fixed"; 406 + regulator-name = "avdd_hdmi"; 407 + regulator-min-microvolt = <3300000>; 408 + regulator-max-microvolt = <3300000>; 409 + regulator-always-on; 410 + }; 408 411 409 - hdmi_vdd_reg: regulator@0 { 410 - compatible = "regulator-fixed"; 411 - reg = <0>; 412 - regulator-name = "avdd_hdmi"; 413 - regulator-min-microvolt = <3300000>; 414 - regulator-max-microvolt = <3300000>; 415 - regulator-always-on; 416 - }; 412 + hdmi_pll_reg: regulator@1 { 413 + compatible = "regulator-fixed"; 414 + regulator-name = "avdd_hdmi_pll"; 415 + regulator-min-microvolt = <1800000>; 416 + regulator-max-microvolt = <1800000>; 417 + regulator-always-on; 418 + }; 417 419 418 - hdmi_pll_reg: regulator@1 { 419 - compatible = "regulator-fixed"; 420 - reg = <1>; 421 - regulator-name = "avdd_hdmi_pll"; 422 - regulator-min-microvolt = <1800000>; 423 - regulator-max-microvolt = <1800000>; 424 - regulator-always-on; 425 - }; 420 + vbus_reg: regulator@2 { 421 + compatible = "regulator-fixed"; 422 + regulator-name = "usb1_vbus"; 423 + regulator-min-microvolt = <5000000>; 424 + regulator-max-microvolt = <5000000>; 425 + enable-active-high; 426 + gpio = <&gpio TEGRA_GPIO(V, 2) 0>; 427 + regulator-always-on; 428 + regulator-boot-on; 429 + }; 426 430 427 - vbus_reg: regulator@2 { 428 - compatible = "regulator-fixed"; 429 - reg = <2>; 430 - regulator-name = "usb1_vbus"; 431 - regulator-min-microvolt = <5000000>; 432 - regulator-max-microvolt = <5000000>; 433 - enable-active-high; 434 - gpio = <&gpio TEGRA_GPIO(V, 2) 0>; 435 - regulator-always-on; 436 - regulator-boot-on; 437 - }; 431 + pci_clk_reg: regulator@3 { 432 + compatible = "regulator-fixed"; 433 + regulator-name = "pci_clk"; 434 + regulator-min-microvolt = <3300000>; 435 + regulator-max-microvolt = <3300000>; 436 + regulator-always-on; 437 + }; 438 438 439 - pci_clk_reg: regulator@3 { 440 - compatible = "regulator-fixed"; 441 - reg = <3>; 442 - regulator-name = "pci_clk"; 443 - regulator-min-microvolt = <3300000>; 444 - regulator-max-microvolt = <3300000>; 445 - regulator-always-on; 446 - }; 447 - 448 - pci_vdd_reg: regulator@4 { 449 - compatible = "regulator-fixed"; 450 - reg = <4>; 451 - regulator-name = "pci_vdd"; 452 - regulator-min-microvolt = <1050000>; 453 - regulator-max-microvolt = <1050000>; 454 - regulator-always-on; 455 - }; 439 + pci_vdd_reg: regulator@4 { 440 + compatible = "regulator-fixed"; 441 + regulator-name = "pci_vdd"; 442 + regulator-min-microvolt = <1050000>; 443 + regulator-max-microvolt = <1050000>; 444 + regulator-always-on; 456 445 }; 457 446 458 447 sound {
+37 -48
arch/arm/boot/dts/tegra20-ventana.dts
··· 613 613 ddc-i2c-bus = <&lvds_ddc>; 614 614 }; 615 615 616 - regulators { 617 - compatible = "simple-bus"; 618 - #address-cells = <1>; 619 - #size-cells = <0>; 616 + vdd_5v0_reg: regulator@0 { 617 + compatible = "regulator-fixed"; 618 + regulator-name = "vdd_5v0"; 619 + regulator-min-microvolt = <5000000>; 620 + regulator-max-microvolt = <5000000>; 621 + regulator-always-on; 622 + }; 620 623 621 - vdd_5v0_reg: regulator@0 { 622 - compatible = "regulator-fixed"; 623 - reg = <0>; 624 - regulator-name = "vdd_5v0"; 625 - regulator-min-microvolt = <5000000>; 626 - regulator-max-microvolt = <5000000>; 627 - regulator-always-on; 628 - }; 624 + regulator@1 { 625 + compatible = "regulator-fixed"; 626 + regulator-name = "vdd_1v5"; 627 + regulator-min-microvolt = <1500000>; 628 + regulator-max-microvolt = <1500000>; 629 + gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 630 + }; 629 631 630 - regulator@1 { 631 - compatible = "regulator-fixed"; 632 - reg = <1>; 633 - regulator-name = "vdd_1v5"; 634 - regulator-min-microvolt = <1500000>; 635 - regulator-max-microvolt = <1500000>; 636 - gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 637 - }; 632 + regulator@2 { 633 + compatible = "regulator-fixed"; 634 + regulator-name = "vdd_1v2"; 635 + regulator-min-microvolt = <1200000>; 636 + regulator-max-microvolt = <1200000>; 637 + gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 638 + enable-active-high; 639 + }; 638 640 639 - regulator@2 { 640 - compatible = "regulator-fixed"; 641 - reg = <2>; 642 - regulator-name = "vdd_1v2"; 643 - regulator-min-microvolt = <1200000>; 644 - regulator-max-microvolt = <1200000>; 645 - gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 646 - enable-active-high; 647 - }; 641 + vdd_pnl_reg: regulator@3 { 642 + compatible = "regulator-fixed"; 643 + regulator-name = "vdd_pnl"; 644 + regulator-min-microvolt = <2800000>; 645 + regulator-max-microvolt = <2800000>; 646 + gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; 647 + enable-active-high; 648 + }; 648 649 649 - vdd_pnl_reg: regulator@3 { 650 - compatible = "regulator-fixed"; 651 - reg = <3>; 652 - regulator-name = "vdd_pnl"; 653 - regulator-min-microvolt = <2800000>; 654 - regulator-max-microvolt = <2800000>; 655 - gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>; 656 - enable-active-high; 657 - }; 658 - 659 - vdd_bl_reg: regulator@4 { 660 - compatible = "regulator-fixed"; 661 - reg = <4>; 662 - regulator-name = "vdd_bl"; 663 - regulator-min-microvolt = <2800000>; 664 - regulator-max-microvolt = <2800000>; 665 - gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; 666 - enable-active-high; 667 - }; 650 + vdd_bl_reg: regulator@4 { 651 + compatible = "regulator-fixed"; 652 + regulator-name = "vdd_bl"; 653 + regulator-min-microvolt = <2800000>; 654 + regulator-max-microvolt = <2800000>; 655 + gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; 656 + enable-active-high; 668 657 }; 669 658 670 659 sound {
+89 -104
arch/arm/boot/dts/tegra30-beaver.dts
··· 1984 1984 }; 1985 1985 }; 1986 1986 1987 - regulators { 1988 - compatible = "simple-bus"; 1989 - #address-cells = <1>; 1990 - #size-cells = <0>; 1987 + vdd_5v_in_reg: regulator@0 { 1988 + compatible = "regulator-fixed"; 1989 + regulator-name = "vdd_5v_in"; 1990 + regulator-min-microvolt = <5000000>; 1991 + regulator-max-microvolt = <5000000>; 1992 + regulator-always-on; 1993 + }; 1991 1994 1992 - vdd_5v_in_reg: regulator@0 { 1993 - compatible = "regulator-fixed"; 1994 - reg = <0>; 1995 - regulator-name = "vdd_5v_in"; 1996 - regulator-min-microvolt = <5000000>; 1997 - regulator-max-microvolt = <5000000>; 1998 - regulator-always-on; 1999 - }; 1995 + chargepump_5v_reg: regulator@1 { 1996 + compatible = "regulator-fixed"; 1997 + regulator-name = "chargepump_5v"; 1998 + regulator-min-microvolt = <5000000>; 1999 + regulator-max-microvolt = <5000000>; 2000 + regulator-boot-on; 2001 + regulator-always-on; 2002 + enable-active-high; 2003 + gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 2004 + }; 2000 2005 2001 - chargepump_5v_reg: regulator@1 { 2002 - compatible = "regulator-fixed"; 2003 - reg = <1>; 2004 - regulator-name = "chargepump_5v"; 2005 - regulator-min-microvolt = <5000000>; 2006 - regulator-max-microvolt = <5000000>; 2007 - regulator-boot-on; 2008 - regulator-always-on; 2009 - enable-active-high; 2010 - gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 2011 - }; 2006 + ddr_reg: regulator@2 { 2007 + compatible = "regulator-fixed"; 2008 + regulator-name = "vdd_ddr"; 2009 + regulator-min-microvolt = <1500000>; 2010 + regulator-max-microvolt = <1500000>; 2011 + regulator-always-on; 2012 + regulator-boot-on; 2013 + enable-active-high; 2014 + gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; 2015 + vin-supply = <&vdd_5v_in_reg>; 2016 + }; 2012 2017 2013 - ddr_reg: regulator@2 { 2014 - compatible = "regulator-fixed"; 2015 - reg = <2>; 2016 - regulator-name = "vdd_ddr"; 2017 - regulator-min-microvolt = <1500000>; 2018 - regulator-max-microvolt = <1500000>; 2019 - regulator-always-on; 2020 - regulator-boot-on; 2021 - enable-active-high; 2022 - gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; 2023 - vin-supply = <&vdd_5v_in_reg>; 2024 - }; 2018 + vdd_5v_sata_reg: regulator@3 { 2019 + compatible = "regulator-fixed"; 2020 + regulator-name = "vdd_5v_sata"; 2021 + regulator-min-microvolt = <5000000>; 2022 + regulator-max-microvolt = <5000000>; 2023 + regulator-always-on; 2024 + regulator-boot-on; 2025 + enable-active-high; 2026 + gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>; 2027 + vin-supply = <&vdd_5v_in_reg>; 2028 + }; 2025 2029 2026 - vdd_5v_sata_reg: regulator@3 { 2027 - compatible = "regulator-fixed"; 2028 - reg = <3>; 2029 - regulator-name = "vdd_5v_sata"; 2030 - regulator-min-microvolt = <5000000>; 2031 - regulator-max-microvolt = <5000000>; 2032 - regulator-always-on; 2033 - regulator-boot-on; 2034 - enable-active-high; 2035 - gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>; 2036 - vin-supply = <&vdd_5v_in_reg>; 2037 - }; 2030 + usb1_vbus_reg: regulator@4 { 2031 + compatible = "regulator-fixed"; 2032 + regulator-name = "usb1_vbus"; 2033 + regulator-min-microvolt = <5000000>; 2034 + regulator-max-microvolt = <5000000>; 2035 + enable-active-high; 2036 + gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; 2037 + gpio-open-drain; 2038 + vin-supply = <&vdd_5v_in_reg>; 2039 + }; 2038 2040 2039 - usb1_vbus_reg: regulator@4 { 2040 - compatible = "regulator-fixed"; 2041 - reg = <4>; 2042 - regulator-name = "usb1_vbus"; 2043 - regulator-min-microvolt = <5000000>; 2044 - regulator-max-microvolt = <5000000>; 2045 - enable-active-high; 2046 - gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; 2047 - gpio-open-drain; 2048 - vin-supply = <&vdd_5v_in_reg>; 2049 - }; 2041 + usb3_vbus_reg: regulator@5 { 2042 + compatible = "regulator-fixed"; 2043 + regulator-name = "usb3_vbus"; 2044 + regulator-min-microvolt = <5000000>; 2045 + regulator-max-microvolt = <5000000>; 2046 + enable-active-high; 2047 + gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; 2048 + gpio-open-drain; 2049 + vin-supply = <&vdd_5v_in_reg>; 2050 + }; 2050 2051 2051 - usb3_vbus_reg: regulator@5 { 2052 - compatible = "regulator-fixed"; 2053 - reg = <5>; 2054 - regulator-name = "usb3_vbus"; 2055 - regulator-min-microvolt = <5000000>; 2056 - regulator-max-microvolt = <5000000>; 2057 - enable-active-high; 2058 - gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; 2059 - gpio-open-drain; 2060 - vin-supply = <&vdd_5v_in_reg>; 2061 - }; 2052 + sys_3v3_reg: regulator@6 { 2053 + compatible = "regulator-fixed"; 2054 + regulator-name = "sys_3v3,vdd_3v3_alw"; 2055 + regulator-min-microvolt = <3300000>; 2056 + regulator-max-microvolt = <3300000>; 2057 + regulator-always-on; 2058 + regulator-boot-on; 2059 + enable-active-high; 2060 + gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 2061 + vin-supply = <&vdd_5v_in_reg>; 2062 + }; 2062 2063 2063 - sys_3v3_reg: regulator@6 { 2064 - compatible = "regulator-fixed"; 2065 - reg = <6>; 2066 - regulator-name = "sys_3v3,vdd_3v3_alw"; 2067 - regulator-min-microvolt = <3300000>; 2068 - regulator-max-microvolt = <3300000>; 2069 - regulator-always-on; 2070 - regulator-boot-on; 2071 - enable-active-high; 2072 - gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 2073 - vin-supply = <&vdd_5v_in_reg>; 2074 - }; 2064 + sys_3v3_pexs_reg: regulator@7 { 2065 + compatible = "regulator-fixed"; 2066 + regulator-name = "sys_3v3_pexs"; 2067 + regulator-min-microvolt = <3300000>; 2068 + regulator-max-microvolt = <3300000>; 2069 + regulator-always-on; 2070 + regulator-boot-on; 2071 + enable-active-high; 2072 + gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>; 2073 + vin-supply = <&sys_3v3_reg>; 2074 + }; 2075 2075 2076 - sys_3v3_pexs_reg: regulator@7 { 2077 - compatible = "regulator-fixed"; 2078 - reg = <7>; 2079 - regulator-name = "sys_3v3_pexs"; 2080 - regulator-min-microvolt = <3300000>; 2081 - regulator-max-microvolt = <3300000>; 2082 - regulator-always-on; 2083 - regulator-boot-on; 2084 - enable-active-high; 2085 - gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>; 2086 - vin-supply = <&sys_3v3_reg>; 2087 - }; 2088 - 2089 - vdd_5v0_hdmi: regulator@8 { 2090 - compatible = "regulator-fixed"; 2091 - reg = <8>; 2092 - regulator-name = "+VDD_5V_HDMI"; 2093 - regulator-min-microvolt = <5000000>; 2094 - regulator-max-microvolt = <5000000>; 2095 - regulator-always-on; 2096 - regulator-boot-on; 2097 - vin-supply = <&sys_3v3_reg>; 2098 - }; 2076 + vdd_5v0_hdmi: regulator@8 { 2077 + compatible = "regulator-fixed"; 2078 + regulator-name = "+VDD_5V_HDMI"; 2079 + regulator-min-microvolt = <5000000>; 2080 + regulator-max-microvolt = <5000000>; 2081 + regulator-always-on; 2082 + regulator-boot-on; 2083 + vin-supply = <&sys_3v3_reg>; 2099 2084 }; 2100 2085 2101 2086 sound {
+57 -69
arch/arm/boot/dts/tegra30-cardhu-a02.dts
··· 16 16 keep-power-in-suspend; 17 17 }; 18 18 19 - regulators { 20 - compatible = "simple-bus"; 21 - #address-cells = <1>; 22 - #size-cells = <0>; 19 + ddr_reg: regulator@100 { 20 + compatible = "regulator-fixed"; 21 + regulator-name = "vdd_ddr"; 22 + regulator-min-microvolt = <1500000>; 23 + regulator-max-microvolt = <1500000>; 24 + regulator-always-on; 25 + regulator-boot-on; 26 + enable-active-high; 27 + gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 28 + }; 23 29 24 - ddr_reg: regulator@100 { 25 - compatible = "regulator-fixed"; 26 - reg = <100>; 27 - regulator-name = "vdd_ddr"; 28 - regulator-min-microvolt = <1500000>; 29 - regulator-max-microvolt = <1500000>; 30 - regulator-always-on; 31 - regulator-boot-on; 32 - enable-active-high; 33 - gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 34 - }; 30 + sys_3v3_reg: regulator@101 { 31 + compatible = "regulator-fixed"; 32 + regulator-name = "sys_3v3"; 33 + regulator-min-microvolt = <3300000>; 34 + regulator-max-microvolt = <3300000>; 35 + regulator-always-on; 36 + regulator-boot-on; 37 + enable-active-high; 38 + gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; 39 + }; 35 40 36 - sys_3v3_reg: regulator@101 { 37 - compatible = "regulator-fixed"; 38 - reg = <101>; 39 - regulator-name = "sys_3v3"; 40 - regulator-min-microvolt = <3300000>; 41 - regulator-max-microvolt = <3300000>; 42 - regulator-always-on; 43 - regulator-boot-on; 44 - enable-active-high; 45 - gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; 46 - }; 41 + usb1_vbus_reg: regulator@102 { 42 + compatible = "regulator-fixed"; 43 + regulator-name = "usb1_vbus"; 44 + regulator-min-microvolt = <5000000>; 45 + regulator-max-microvolt = <5000000>; 46 + enable-active-high; 47 + gpio = <&gpio TEGRA_GPIO(I, 4) GPIO_ACTIVE_HIGH>; 48 + gpio-open-drain; 49 + vin-supply = <&vdd_5v0_reg>; 50 + }; 47 51 48 - usb1_vbus_reg: regulator@102 { 49 - compatible = "regulator-fixed"; 50 - reg = <102>; 51 - regulator-name = "usb1_vbus"; 52 - regulator-min-microvolt = <5000000>; 53 - regulator-max-microvolt = <5000000>; 54 - enable-active-high; 55 - gpio = <&gpio TEGRA_GPIO(I, 4) GPIO_ACTIVE_HIGH>; 56 - gpio-open-drain; 57 - vin-supply = <&vdd_5v0_reg>; 58 - }; 52 + usb3_vbus_reg: regulator@103 { 53 + compatible = "regulator-fixed"; 54 + regulator-name = "usb3_vbus"; 55 + regulator-min-microvolt = <5000000>; 56 + regulator-max-microvolt = <5000000>; 57 + enable-active-high; 58 + gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>; 59 + gpio-open-drain; 60 + vin-supply = <&vdd_5v0_reg>; 61 + }; 59 62 60 - usb3_vbus_reg: regulator@103 { 61 - compatible = "regulator-fixed"; 62 - reg = <103>; 63 - regulator-name = "usb3_vbus"; 64 - regulator-min-microvolt = <5000000>; 65 - regulator-max-microvolt = <5000000>; 66 - enable-active-high; 67 - gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>; 68 - gpio-open-drain; 69 - vin-supply = <&vdd_5v0_reg>; 70 - }; 63 + vdd_5v0_reg: regulator@104 { 64 + compatible = "regulator-fixed"; 65 + regulator-name = "5v0"; 66 + regulator-min-microvolt = <5000000>; 67 + regulator-max-microvolt = <5000000>; 68 + enable-active-high; 69 + gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 70 + }; 71 71 72 - vdd_5v0_reg: regulator@104 { 73 - compatible = "regulator-fixed"; 74 - reg = <104>; 75 - regulator-name = "5v0"; 76 - regulator-min-microvolt = <5000000>; 77 - regulator-max-microvolt = <5000000>; 78 - enable-active-high; 79 - gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 80 - }; 81 - 82 - vdd_bl_reg: regulator@105 { 83 - compatible = "regulator-fixed"; 84 - reg = <105>; 85 - regulator-name = "vdd_bl"; 86 - regulator-min-microvolt = <5000000>; 87 - regulator-max-microvolt = <5000000>; 88 - regulator-always-on; 89 - regulator-boot-on; 90 - enable-active-high; 91 - gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_HIGH>; 92 - }; 72 + vdd_bl_reg: regulator@105 { 73 + compatible = "regulator-fixed"; 74 + regulator-name = "vdd_bl"; 75 + regulator-min-microvolt = <5000000>; 76 + regulator-max-microvolt = <5000000>; 77 + regulator-always-on; 78 + regulator-boot-on; 79 + enable-active-high; 80 + gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_HIGH>; 93 81 }; 94 82 }; 95 83
+67 -80
arch/arm/boot/dts/tegra30-cardhu-a04.dts
··· 18 18 keep-power-in-suspend; 19 19 }; 20 20 21 - regulators { 22 - compatible = "simple-bus"; 23 - #address-cells = <1>; 24 - #size-cells = <0>; 21 + ddr_reg: regulator@100 { 22 + compatible = "regulator-fixed"; 23 + regulator-name = "ddr"; 24 + regulator-min-microvolt = <1500000>; 25 + regulator-max-microvolt = <1500000>; 26 + regulator-always-on; 27 + regulator-boot-on; 28 + enable-active-high; 29 + gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; 30 + }; 25 31 26 - ddr_reg: regulator@100 { 27 - compatible = "regulator-fixed"; 28 - regulator-name = "ddr"; 29 - reg = <100>; 30 - regulator-min-microvolt = <1500000>; 31 - regulator-max-microvolt = <1500000>; 32 - regulator-always-on; 33 - regulator-boot-on; 34 - enable-active-high; 35 - gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; 36 - }; 32 + sys_3v3_reg: regulator@101 { 33 + compatible = "regulator-fixed"; 34 + regulator-name = "sys_3v3"; 35 + regulator-min-microvolt = <3300000>; 36 + regulator-max-microvolt = <3300000>; 37 + regulator-always-on; 38 + regulator-boot-on; 39 + enable-active-high; 40 + gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 41 + }; 37 42 38 - sys_3v3_reg: regulator@101 { 39 - compatible = "regulator-fixed"; 40 - reg = <101>; 41 - regulator-name = "sys_3v3"; 42 - regulator-min-microvolt = <3300000>; 43 - regulator-max-microvolt = <3300000>; 44 - regulator-always-on; 45 - regulator-boot-on; 46 - enable-active-high; 47 - gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 48 - }; 43 + usb1_vbus_reg: regulator@102 { 44 + compatible = "regulator-fixed"; 45 + regulator-name = "usb1_vbus"; 46 + regulator-min-microvolt = <5000000>; 47 + regulator-max-microvolt = <5000000>; 48 + enable-active-high; 49 + gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; 50 + gpio-open-drain; 51 + vin-supply = <&vdd_5v0_reg>; 52 + }; 49 53 50 - usb1_vbus_reg: regulator@102 { 51 - compatible = "regulator-fixed"; 52 - reg = <102>; 53 - regulator-name = "usb1_vbus"; 54 - regulator-min-microvolt = <5000000>; 55 - regulator-max-microvolt = <5000000>; 56 - enable-active-high; 57 - gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>; 58 - gpio-open-drain; 59 - vin-supply = <&vdd_5v0_reg>; 60 - }; 54 + usb3_vbus_reg: regulator@103 { 55 + compatible = "regulator-fixed"; 56 + regulator-name = "usb3_vbus"; 57 + regulator-min-microvolt = <5000000>; 58 + regulator-max-microvolt = <5000000>; 59 + enable-active-high; 60 + gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; 61 + gpio-open-drain; 62 + vin-supply = <&vdd_5v0_reg>; 63 + }; 61 64 62 - usb3_vbus_reg: regulator@103 { 63 - compatible = "regulator-fixed"; 64 - reg = <103>; 65 - regulator-name = "usb3_vbus"; 66 - regulator-min-microvolt = <5000000>; 67 - regulator-max-microvolt = <5000000>; 68 - enable-active-high; 69 - gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>; 70 - gpio-open-drain; 71 - vin-supply = <&vdd_5v0_reg>; 72 - }; 65 + vdd_5v0_reg: regulator@104 { 66 + compatible = "regulator-fixed"; 67 + regulator-name = "5v0"; 68 + regulator-min-microvolt = <5000000>; 69 + regulator-max-microvolt = <5000000>; 70 + enable-active-high; 71 + gpio = <&pmic 8 GPIO_ACTIVE_HIGH>; 72 + }; 73 73 74 - vdd_5v0_reg: regulator@104 { 75 - compatible = "regulator-fixed"; 76 - reg = <104>; 77 - regulator-name = "5v0"; 78 - regulator-min-microvolt = <5000000>; 79 - regulator-max-microvolt = <5000000>; 80 - enable-active-high; 81 - gpio = <&pmic 8 GPIO_ACTIVE_HIGH>; 82 - }; 74 + vdd_bl_reg: regulator@105 { 75 + compatible = "regulator-fixed"; 76 + regulator-name = "vdd_bl"; 77 + regulator-min-microvolt = <5000000>; 78 + regulator-max-microvolt = <5000000>; 79 + regulator-always-on; 80 + regulator-boot-on; 81 + enable-active-high; 82 + gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>; 83 + }; 83 84 84 - vdd_bl_reg: regulator@105 { 85 - compatible = "regulator-fixed"; 86 - reg = <105>; 87 - regulator-name = "vdd_bl"; 88 - regulator-min-microvolt = <5000000>; 89 - regulator-max-microvolt = <5000000>; 90 - regulator-always-on; 91 - regulator-boot-on; 92 - enable-active-high; 93 - gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>; 94 - }; 95 - 96 - vdd_bl2_reg: regulator@106 { 97 - compatible = "regulator-fixed"; 98 - reg = <106>; 99 - regulator-name = "vdd_bl2"; 100 - regulator-min-microvolt = <5000000>; 101 - regulator-max-microvolt = <5000000>; 102 - regulator-always-on; 103 - regulator-boot-on; 104 - enable-active-high; 105 - gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>; 106 - }; 85 + vdd_bl2_reg: regulator@106 { 86 + compatible = "regulator-fixed"; 87 + regulator-name = "vdd_bl2"; 88 + regulator-min-microvolt = <5000000>; 89 + regulator-max-microvolt = <5000000>; 90 + regulator-always-on; 91 + regulator-boot-on; 92 + enable-active-high; 93 + gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>; 107 94 }; 108 95 109 96 i2c@7000d000 {
+121 -140
arch/arm/boot/dts/tegra30-cardhu.dtsi
··· 434 434 backlight = <&backlight>; 435 435 }; 436 436 437 - regulators { 438 - compatible = "simple-bus"; 439 - #address-cells = <1>; 440 - #size-cells = <0>; 437 + vdd_ac_bat_reg: regulator@0 { 438 + compatible = "regulator-fixed"; 439 + regulator-name = "vdd_ac_bat"; 440 + regulator-min-microvolt = <5000000>; 441 + regulator-max-microvolt = <5000000>; 442 + regulator-always-on; 443 + }; 441 444 442 - vdd_ac_bat_reg: regulator@0 { 443 - compatible = "regulator-fixed"; 444 - reg = <0>; 445 - regulator-name = "vdd_ac_bat"; 446 - regulator-min-microvolt = <5000000>; 447 - regulator-max-microvolt = <5000000>; 448 - regulator-always-on; 449 - }; 445 + cam_1v8_reg: regulator@1 { 446 + compatible = "regulator-fixed"; 447 + regulator-name = "cam_1v8"; 448 + regulator-min-microvolt = <1800000>; 449 + regulator-max-microvolt = <1800000>; 450 + enable-active-high; 451 + gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>; 452 + vin-supply = <&vio_reg>; 453 + }; 450 454 451 - cam_1v8_reg: regulator@1 { 452 - compatible = "regulator-fixed"; 453 - reg = <1>; 454 - regulator-name = "cam_1v8"; 455 - regulator-min-microvolt = <1800000>; 456 - regulator-max-microvolt = <1800000>; 457 - enable-active-high; 458 - gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>; 459 - vin-supply = <&vio_reg>; 460 - }; 455 + cp_5v_reg: regulator@2 { 456 + compatible = "regulator-fixed"; 457 + regulator-name = "cp_5v"; 458 + regulator-min-microvolt = <5000000>; 459 + regulator-max-microvolt = <5000000>; 460 + regulator-boot-on; 461 + regulator-always-on; 462 + enable-active-high; 463 + gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 464 + }; 461 465 462 - cp_5v_reg: regulator@2 { 463 - compatible = "regulator-fixed"; 464 - reg = <2>; 465 - regulator-name = "cp_5v"; 466 - regulator-min-microvolt = <5000000>; 467 - regulator-max-microvolt = <5000000>; 468 - regulator-boot-on; 469 - regulator-always-on; 470 - enable-active-high; 471 - gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 472 - }; 466 + emmc_3v3_reg: regulator@3 { 467 + compatible = "regulator-fixed"; 468 + regulator-name = "emmc_3v3"; 469 + regulator-min-microvolt = <3300000>; 470 + regulator-max-microvolt = <3300000>; 471 + regulator-always-on; 472 + regulator-boot-on; 473 + enable-active-high; 474 + gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>; 475 + vin-supply = <&sys_3v3_reg>; 476 + }; 473 477 474 - emmc_3v3_reg: regulator@3 { 475 - compatible = "regulator-fixed"; 476 - reg = <3>; 477 - regulator-name = "emmc_3v3"; 478 - regulator-min-microvolt = <3300000>; 479 - regulator-max-microvolt = <3300000>; 480 - regulator-always-on; 481 - regulator-boot-on; 482 - enable-active-high; 483 - gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>; 484 - vin-supply = <&sys_3v3_reg>; 485 - }; 478 + modem_3v3_reg: regulator@4 { 479 + compatible = "regulator-fixed"; 480 + regulator-name = "modem_3v3"; 481 + regulator-min-microvolt = <3300000>; 482 + regulator-max-microvolt = <3300000>; 483 + enable-active-high; 484 + gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>; 485 + }; 486 486 487 - modem_3v3_reg: regulator@4 { 488 - compatible = "regulator-fixed"; 489 - reg = <4>; 490 - regulator-name = "modem_3v3"; 491 - regulator-min-microvolt = <3300000>; 492 - regulator-max-microvolt = <3300000>; 493 - enable-active-high; 494 - gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>; 495 - }; 487 + pex_hvdd_3v3_reg: regulator@5 { 488 + compatible = "regulator-fixed"; 489 + regulator-name = "pex_hvdd_3v3"; 490 + regulator-min-microvolt = <3300000>; 491 + regulator-max-microvolt = <3300000>; 492 + enable-active-high; 493 + gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>; 494 + vin-supply = <&sys_3v3_reg>; 495 + }; 496 496 497 - pex_hvdd_3v3_reg: regulator@5 { 498 - compatible = "regulator-fixed"; 499 - reg = <5>; 500 - regulator-name = "pex_hvdd_3v3"; 501 - regulator-min-microvolt = <3300000>; 502 - regulator-max-microvolt = <3300000>; 503 - enable-active-high; 504 - gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>; 505 - vin-supply = <&sys_3v3_reg>; 506 - }; 497 + vdd_cam1_ldo_reg: regulator@6 { 498 + compatible = "regulator-fixed"; 499 + regulator-name = "vdd_cam1_ldo"; 500 + regulator-min-microvolt = <2800000>; 501 + regulator-max-microvolt = <2800000>; 502 + enable-active-high; 503 + gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>; 504 + vin-supply = <&sys_3v3_reg>; 505 + }; 507 506 508 - vdd_cam1_ldo_reg: regulator@6 { 509 - compatible = "regulator-fixed"; 510 - reg = <6>; 511 - regulator-name = "vdd_cam1_ldo"; 512 - regulator-min-microvolt = <2800000>; 513 - regulator-max-microvolt = <2800000>; 514 - enable-active-high; 515 - gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>; 516 - vin-supply = <&sys_3v3_reg>; 517 - }; 507 + vdd_cam2_ldo_reg: regulator@7 { 508 + compatible = "regulator-fixed"; 509 + regulator-name = "vdd_cam2_ldo"; 510 + regulator-min-microvolt = <2800000>; 511 + regulator-max-microvolt = <2800000>; 512 + enable-active-high; 513 + gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>; 514 + vin-supply = <&sys_3v3_reg>; 515 + }; 518 516 519 - vdd_cam2_ldo_reg: regulator@7 { 520 - compatible = "regulator-fixed"; 521 - reg = <7>; 522 - regulator-name = "vdd_cam2_ldo"; 523 - regulator-min-microvolt = <2800000>; 524 - regulator-max-microvolt = <2800000>; 525 - enable-active-high; 526 - gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>; 527 - vin-supply = <&sys_3v3_reg>; 528 - }; 517 + vdd_cam3_ldo_reg: regulator@8 { 518 + compatible = "regulator-fixed"; 519 + regulator-name = "vdd_cam3_ldo"; 520 + regulator-min-microvolt = <3300000>; 521 + regulator-max-microvolt = <3300000>; 522 + enable-active-high; 523 + gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>; 524 + vin-supply = <&sys_3v3_reg>; 525 + }; 529 526 530 - vdd_cam3_ldo_reg: regulator@8 { 531 - compatible = "regulator-fixed"; 532 - reg = <8>; 533 - regulator-name = "vdd_cam3_ldo"; 534 - regulator-min-microvolt = <3300000>; 535 - regulator-max-microvolt = <3300000>; 536 - enable-active-high; 537 - gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>; 538 - vin-supply = <&sys_3v3_reg>; 539 - }; 527 + vdd_com_reg: regulator@9 { 528 + compatible = "regulator-fixed"; 529 + regulator-name = "vdd_com"; 530 + regulator-min-microvolt = <3300000>; 531 + regulator-max-microvolt = <3300000>; 532 + regulator-always-on; 533 + regulator-boot-on; 534 + enable-active-high; 535 + gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>; 536 + vin-supply = <&sys_3v3_reg>; 537 + }; 540 538 541 - vdd_com_reg: regulator@9 { 542 - compatible = "regulator-fixed"; 543 - reg = <9>; 544 - regulator-name = "vdd_com"; 545 - regulator-min-microvolt = <3300000>; 546 - regulator-max-microvolt = <3300000>; 547 - regulator-always-on; 548 - regulator-boot-on; 549 - enable-active-high; 550 - gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>; 551 - vin-supply = <&sys_3v3_reg>; 552 - }; 539 + vdd_fuse_3v3_reg: regulator@10 { 540 + compatible = "regulator-fixed"; 541 + regulator-name = "vdd_fuse_3v3"; 542 + regulator-min-microvolt = <3300000>; 543 + regulator-max-microvolt = <3300000>; 544 + enable-active-high; 545 + gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>; 546 + vin-supply = <&sys_3v3_reg>; 547 + }; 553 548 554 - vdd_fuse_3v3_reg: regulator@10 { 555 - compatible = "regulator-fixed"; 556 - reg = <10>; 557 - regulator-name = "vdd_fuse_3v3"; 558 - regulator-min-microvolt = <3300000>; 559 - regulator-max-microvolt = <3300000>; 560 - enable-active-high; 561 - gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>; 562 - vin-supply = <&sys_3v3_reg>; 563 - }; 549 + vdd_pnl1_reg: regulator@11 { 550 + compatible = "regulator-fixed"; 551 + regulator-name = "vdd_pnl1"; 552 + regulator-min-microvolt = <3300000>; 553 + regulator-max-microvolt = <3300000>; 554 + regulator-always-on; 555 + regulator-boot-on; 556 + enable-active-high; 557 + gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>; 558 + vin-supply = <&sys_3v3_reg>; 559 + }; 564 560 565 - vdd_pnl1_reg: regulator@11 { 566 - compatible = "regulator-fixed"; 567 - reg = <11>; 568 - regulator-name = "vdd_pnl1"; 569 - regulator-min-microvolt = <3300000>; 570 - regulator-max-microvolt = <3300000>; 571 - regulator-always-on; 572 - regulator-boot-on; 573 - enable-active-high; 574 - gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>; 575 - vin-supply = <&sys_3v3_reg>; 576 - }; 577 - 578 - vdd_vid_reg: regulator@12 { 579 - compatible = "regulator-fixed"; 580 - reg = <12>; 581 - regulator-name = "vddio_vid"; 582 - regulator-min-microvolt = <5000000>; 583 - regulator-max-microvolt = <5000000>; 584 - enable-active-high; 585 - gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>; 586 - gpio-open-drain; 587 - vin-supply = <&vdd_5v0_reg>; 588 - }; 561 + vdd_vid_reg: regulator@12 { 562 + compatible = "regulator-fixed"; 563 + regulator-name = "vddio_vid"; 564 + regulator-min-microvolt = <5000000>; 565 + regulator-max-microvolt = <5000000>; 566 + enable-active-high; 567 + gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>; 568 + gpio-open-drain; 569 + vin-supply = <&vdd_5v0_reg>; 589 570 }; 590 571 591 572 sound {