Devicetree
 help / color / mirror / Atom feed
From: David Heidelberg <david@ixit.cz>
To: "Cédric Bellegarde" <cedric.bellegarde@adishatz.org>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konradybcio@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: sdm845-oneplus-common: Configure MBHC thresholds
Date: Wed, 23 Sep 2026 14:17:08 +0200	[thread overview]
Message-ID: <ee8a106a-4700-4a5d-84f8-bb8ba4b084bd@ixit.cz> (raw)
In-Reply-To: <20260922-mbhc-v1-1-bd123e7fb899@adishatz.org>

On 22/09/2026 21:48, Cédric Bellegarde wrote:
> 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 <cedric.bellegarde@adishatz.org>
> ---
>   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

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.

Reviewed-by: David Heidelberg <david@ixit.cz>

David

> @@ -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,


      parent reply	other threads:[~2026-09-23 12:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22 19:48 [PATCH] arm64: dts: qcom: sdm845-oneplus-common: Configure MBHC thresholds Cédric Bellegarde
2026-09-23  7:59 ` Konrad Dybcio
2026-09-23 12:17 ` David Heidelberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee8a106a-4700-4a5d-84f8-bb8ba4b084bd@ixit.cz \
    --to=david@ixit.cz \
    --cc=andersson@kernel.org \
    --cc=cedric.bellegarde@adishatz.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox