summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVatsal Bucha <vbucha@qti.qualcomm.com>2019-06-04 16:32:19 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-06-04 10:28:55 -0700
commit94353184c15294eea27d9f7cc6115f708b546ac8 (patch)
treec5c66bbba06d08242845d872dde45c75cdb85062
parentdea3597c15f41901a9cdfb5a902dad2e4a12ac78 (diff)
downloaddevicetree-94353184c15294eea27d9f7cc6115f708b546ac8.tar.gz
ARM: dts: msm: Add support for Headset voice activation on lito
Add support to vote for LPASS audio clock node during voice activation usecases for headset detection and switching voice activation usecase to headset device. Change-Id: I7cbcd63a3f5cb94874e4b39739588551ed19cb87
-rw-r--r--qcom/lito-audio-overlay.dtsi4
-rw-r--r--qcom/lito-audio.dtsi12
-rw-r--r--qcom/lito-lpi.dtsi2
3 files changed, 13 insertions, 5 deletions
diff --git a/qcom/lito-audio-overlay.dtsi b/qcom/lito-audio-overlay.dtsi
index 8fa86580..f12e4ea5 100644
--- a/qcom/lito-audio-overlay.dtsi
+++ b/qcom/lito-audio-overlay.dtsi
@@ -154,8 +154,8 @@
va_macro: va-macro@3370000 {
compatible = "qcom,va-macro";
reg = <0x3370000 0x0>;
- clock-names = "va_core_clk";
- clocks = <&clock_audio_va_1 0>;
+ clock-names = "lpass_audio_hw_vote";
+ clocks = <&lpass_audio_hw_vote 0>;
qcom,va-dmic-sample-rate = <600000>;
qcom,va-clk-mux-select = <1>;
qcom,va-island-mode-muxsel = <0x033A0000>;
diff --git a/qcom/lito-audio.dtsi b/qcom/lito-audio.dtsi
index 90140631..06792b87 100644
--- a/qcom/lito-audio.dtsi
+++ b/qcom/lito-audio.dtsi
@@ -27,10 +27,18 @@
#clock-cells = <1>;
};
+ lpass_audio_hw_vote: vote_lpass_audio_hw {
+ compatible = "qcom,audio-ref-clk";
+ qcom,codec-ext-clk-src = <AUDIO_LPASS_AUDIO_HW_VOTE>;
+ #clock-cells = <1>;
+ };
+
bolero: bolero-cdc {
compatible = "qcom,bolero-codec";
- clock-names = "lpass_core_hw_vote";
- clocks = <&lpass_core_hw_vote 0>;
+ clock-names = "lpass_core_hw_vote",
+ "lpass_audio_hw_vote";
+ clocks = <&lpass_core_hw_vote 0>,
+ <&lpass_audio_hw_vote 0>;
bolero-clk-rsc-mngr {
compatible = "qcom,bolero-clk-rsc-mngr";
};
diff --git a/qcom/lito-lpi.dtsi b/qcom/lito-lpi.dtsi
index fbf61b42..46b76092 100644
--- a/qcom/lito-lpi.dtsi
+++ b/qcom/lito-lpi.dtsi
@@ -1384,7 +1384,7 @@
pins = "gpio1";
drive-strength = <2>;
input-enable;
- bias-pull-down;
+ bias-bus-hold;
};
};