Commit 32980cbc authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Thierry Reding

ARM: tegra: apalis_t30: add missing regulators

Add missing regulators:
- reg_module_3v3_audio being VDDA supply of SGTL5000
- VDDD supply of SGTL5000 actually being reg_1v8_vio
- carrier board HDMI supply being reg_5v0
- carrier board reg_3v3 actually being backlight and panel power supply
Signed-off-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent f98439c3
...@@ -41,6 +41,7 @@ rgb { ...@@ -41,6 +41,7 @@ rgb {
}; };
hdmi@54280000 { hdmi@54280000 {
status = "okay"; status = "okay";
hdmi-supply = <&reg_5v0>;
}; };
}; };
...@@ -185,6 +186,7 @@ backlight: backlight { ...@@ -185,6 +186,7 @@ backlight: backlight {
default-brightness-level = <6>; default-brightness-level = <6>;
/* BKL1_ON */ /* BKL1_ON */
enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
power-supply = <&reg_3v3>;
}; };
gpio-keys { gpio-keys {
...@@ -207,6 +209,7 @@ panel: panel { ...@@ -207,6 +209,7 @@ panel: panel {
compatible = "edt,et057090dhu", "simple-panel"; compatible = "edt,et057090dhu", "simple-panel";
backlight = <&backlight>; backlight = <&backlight>;
power-supply = <&reg_3v3>;
}; };
pwmleds { pwmleds {
...@@ -231,6 +234,13 @@ pwm3 { ...@@ -231,6 +234,13 @@ pwm3 {
}; };
}; };
reg_3v3: regulator-3v3 {
compatible = "regulator-fixed";
regulator-name = "3.3V_SW";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
reg_5v0: regulator-5v0 { reg_5v0: regulator-5v0 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "5V_SW"; regulator-name = "5V_SW";
......
...@@ -465,7 +465,8 @@ i2c@7000d000 { ...@@ -465,7 +465,8 @@ i2c@7000d000 {
sgtl5000: codec@a { sgtl5000: codec@a {
compatible = "fsl,sgtl5000"; compatible = "fsl,sgtl5000";
reg = <0x0a>; reg = <0x0a>;
VDDA-supply = <&reg_module_3v3>; VDDA-supply = <&reg_module_3v3_audio>;
VDDD-supply = <&reg_1v8_vio>;
VDDIO-supply = <&reg_module_3v3>; VDDIO-supply = <&reg_module_3v3>;
clocks = <&tegra_car TEGRA30_CLK_EXTERN1>; clocks = <&tegra_car TEGRA30_CLK_EXTERN1>;
}; };
...@@ -758,6 +759,14 @@ reg_module_3v3: regulator-module-3v3 { ...@@ -758,6 +759,14 @@ reg_module_3v3: regulator-module-3v3 {
regulator-always-on; regulator-always-on;
}; };
reg_module_3v3_audio: regulator-module-3v3-audio {
compatible = "regulator-fixed";
regulator-name = "+V3.3_AUDIO_AVDD_S";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
sound { sound {
compatible = "toradex,tegra-audio-sgtl5000-apalis_t30", compatible = "toradex,tegra-audio-sgtl5000-apalis_t30",
"nvidia,tegra-audio-sgtl5000"; "nvidia,tegra-audio-sgtl5000";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment