]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - 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
1 From 6691370646e844be98bb6558c024269791d20bd7 Mon Sep 17 00:00:00 2001
2 From: Peter Ujfalusi <peter.ujfalusi@ti.com>
3 Date: Fri, 15 Mar 2019 12:59:17 +0200
4 Subject: ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
5
6 From: Peter Ujfalusi <peter.ujfalusi@ti.com>
7
8 commit 6691370646e844be98bb6558c024269791d20bd7 upstream.
9
10 Correctly map the regulators used by tlv320aic3106.
11 Both 1.8V and 3.3V for the codec is derived from VBAT via fixed regulators.
12
13 Cc: <Stable@vger.kernel.org> # v4.14+
14 Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
15 Signed-off-by: Tony Lindgren <tony@atomide.com>
16 Signed-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