diff mbox series

[03/11] ASoC: q6afe: dt-bindings: add compatible string to dais

Message ID 20180625143115.8346-4-srinivas.kandagatla@linaro.org
State New
Headers show
Series ASoC: qdsp6: Fix dt based module loading | expand

Commit Message

Srinivas Kandagatla June 25, 2018, 2:31 p.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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Niklas Cassel June 25, 2018, 6:01 p.m. UTC | #1
On Mon, Jun 25, 2018 at 03:31:07PM +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..f7ea77ba7947 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>

> @@ -103,6 +108,7 @@ q6afe@4 {

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

>  		#address-cells = <1>;

>  		#size-cells = <0>;

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


Perhaps have the compatible before #sound-dai-cells
(and #size-cells, #address-cells) like in two previous
patches.

>  

>  		hdmi@1 {

>  			reg = <1>;

> -- 

> 2.16.2

> 

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Srinivas Kandagatla June 26, 2018, 8:53 a.m. UTC | #2
On 25/06/18 19:01, Niklas Cassel wrote:
>> @ -103,6 +108,7 @@ q6afe@4 {

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

>>   		#address-cells = <1>;

>>   		#size-cells = <0>;

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

> Perhaps have the compatible before #sound-dai-cells

> (and #size-cells, #address-cells) like in two previous

> patches.

> 

Sure, Will fix this in next version!
thanks,
srini
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt
index bdbf87df8c0b..f7ea77ba7947 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>
@@ -103,6 +108,7 @@  q6afe@4 {
 		#sound-dai-cells = <1>;
 		#address-cells = <1>;
 		#size-cells = <0>;
+		compatible = "qcom,q6afe-dais";
 
 		hdmi@1 {
 			reg = <1>;