Message ID | 20210903112032.25834-13-srinivas.kandagatla@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | ASoC: qcom: Add AudioReach support | expand |
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 --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>; + }; + }; + };
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