[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241228114514.91594-2-ivo.g.dimitrov.75@gmail.com>
Date: Sat, 28 Dec 2024 13:45:10 +0200
From: Ivaylo Dimitrov <ivo.g.dimitrov.75@...il.com>
To: Lee Jones <lee@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Tony Lindgren <tony@...mide.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org,
linux-sound@...r.kernel.org,
Ivaylo Dimitrov <ivo.g.dimitrov.75@...il.com>
Subject: [PATCH 1/5] arch: arm: dts: cpcap-mapphone: Set VAUDIO regulator always-on
VAUDIO regulator is used by cpcap codec and currently is enabled/disabled
by dapm logic, however, when regulator is turned off, various cpcap
functions (like jack detection) do not work.
Configure VAUDIO regulator-allowed-modes property while at it to enable
low-power regulator mode being set.
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@...il.com>
---
arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi
index ea02fd403a9b..83fd58157579 100644
--- a/arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi
+++ b/arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi
@@ -267,6 +267,8 @@ vaudio: VAUDIO {
regulator-min-microvolt = <2775000>;
regulator-max-microvolt = <2775000>;
regulator-enable-ramp-delay = <1000>;
- regulator-initial-mode = <0x00>; /* NORMAL */
+ regulator-allowed-modes = <0x00>, <0x40>; /* ON, LOW_PWR */
+ regulator-initial-mode = <0x00>; /* ON */
+ regulator-always-on;
};
};
--
2.30.2
Powered by blists - more mailing lists