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
6 From: Peter Ujfalusi <peter.ujfalusi@ti.com>
8 commit 6691370646e844be98bb6558c024269791d20bd7 upstream.
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.
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>
19 arch/arm/boot/dts/am335x-evmsk.dts | 26 ++++++++++++++++++++++----
20 1 file changed, 22 insertions(+), 4 deletions(-)
22 --- a/arch/arm/boot/dts/am335x-evmsk.dts
23 +++ b/arch/arm/boot/dts/am335x-evmsk.dts
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>;
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>;
47 pinctrl-names = "default";
48 pinctrl-0 = <&user_leds_s0>;
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>;