OSDN Git Service

ASoC: q6asm: dt-bindings: add compatible string to dais
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 26 Jun 2018 09:20:06 +0000 (10:20 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 26 Jun 2018 14:39:26 +0000 (15:39 +0100)
Add compatible string to dais so that it can support DT based module
autoloading.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/qcom,q6asm.txt

index 2178eb9..f9c7bd8 100644 (file)
@@ -17,6 +17,11 @@ used by the apr service device.
 = ASM DAIs (Digial Audio Interface)
 "dais" subnode of the ASM node represents dai specific configuration
 
+- compatible:
+       Usage: required
+       Value type: <stringlist>
+       Definition: must be "qcom,q6asm-dais".
+
 - #sound-dai-cells
        Usage: required
        Value type: <u32>
@@ -28,6 +33,7 @@ q6asm@7 {
        compatible = "qcom,q6asm";
        reg = <APR_SVC_ASM>;
        q6asmdai: dais {
+               compatible = "qcom,q6asm-dais";
                #sound-dai-cells = <1>;
        };
 };