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(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index 439779f308e3..8a99c3f55bf6 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -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, -- Cédric Bellegarde <[email protected]>

