mbox series

[v5,0/4] clk: qcom: Add support for SM8150 rpmh

Message ID 20190826173120.2971-1-vkoul@kernel.org
Headers show
Series clk: qcom: Add support for SM8150 rpmh | expand

Message

Vinod Koul Aug. 26, 2019, 5:31 p.m. UTC
Add support for rpm clock controller found in SM8150 and while at it update
the driver to support parent data clock scheme as suggested by Stephen.

Changes since v4:
 - Fix the .fw_name as xo instead of xo_board (v4 erroneously did for
   .name)

Changes since v3:
 - Make clock parent name as xo instead of xo_board

Changes since v2:
 - Add reviewed-by from Bjorn
 - Update the parent name as xo_board
 - Fix style issue

Changes since v1:
 - Describe parent clocks for rpmhcc
 - Add support for parent data scheme for rpmhcc

Vinod Koul (4):
  dt-bindings: clock: Document the parent clocks
  clk: qcom: clk-rpmh: Convert to parent data scheme
  dt-bindings: clock: Document SM8150 rpmh-clock compatible
  clk: qcom: clk-rpmh: Add support for SM8150

 .../bindings/clock/qcom,rpmh-clk.txt          |  7 +++-
 drivers/clk/qcom/clk-rpmh.c                   | 38 ++++++++++++++++++-
 2 files changed, 42 insertions(+), 3 deletions(-)

-- 
2.20.1

Comments

Rob Herring Aug. 27, 2019, 6:50 p.m. UTC | #1
On Mon, 26 Aug 2019 23:01:17 +0530, Vinod Koul wrote:
> With clock parent data scheme we must specify the parent clocks for the

> rpmhcc nodes. So describe the parent clock for rpmhcc in the bindings.

> 

> Signed-off-by: Vinod Koul <vkoul@kernel.org>

> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> ---

>  Documentation/devicetree/bindings/clock/qcom,rpmh-clk.txt | 3 +++

>  1 file changed, 3 insertions(+)

> 


Reviewed-by: Rob Herring <robh@kernel.org>
Stephen Boyd Sept. 9, 2019, 11:41 a.m. UTC | #2
Quoting Vinod Koul (2019-08-26 10:31:17)
> With clock parent data scheme we must specify the parent clocks for the

> rpmhcc nodes. So describe the parent clock for rpmhcc in the bindings.

> 

> Signed-off-by: Vinod Koul <vkoul@kernel.org>

> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> ---


Applied to clk-next
Stephen Boyd Sept. 9, 2019, 11:42 a.m. UTC | #3
Quoting Vinod Koul (2019-08-26 10:31:18)
> Convert the rpmh clock driver to use the new parent data scheme by

> specifying the parent data for board clock.

> 

> Signed-off-by: Vinod Koul <vkoul@kernel.org>

> ---


Applied to clk-next