]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.19.35/arm-dts-am335x-evm-correct-the-regulators-for-the-audio-codec.patch
Linux 4.19.35
[thirdparty/kernel/stable-queue.git] / releases / 4.19.35 / arm-dts-am335x-evm-correct-the-regulators-for-the-audio-codec.patch
CommitLineData
d33cec38
GKH
1From 4f96dc0a3e79ec257a2b082dab3ee694ff88c317 Mon Sep 17 00:00:00 2001
2From: Peter Ujfalusi <peter.ujfalusi@ti.com>
3Date: Fri, 15 Mar 2019 12:59:09 +0200
4Subject: ARM: dts: am335x-evm: Correct the regulators for the audio codec
5
6From: Peter Ujfalusi <peter.ujfalusi@ti.com>
7
8commit 4f96dc0a3e79ec257a2b082dab3ee694ff88c317 upstream.
9
10Correctly map the regulators used by tlv320aic3106.
11Both 1.8V and 3.3V for the codec is derived from VBAT via fixed regulators.
12
13Cc: <Stable@vger.kernel.org> # v4.14+
14Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
15Signed-off-by: Tony Lindgren <tony@atomide.com>
16Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17
18---
19 arch/arm/boot/dts/am335x-evm.dts | 26 ++++++++++++++++++++++----
20 1 file changed, 22 insertions(+), 4 deletions(-)
21
22--- a/arch/arm/boot/dts/am335x-evm.dts
23+++ b/arch/arm/boot/dts/am335x-evm.dts
24@@ -57,6 +57,24 @@
25 enable-active-high;
26 };
27
28+ /* TPS79501 */
29+ v1_8d_reg: fixedregulator-v1_8d {
30+ compatible = "regulator-fixed";
31+ regulator-name = "v1_8d";
32+ vin-supply = <&vbat>;
33+ regulator-min-microvolt = <1800000>;
34+ regulator-max-microvolt = <1800000>;
35+ };
36+
37+ /* TPS79501 */
38+ v3_3d_reg: fixedregulator-v3_3d {
39+ compatible = "regulator-fixed";
40+ regulator-name = "v3_3d";
41+ vin-supply = <&vbat>;
42+ regulator-min-microvolt = <3300000>;
43+ regulator-max-microvolt = <3300000>;
44+ };
45+
46 matrix_keypad: matrix_keypad0 {
47 compatible = "gpio-matrix-keypad";
48 debounce-delay-ms = <5>;
49@@ -499,10 +517,10 @@
50 status = "okay";
51
52 /* Regulators */
53- AVDD-supply = <&vaux2_reg>;
54- IOVDD-supply = <&vaux2_reg>;
55- DRVDD-supply = <&vaux2_reg>;
56- DVDD-supply = <&vbat>;
57+ AVDD-supply = <&v3_3d_reg>;
58+ IOVDD-supply = <&v3_3d_reg>;
59+ DRVDD-supply = <&v3_3d_reg>;
60+ DVDD-supply = <&v1_8d_reg>;
61 };
62 };
63