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

Rob Herring robh at kernel.org
Wed Sep 8 00:57:56 CEST 2021


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 at 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 at 2 {
> +            reg = <GPR_PRM_MODULE_IID>;
> +            #address-cells = <1>;
> +            #size-cells = <0>;
> +            q6prmcc at 2 {

clock-controller at 2

With that,

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

> +              compatible = "qcom,q6prm-lpass-clocks";
> +              reg = <2>;
> +              #clock-cells = <2>;
> +            };
> +        };
> +      };
> -- 
> 2.21.0
> 
> 


More information about the Alsa-devel mailing list