diff mbox

[01/11] ASoC: q6adm: dt-bindings: add compatible string to routing

Message ID 20180625143115.8346-2-srinivas.kandagatla@linaro.org (mailing list archive)
State Accepted
Commit c486a185744c593417a126aebb119771c1bbe670
Headers show

Commit Message

Srinivas Kandagatla June 25, 2018, 2:31 p.m. UTC
Add compatible string to routing so that it can support DT based module
autoloading.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 Documentation/devicetree/bindings/sound/qcom,q6adm.txt | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Niklas Cassel June 25, 2018, 5:59 p.m. UTC | #1
Acked-by: Niklas Cassel <niklas.cassel@linaro.org>

On Mon, Jun 25, 2018 at 03:31:05PM +0100, Srinivas Kandagatla wrote:
> Add compatible string to routing so that it can support DT based module
> autoloading.
> 
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> ---
>  Documentation/devicetree/bindings/sound/qcom,q6adm.txt | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/sound/qcom,q6adm.txt b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt
> index cb709e5dbc44..bbae426cdfb1 100644
> --- a/Documentation/devicetree/bindings/sound/qcom,q6adm.txt
> +++ b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt
> @@ -18,6 +18,11 @@ used by the apr service device.
>  = ADM routing
>  "routing" subnode of the ADM node represents adm routing specific configuration
>  
> +- compatible:
> +	Usage: required
> +	Value type: <stringlist>
> +	Definition: must be "qcom,q6adm-routing".
> +
>  - #sound-dai-cells
>  	Usage: required
>  	Value type: <u32>
> @@ -28,6 +33,7 @@ q6adm@8 {
>  	compatible = "qcom,q6adm";
>  	reg = <APR_SVC_ADM>;
>  	q6routing: routing {
> +		compatible = "qcom,q6adm-routing";
>  		#sound-dai-cells = <0>;
>  	};
>  };
> -- 
> 2.16.2
>
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/sound/qcom,q6adm.txt b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt
index cb709e5dbc44..bbae426cdfb1 100644
--- a/Documentation/devicetree/bindings/sound/qcom,q6adm.txt
+++ b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt
@@ -18,6 +18,11 @@  used by the apr service device.
 = ADM routing
 "routing" subnode of the ADM node represents adm routing specific configuration
 
+- compatible:
+	Usage: required
+	Value type: <stringlist>
+	Definition: must be "qcom,q6adm-routing".
+
 - #sound-dai-cells
 	Usage: required
 	Value type: <u32>
@@ -28,6 +33,7 @@  q6adm@8 {
 	compatible = "qcom,q6adm";
 	reg = <APR_SVC_ADM>;
 	q6routing: routing {
+		compatible = "qcom,q6adm-routing";
 		#sound-dai-cells = <0>;
 	};
 };