arm64: dts: qcom: sdm845-oneplus-common: Configure MBHC thresholds
PATCH 1/1 arm64: dts: qcom: sdm845-oneplus-common: Configure MBHC thresholds
Configure the Multi-Button Headset Control (MBHC) thresholds for the WCD9340 audio codec to match the vendor downstream calibration.
--- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +4 -0
@@ -1099,6 +1099,10 @@ &wcd9340 { vdd-tx-supply = <&vreg_s4a_1p8>; vdd-rx-supply = <&vreg_s4a_1p8>; vdd-io-supply = <&vreg_s4a_1p8>; + qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 + 500000 500000 500000 500000>; + qcom,mbhc-headset-vthreshold-microvolt = <1700000>; + qcom,mbhc-headphone-vthreshold-microvolt = <50000>; }; &wifi {
---
base-commit: fe2ec83746e501645709761605c2464a44fd2929
change-id: 20260922-mbhc-342148b3fd5b
Best regards,
Signature · 1 line
Cédric Bellegarde <[email protected]>
Quoted 5 lines · Cédric Bellegarde
Configure the Multi-Button Headset Control (MBHC) thresholds for the WCD9340 audio codec to match the vendor downstream calibration.
Signed-off-by Cédric Bellegarde <[email protected]>---
Konrad
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
Quoted 12 lines · Cédric Bellegarde
Configure the Multi-Button Headset Control (MBHC) thresholds for the WCD9340 audio codec to match the vendor downstream calibration.
Signed-off-by Cédric Bellegarde <[email protected]>--- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 4 ++++ 1 file changed, 4 insertions(+)arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +0
-0
Hello Cédric,
only enchilada has the 3.5 jack, I assume no use for fajita ... but it doesn't matter much here as it just changes existing default.
David
Quoted 17 lines
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +4
-1@@ -1099,6 +1099,10 @@ &wcd9340 { vdd-tx-supply = <&vreg_s4a_1p8>; vdd-rx-supply = <&vreg_s4a_1p8>; vdd-io-supply = <&vreg_s4a_1p8>; + qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 + 500000 500000 500000 500000>; + qcom,mbhc-headset-vthreshold-microvolt = <1700000>; + qcom,mbhc-headphone-vthreshold-microvolt = <50000>; }; &wifi { ---base-commit:
fe2ec83746e501645709761605c2464a44fd2929
change-id: 20260922-mbhc-342148b3fd5bBest regards,