mbox series

[0/6] clk: qcom: mmcc-msm8996: modernize the driver

Message ID 20220617122922.769562-1-dmitry.baryshkov@linaro.org (mailing list archive)
Headers show
Series clk: qcom: mmcc-msm8996: modernize the driver | expand

Message

Dmitry Baryshkov June 17, 2022, 12:29 p.m. UTC
Update mmcc-msm8996 driver and bindings to use DT-specified clocks
rather than fetching the clocks from the global clocks list.

Dmitry Baryshkov (6):
  dt-bindings: clock: qcom,mmcc: fix clocks/clock-names definitions
  dt-bindings: clocks: qcom,mmcc: define clocks/clock-names for MSM8996
  clk: qcom: mmcc-msm8996: use ARRAY_SIZE instead of specifying
    num_parents
  clk: qcom: mmcc-msm8996: move clock parent tables down
  clk: qcom: mmcc-msm8996: use parent_hws/_data instead of parent_names
  arm64: dts: qcom: msm8996: add clocks to the MMCC device node

 .../devicetree/bindings/clock/qcom,mmcc.yaml  |  162 ++-
 arch/arm64/boot/dts/qcom/msm8996.dtsi         |   16 +
 drivers/clk/qcom/mmcc-msm8996.c               | 1052 ++++++++++-------
 3 files changed, 808 insertions(+), 422 deletions(-)