From 3ca0c48d83b29c44c3f2cde67bb44daa16525476 Mon Sep 17 00:00:00 2001 From: Vignesh Kulothungan Date: Thu, 30 Jul 2020 19:24:13 -0700 Subject: [PATCH] ARM: dts: qcom: Add support for CPS speaker protection Add static cps speaker protection configurations to enable cps speaker protection feature. Change-Id: Ia55bc6cd1a3d80a9d9acdd8e067f1520ffe4c5c7 --- qcom/lahaina-audio-overlay.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qcom/lahaina-audio-overlay.dtsi b/qcom/lahaina-audio-overlay.dtsi index 41d4af5efaaa..882ef00fde8d 100644 --- a/qcom/lahaina-audio-overlay.dtsi +++ b/qcom/lahaina-audio-overlay.dtsi @@ -365,6 +365,12 @@ "swr-dmic.03", "swr-dmic.04", "msm-ext-disp-audio-codec-rx"; qcom,wsa-max-devs = <2>; + qcom,cps_reg_phy_addr = <0x3250300 0x3250304 0x3250318>; + qcom,cps_wsa_vbatt_temp_reg_addr = <0x0000429 0x0000422>; + qcom,cps_threshold_levels = <148 168>; + qcom,cps_normal_values = <0x8E 0x8F 0x8F>; + qcom,cps_lower1_values = <0x10 0xD0 0xD0>; + qcom,cps_lower2_values = <0x0F 0x0F 0x18>; qcom,msm_audio_ssr_devs = <&audio_apr>, <&q6core>, <&lpi_tlmm>, <&bolero>; };