aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2019-03-15 06:59:09 -0400
committerTony Lindgren <tony@atomide.com>2019-03-22 18:30:32 -0400
commit4f96dc0a3e79ec257a2b082dab3ee694ff88c317 (patch)
treee00d100ae034dfc94ffe26028bf141e7dcaee813
parent30645307e5d2c8a4caf978558c66121ac91ad17e (diff)
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>
-rw-r--r--arch/arm/boot/dts/am335x-evm.dts26
1 files changed, 22 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index dce5be5df97b..edcff79879e7 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -57,6 +57,24 @@
57 enable-active-high; 57 enable-active-high;
58 }; 58 };
59 59
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
60 matrix_keypad: matrix_keypad0 { 78 matrix_keypad: matrix_keypad0 {
61 compatible = "gpio-matrix-keypad"; 79 compatible = "gpio-matrix-keypad";
62 debounce-delay-ms = <5>; 80 debounce-delay-ms = <5>;
@@ -499,10 +517,10 @@
499 status = "okay"; 517 status = "okay";
500 518
501 /* Regulators */ 519 /* Regulators */
502 AVDD-supply = <&vaux2_reg>; 520 AVDD-supply = <&v3_3d_reg>;
503 IOVDD-supply = <&vaux2_reg>; 521 IOVDD-supply = <&v3_3d_reg>;
504 DRVDD-supply = <&vaux2_reg>; 522 DRVDD-supply = <&v3_3d_reg>;
505 DVDD-supply = <&vbat>; 523 DVDD-supply = <&v1_8d_reg>;
506 }; 524 };
507}; 525};
508 526