summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/sound/qcom-audio-dev.txt23
-rw-r--r--arch/arm/boot/dts/qcom/msm8996-mtp.dtsi17
2 files changed, 40 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt b/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt
index 102857a13a86..2a737bb69bc9 100644
--- a/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt
+++ b/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt
@@ -8,6 +8,15 @@ Required properties:
- qcom,msm-pcm-dsp-id : device node id
+ Optional properties
+
+ - qcom,avs-version:
+ This property can be used to specify the ADSP version/name.
+ Based on ADSP version, we decide if we have to use older
+ ADSP APIs or newer. Right now we are using "AVS 2.7" for
+ 8996 purpose.If the ADSP version is anything other than this
+ we use new ADSP APIs.
+
* msm-pcm-low-latency
Required properties:
@@ -28,6 +37,13 @@ Required properties:
ultra : ultra low latency stream
ull-pp : ultra low latency stream with post-processing capability
+ - qcom,avs-version:
+ This property can be used to specify the ADSP version/name.
+ Based on ADSP version, we decide if we have to use older
+ ADSP APIs or newer. Right now we are using "AVS 2.7" for
+ 8996 purpose.If the ADSP version is anything other than this
+ we use new ADSP APIs.
+
* msm-pcm-dsp-noirq
Required properties:
@@ -75,6 +91,13 @@ Optional properties
8909 purpose.If the ADSP version is anything other than this
we use new ADSP APIs.
+ - qcom,avs-version:
+ This property can be used to specify the ADSP version/name.
+ Based on ADSP version, we decide if we have to use older
+ ADSP APIs or newer. Right now we are using "AVS 2.7" for
+ 8996 purpose.If the ADSP version is anything other than this
+ we use new ADSP APIs.
+
* msm-voip-dsp
Required properties:
diff --git a/arch/arm/boot/dts/qcom/msm8996-mtp.dtsi b/arch/arm/boot/dts/qcom/msm8996-mtp.dtsi
index d3350deba5d2..38f3715973cd 100644
--- a/arch/arm/boot/dts/qcom/msm8996-mtp.dtsi
+++ b/arch/arm/boot/dts/qcom/msm8996-mtp.dtsi
@@ -813,6 +813,23 @@
qcom,wsa-aux-dev-prefix = "SpkrLeft", "SpkrRight",
"SpkrLeft", "SpkrRight";
};
+
+ qcom,msm-pcm {
+ qcom,avs-version;
+ };
+
+ qcom,msm-pcm-low-latency {
+ qcom,avs-version;
+ };
+
+ qcom,msm-ultra-low-latency {
+ qcom,avs-version;
+ };
+
+ qcom,msm-compress-dsp {
+ qcom,avs-version;
+ };
+
qcom,msm-dai-tdm-tert-rx {
qcom,msm-cpudai-tdm-clk-internal = <1>;
qcom,msm-cpudai-tdm-sync-mode = <0>;