Skip to content

Commit 6691370

Browse files
Peter Ujfalusitmlind
authored andcommitted
ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
Correctly map the regulators used by tlv320aic3106. Both 1.8V and 3.3V for the codec is derived from VBAT via fixed regulators. Cc: <Stable@vger.kernel.org> # v4.14+ Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 4f96dc0 commit 6691370

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

arch/arm/boot/dts/am335x-evmsk.dts

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,24 @@
7373
enable-active-high;
7474
};
7575

76+
/* TPS79518 */
77+
v1_8d_reg: fixedregulator-v1_8d {
78+
compatible = "regulator-fixed";
79+
regulator-name = "v1_8d";
80+
vin-supply = <&vbat>;
81+
regulator-min-microvolt = <1800000>;
82+
regulator-max-microvolt = <1800000>;
83+
};
84+
85+
/* TPS78633 */
86+
v3_3d_reg: fixedregulator-v3_3d {
87+
compatible = "regulator-fixed";
88+
regulator-name = "v3_3d";
89+
vin-supply = <&vbat>;
90+
regulator-min-microvolt = <3300000>;
91+
regulator-max-microvolt = <3300000>;
92+
};
93+
7694
leds {
7795
pinctrl-names = "default";
7896
pinctrl-0 = <&user_leds_s0>;
@@ -501,10 +519,10 @@
501519
status = "okay";
502520

503521
/* Regulators */
504-
AVDD-supply = <&vaux2_reg>;
505-
IOVDD-supply = <&vaux2_reg>;
506-
DRVDD-supply = <&vaux2_reg>;
507-
DVDD-supply = <&vbat>;
522+
AVDD-supply = <&v3_3d_reg>;
523+
IOVDD-supply = <&v3_3d_reg>;
524+
DRVDD-supply = <&v3_3d_reg>;
525+
DVDD-supply = <&v1_8d_reg>;
508526
};
509527
};
510528

0 commit comments

Comments
 (0)