arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: enable MICs LDO
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
@@ -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
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.Signed-off-by Aleksandrs Vinarskis <[email protected]>---
Can we bind it to the soundcard or something, so that we're not leaking power?
Konrad
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.Signed-off-by Aleksandrs Vinarskis <[email protected]>---
Can we bind it to the soundcard or something, so that we're not leaking power?
Konrad