]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arch: arm: dts: cpcap-mapphone: Set VAUDIO regulator always-on
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Wed, 22 Jan 2025 16:41:25 +0000 (18:41 +0200)
committerKevin Hilman (TI) <khilman@baylibre.com>
Wed, 6 May 2026 21:15:58 +0000 (14:15 -0700)
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@gmail.com>
Link: https://patch.msgid.link/20250122164129.807247-2-ivo.g.dimitrov.75@gmail.com
Signed-off-by: Kevin Hilman (TI) <khilman@baylibre.com>
arch/arm/boot/dts/ti/omap/motorola-cpcap-mapphone.dtsi

index ea02fd403a9b49edfe8e554e97d30d2a75cbd8b4..83fd5815757980a75763427003a1ba8a94a27cb9 100644 (file)
                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;
        };
 };