From 22bca0f44355ed0a0a8b2d41fc23c3f5fcc996e3 Mon Sep 17 00:00:00 2001 From: zhouwl Date: Fri, 1 Apr 2022 19:08:11 +0800 Subject: [PATCH] arm64/dts: overlay linein threshold for rhodec and rhodei Qcom mbhc default linein threshold is 5000, but some AUX carkit speaker impedance is not large than it, mbhc detects it as headphone, not use LINE audio parameter, causes audio performance issue. According to ST test result, overlay it as 4000 for rhodec & rhodei. Change-Id: Iea5a1acf0761c58237c9cf389c087053804bfc6f Signed-off-by: zhouwl Reviewed-on: https://gerrit.mot.com/2232105 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Hujun Liao Submit-Approved: Jira Key --- qcom/blair-rhodei-common-overlay.dtsi | 3 +++ qcom/holi-rhodec-common-overlay.dtsi | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/qcom/blair-rhodei-common-overlay.dtsi b/qcom/blair-rhodei-common-overlay.dtsi index 4f2504f44ab5..8e577afe5d31 100644 --- a/qcom/blair-rhodei-common-overlay.dtsi +++ b/qcom/blair-rhodei-common-overlay.dtsi @@ -38,6 +38,9 @@ cdc-vdd-mic-bias-supply = <>; }; +&holi_snd { + qcom,msm-hs-linein-threshold = <4000>; +}; &tlmm { nfc { diff --git a/qcom/holi-rhodec-common-overlay.dtsi b/qcom/holi-rhodec-common-overlay.dtsi index 2728ef8527c8..7b9168e06dc6 100644 --- a/qcom/holi-rhodec-common-overlay.dtsi +++ b/qcom/holi-rhodec-common-overlay.dtsi @@ -38,6 +38,10 @@ cdc-vdd-mic-bias-supply = <>; }; +&holi_snd { + qcom,msm-hs-linein-threshold = <4000>; +}; + /* Dummy LDO reference */ &sdhc_1 { status = "ok";