ARM: dts: msm: Add audio test device for sdm670
Add audio test device as child of load module device.
This will invoke deferred probe devices to address
sound card failure issue.
Change-Id: Ibf6c1a15ebf8b8eb114549f60d096f0e8b7819ff
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
diff --git a/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt b/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt
index 34c2963..64eaf9f 100644
--- a/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt
+++ b/Documentation/devicetree/bindings/sound/qcom-audio-dev.txt
@@ -293,6 +293,19 @@
- compatible : "qcom,msm-pcm-hostless"
+* audio-load-mod
+
+Required properties:
+
+ - compatible : "qcom,audio-load-mod"
+
+Optional properties:
+
+ - compatible : "qcom,audio-test-mod"
+ Add this compatible as child device to load-module device.
+ This child device is added after lpass is up to invoke
+ deferred probe devices.
+
* msm-ocmem-audio
Required properties:
@@ -640,6 +653,13 @@
compatible = "qcom,msm-pcm-hostless";
};
+ audio_load_mod {
+ compatible = "qcom,audio-load-mod";
+ audio_test_mod {
+ compatible = "qcom,audio-test-mod";
+ };
+ };
+
qcom,msm-ocmem-audio {
compatible = "qcom,msm-ocmem-audio";
qcom,msm_bus,name = "audio-ocmem";
diff --git a/arch/arm64/boot/dts/qcom/sdm670-audio.dtsi b/arch/arm64/boot/dts/qcom/sdm670-audio.dtsi
index bda44cc..16b62a9 100644
--- a/arch/arm64/boot/dts/qcom/sdm670-audio.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm670-audio.dtsi
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -23,6 +23,13 @@
};
&soc {
+ audio_load_mod {
+ compatible = "qcom,audio-load-mod";
+ audio_test_mod {
+ compatible = "qcom,audio-test-mod";
+ };
+ };
+
qcom,avtimer@62cf700c {
compatible = "qcom,avtimer";
reg = <0x62cf700c 0x4>,