]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.19.35/arm-dts-am335x-evmsk-correct-the-regulators-for-the-audio-codec.patch
Linux 4.19.35
[thirdparty/kernel/stable-queue.git] / releases / 4.19.35 / arm-dts-am335x-evmsk-correct-the-regulators-for-the-audio-codec.patch
CommitLineData
d33cec38
GKH
1From 6691370646e844be98bb6558c024269791d20bd7 Mon Sep 17 00:00:00 2001
2From: Peter Ujfalusi <peter.ujfalusi@ti.com>
3Date: Fri, 15 Mar 2019 12:59:17 +0200
4Subject: ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
5
6From: Peter Ujfalusi <peter.ujfalusi@ti.com>
7
8commit 6691370646e844be98bb6558c024269791d20bd7 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-evmsk.dts | 26 ++++++++++++++++++++++----
20 1 file changed, 22 insertions(+), 4 deletions(-)
21
22--- a/arch/arm/boot/dts/am335x-evmsk.dts
23+++ b/arch/arm/boot/dts/am335x-evmsk.dts
24@@ -73,6 +73,24 @@
25 enable-active-high;
26 };
27
28+ /* TPS79518 */
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+ /* TPS78633 */
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 leds {
47 pinctrl-names = "default";
48 pinctrl-0 = <&user_leds_s0>;
49@@ -501,10 +519,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