Skip to content

Commit 4f96dc0

Browse files
Peter Ujfalusitmlind
authored andcommitted
ARM: dts: am335x-evm: 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 3064530 commit 4f96dc0

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

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

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,24 @@
5757
enable-active-high;
5858
};
5959

60+
/* TPS79501 */
61+
v1_8d_reg: fixedregulator-v1_8d {
62+
compatible = "regulator-fixed";
63+
regulator-name = "v1_8d";
64+
vin-supply = <&vbat>;
65+
regulator-min-microvolt = <1800000>;
66+
regulator-max-microvolt = <1800000>;
67+
};
68+
69+
/* TPS79501 */
70+
v3_3d_reg: fixedregulator-v3_3d {
71+
compatible = "regulator-fixed";
72+
regulator-name = "v3_3d";
73+
vin-supply = <&vbat>;
74+
regulator-min-microvolt = <3300000>;
75+
regulator-max-microvolt = <3300000>;
76+
};
77+
6078
matrix_keypad: matrix_keypad0 {
6179
compatible = "gpio-matrix-keypad";
6280
debounce-delay-ms = <5>;
@@ -499,10 +517,10 @@
499517
status = "okay";
500518

501519
/* Regulators */
502-
AVDD-supply = <&vaux2_reg>;
503-
IOVDD-supply = <&vaux2_reg>;
504-
DRVDD-supply = <&vaux2_reg>;
505-
DVDD-supply = <&vbat>;
520+
AVDD-supply = <&v3_3d_reg>;
521+
IOVDD-supply = <&v3_3d_reg>;
522+
DRVDD-supply = <&v3_3d_reg>;
523+
DVDD-supply = <&v1_8d_reg>;
506524
};
507525
};
508526

0 commit comments

Comments
 (0)