Skip to contentSkip to conversation

arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: enable MICs LDO

PATCH Superseded Aleksandrs Vinarskis 2 participants 3 messages Apr 11, 2025 – Apr 12, 2025

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: enable MICs LDO

Particular device comes without headset combo jack, hence does not feature wcd codec IC. In such cases, DMICs are powered from vreg_l1b. Set regulator as always-on to enable microphones.

---
 arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts +1 -0
index 35d97db9e1f6..4a35846b5947 100644
@@ -269,6 +269,7 @@ vreg_l1b_1p8: ldo1 {
 			regulator-min-microvolt = <1800000>;
 			regulator-max-microvolt = <1800000>;
 			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+			regulator-always-on;
 		};
 
 		vreg_l2b_3p0: ldo2 {
Signature · 1 line
2.45.2
#1 lore raw
Quoted 6 lines · Aleksandrs Vinarskis

Particular device comes without headset combo jack, hence does not feature wcd codec IC. In such cases, DMICs are powered from vreg_l1b. Set regulator as always-on to enable microphones.

---

Can we bind it to the soundcard or something, so that we're not leaking power?

Konrad

#2 lore raw

You are right, this is probably too 'dirty' fix.
I did some more digging, and found the root cause of the problem - MICs were not configured in audio routings, even though vreg was already binded to lpass_macro. Will send v2.

Thanks,
Alex

Quoted 13 lines · Konrad Dybcio
Quoted 6 lines · Aleksandrs Vinarskis

Particular device comes without headset combo jack, hence does not feature wcd codec IC. In such cases, DMICs are powered from vreg_l1b. Set regulator as always-on to enable microphones.

---

Can we bind it to the soundcard or something, so that we're not leaking power?

Konrad