diff mbox series

[v2,03/12] ASoC: q6afe: dt-bindings: add compatible string to dais

Message ID 20180626092016.9296-4-srinivas.kandagatla@linaro.org
State Accepted
Commit e43792c6e5027ad3f0280f5a2e6952b0d436b19b
Headers show
Series ASoC: qdsp6: Fix dt based module loading and minor fixes | expand

Commit Message

Srinivas Kandagatla June 26, 2018, 9:20 a.m. UTC
Add compatible string to dais so that it can support DT based module
autoloading.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

---
 Documentation/devicetree/bindings/sound/qcom,q6afe.txt | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.16.2

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Comments

Niklas Cassel June 26, 2018, 9:28 a.m. UTC | #1
Acked-by: Niklas Cassel <niklas.cassel@linaro.org>


On Tue, Jun 26, 2018 at 10:20:07AM +0100, Srinivas Kandagatla wrote:
> Add compatible string to dais so that it can support DT based module

> autoloading.

> 

> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

> ---

>  Documentation/devicetree/bindings/sound/qcom,q6afe.txt | 6 ++++++

>  1 file changed, 6 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt

> index bdbf87df8c0b..a8179409c194 100644

> --- a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt

> +++ b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt

> @@ -17,6 +17,11 @@ used by all apr services. Must contain the following properties.

>  subnode of "dais" representing board specific dai setup.

>  "dais" node should have following properties followed by dai children.

>  

> +- compatible:

> +	Usage: required

> +	Value type: <stringlist>

> +	Definition: must be "qcom,q6afe-dais"

> +

>  - #sound-dai-cells

>  	Usage: required

>  	Value type: <u32>

> @@ -100,6 +105,7 @@ q6afe@4 {

>  	reg = <APR_SVC_AFE>;

>  

>  	dais {

> +		compatible = "qcom,q6afe-dais";

>  		#sound-dai-cells = <1>;

>  		#address-cells = <1>;

>  		#size-cells = <0>;

> -- 

> 2.16.2

> 

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt
index bdbf87df8c0b..a8179409c194 100644
--- a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt
+++ b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt
@@ -17,6 +17,11 @@  used by all apr services. Must contain the following properties.
 subnode of "dais" representing board specific dai setup.
 "dais" node should have following properties followed by dai children.
 
+- compatible:
+	Usage: required
+	Value type: <stringlist>
+	Definition: must be "qcom,q6afe-dais"
+
 - #sound-dai-cells
 	Usage: required
 	Value type: <u32>
@@ -100,6 +105,7 @@  q6afe@4 {
 	reg = <APR_SVC_AFE>;
 
 	dais {
+		compatible = "qcom,q6afe-dais";
 		#sound-dai-cells = <1>;
 		#address-cells = <1>;
 		#size-cells = <0>;