Update gcc-msm8916 driver and bindings to use DT-specified clocks rather than fetching the clocks from the global clocks list. Changes since v3: - Describe that ARRAY_SIZE conversion fixes the issue in the driver (noted by Marijn), - Rephrase commit message for the move of GPLL/parent tables patch (suggested by Marijn), - Fixed the placement of gcc_mss_q6_bimc_axi_clk clock (again, Marijn). Changes since v2: - Use xo-board for the XO rather than RPM clock. This will be sorted out separately (requested by Stephan Gerhold). Changes since v1: - None. Dmitry Baryshkov (7): dt-bindings: clk: qcom,gcc-*: use qcom,gcc.yaml dt-bindings: clock: separate bindings for MSM8916 GCC device clk: qcom: gcc-msm8916: use ARRAY_SIZE instead of specifying num_parents clk: qcom: gcc-msm8916: move GPLL definitions up clk: qcom: gcc-msm8916: move gcc_mss_q6_bimc_axi_clk down clk: qcom: gcc-msm8916: use parent_hws/_data instead of parent_names arm64: dts: qcom: msm8916: add clocks to the GCC device node .../bindings/clock/qcom,gcc-msm8916.yaml | 61 + .../bindings/clock/qcom,gcc-msm8976.yaml | 21 +- .../bindings/clock/qcom,gcc-msm8994.yaml | 21 +- .../bindings/clock/qcom,gcc-msm8996.yaml | 25 +- .../bindings/clock/qcom,gcc-msm8998.yaml | 25 +- .../bindings/clock/qcom,gcc-other.yaml | 1 - .../bindings/clock/qcom,gcc-qcm2290.yaml | 25 +- .../bindings/clock/qcom,gcc-sc7180.yaml | 25 +- .../bindings/clock/qcom,gcc-sc7280.yaml | 21 +- .../bindings/clock/qcom,gcc-sc8180x.yaml | 25 +- .../bindings/clock/qcom,gcc-sc8280xp.yaml | 21 +- .../bindings/clock/qcom,gcc-sdm845.yaml | 25 +- .../bindings/clock/qcom,gcc-sdx55.yaml | 21 +- .../bindings/clock/qcom,gcc-sdx65.yaml | 21 +- .../bindings/clock/qcom,gcc-sm6115.yaml | 25 +- .../bindings/clock/qcom,gcc-sm6125.yaml | 25 +- .../bindings/clock/qcom,gcc-sm6350.yaml | 25 +- .../bindings/clock/qcom,gcc-sm8150.yaml | 25 +- .../bindings/clock/qcom,gcc-sm8250.yaml | 25 +- .../bindings/clock/qcom,gcc-sm8350.yaml | 21 +- .../bindings/clock/qcom,gcc-sm8450.yaml | 21 +- arch/arm64/boot/dts/qcom/msm8916.dtsi | 14 + drivers/clk/qcom/gcc-msm8916.c | 1020 +++++++++-------- 23 files changed, 669 insertions(+), 870 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc-msm8916.yaml -- 2.35.1