arm64: dts: qcom: c630: add headset jack and button detection support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 9 Dec 2021 17:53:42 +0000 (17:53 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 15 Dec 2021 22:20:19 +0000 (16:20 -0600)
Add MBHC support available in WCD934X codec.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Steev Klimaszewski <steev@kali.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211209175342.20386-3-srinivas.kandagatla@linaro.org
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts

index 2e882a9..58845a1 100644 (file)
        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>;
 
        swm: swm@c85 {
                left_spkr: wsa8810-left{