On Wed, Apr 18, 2018 at 04:31:40PM +0100, srinivas.kandagatla@xxxxxxxxxx wrote:Yep, I will add a line to state this explicitly.
From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
This patch add DT bindings for ASM (Audio Stream Manager) DSP module.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
Reviewed-and-tested-by: Rohit kumar <rohitkr@xxxxxxxxxxxxxx>
---
.../devicetree/bindings/sound/qcom,q6asm.txt | 33 ++++++++++++++++++++++
include/dt-bindings/sound/qcom,q6asm.h | 22 +++++++++++++++
2 files changed, 55 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm.txt
create mode 100644 include/dt-bindings/sound/qcom,q6asm.h
diff --git a/Documentation/devicetree/bindings/sound/qcom,q6asm.txt b/Documentation/devicetree/bindings/sound/qcom,q6asm.txt
new file mode 100644
index 000000000000..d034a50a202a
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/qcom,q6asm.txt
@@ -0,0 +1,33 @@
+Qualcomm Audio Stream Manager (Q6ASM) binding
+
+Q6ASM is one of the APR audio service on Q6DSP.
+Please refer to qcom,apr.txt for details of the coommon apr service bindings
+used by the apr service device.
Need to be clear this is a child of APR.
Agree, Will fix all such instances.
+
+- but must contain the following property:
+
+- compatible:
+ Usage: required
+ Value type: <stringlist>
+ Definition: must be "qcom,asm-v<MAJOR-NUMBER>.<MINOR-NUMBER>".
+ Or "qcom,asm" where the version number can be queried
+ from DSP.
+ example "qcom,asm-v2.0"
+
+= ASM DAIs (Digial Audio Interface)
+"dais" subnode of the ASM node represents dai specific configuration
+
+- #sound-dai-cells
+ Usage: required
+ Value type: <prop-encoded-array>
+ Definition: Must be 1
+
+= EXAMPLE
+
+q6asm {
Unit address needed.
Opps!! will fix all such instances with afe and asm too.
+ compatible = "qcom,q6asm";
Doesn't match the doc.