]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: apq8016-sbc: add mbhc buttons support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 18 Sep 2017 11:14:59 +0000 (13:14 +0200)
committerAndy Gross <andy.gross@linaro.org>
Thu, 12 Oct 2017 04:57:03 +0000 (23:57 -0500)
This patch adds voltage thresholds configuration required for getting
audio headsets button support.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

index 1d63e6b879de7cc51784077be9b138f9f5635c8e..933978d7d829c07bcefa259b413ca38246cbafab 100644 (file)
@@ -379,6 +379,8 @@ &wcd_codec {
         status = "okay";
         clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;
         clock-names = "mclk";
+       qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
+       qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
 };
 
 &smd_rpm_regulators {