diff mbox series

[v5,12/21] ASoC: dt-bindings: lpass-clocks: add q6prm clocks compatible

Message ID 20210903112032.25834-13-srinivas.kandagatla@linaro.org
State Superseded
Headers show
Series ASoC: qcom: Add AudioReach support | expand

Commit Message

Srinivas Kandagatla Sept. 3, 2021, 11:20 a.m. UTC
On AudioReach audio Framework access to LPASS ports is via Q6PRM
(Proxy Resource Manager) service, so add a dedicated lpass-clock compatible
string for this.

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

---
 .../sound/qcom,q6dsp-lpass-clocks.yaml         | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

-- 
2.21.0

Comments

Rob Herring (Arm) Sept. 7, 2021, 10:57 p.m. UTC | #1
On Fri, Sep 03, 2021 at 12:20:23PM +0100, Srinivas Kandagatla wrote:
> On AudioReach audio Framework access to LPASS ports is via Q6PRM

> (Proxy Resource Manager) service, so add a dedicated lpass-clock compatible

> string for this.

> 

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

> ---

>  .../sound/qcom,q6dsp-lpass-clocks.yaml         | 18 ++++++++++++++++++

>  1 file changed, 18 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml

> index 589c3f1e2008..9f3de2307d1c 100644

> --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml

> +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml

> @@ -16,6 +16,7 @@ properties:

>    compatible:

>      enum:

>        - qcom,q6afe-clocks

> +      - qcom,q6prm-lpass-clocks

>  

>    reg:

>      maxItems: 1

> @@ -54,3 +55,20 @@ examples:

>              };

>          };

>        };

> +

> +  - |

> +    #include <dt-bindings/soc/qcom,gpr.h>

> +    gpr {

> +        #address-cells = <1>;

> +        #size-cells = <0>;

> +        gpr-service@2 {

> +            reg = <GPR_PRM_MODULE_IID>;

> +            #address-cells = <1>;

> +            #size-cells = <0>;

> +            q6prmcc@2 {


clock-controller@2

With that,

Reviewed-by: Rob Herring <robh@kernel.org>


> +              compatible = "qcom,q6prm-lpass-clocks";

> +              reg = <2>;

> +              #clock-cells = <2>;

> +            };

> +        };

> +      };

> -- 

> 2.21.0

> 

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml
index 589c3f1e2008..9f3de2307d1c 100644
--- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-clocks.yaml
@@ -16,6 +16,7 @@  properties:
   compatible:
     enum:
       - qcom,q6afe-clocks
+      - qcom,q6prm-lpass-clocks
 
   reg:
     maxItems: 1
@@ -54,3 +55,20 @@  examples:
             };
         };
       };
+
+  - |
+    #include <dt-bindings/soc/qcom,gpr.h>
+    gpr {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        gpr-service@2 {
+            reg = <GPR_PRM_MODULE_IID>;
+            #address-cells = <1>;
+            #size-cells = <0>;
+            q6prmcc@2 {
+              compatible = "qcom,q6prm-lpass-clocks";
+              reg = <2>;
+              #clock-cells = <2>;
+            };
+        };
+      };