mbox series

[v2,00/16] clk: qcom: gcc-qcs404: convert to parent_data

Message ID 20221226042154.2666748-1-dmitry.baryshkov@linaro.org (mailing list archive)
Headers show
Series clk: qcom: gcc-qcs404: convert to parent_data | expand

Message

Dmitry Baryshkov Dec. 26, 2022, 4:21 a.m. UTC
This patchset reworks and improves the Qualcomm QCS404 global clock
controller driver and it's platform usage.

It fixes some omissions (MDSS and oxili GDSCs, incorrect clock names,
direct number usage in the qcs404.dtsi). Then it converts the gcc driver
to use parent_data/parent_hws where prefereable and finally applies
these features and fixes to the qcs404.dtsi.

Dependency: [1] (for the qcs404.dtsi changes only)

[1] https://lore.kernel.org/linux-arm-msm/20221226031059.2563165-1-dmitry.baryshkov@linaro.org

Changes since v1:
- Reworked the patchset to use indices for the clocks rather than fw
  names (suggested by Konrad)
- Added a patch to add the xo clock to the rpmcc node.

Dmitry Baryshkov (16):
  dt-bindings: clock: qcom: gcc-qcs404: add two GDSC entries
  dt-bindings: clock: qcom: gcc-qcs404: switch to gcc.yaml
  dt-bindings: clock: qcom: gcc-qcs404: define clocks/clock-names for
    QCS404
  clk: qcom: gcc-qcs404: use ARRAY_SIZE instead of specifying
    num_parents
  clk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents
  clk: qcom: gcc-qcs404: fix names of the DSI clocks used as parents
  clk: qcom: gcc-qcs404: fix the name of the HDMI PLL clock
  clk: qcom: gcc-qcs404: get rid of the test clock
  clk: qcom: gcc-qcs404: move PLL clocks up
  clk: qcom: gcc-qcs404: use parent_hws/_data instead of parent_names
  clk: qcom: gcc-qcs404: sort out the cxo clock
  clk: qcom: gcc-qcs404: add support for GDSCs
  arm64: dts: qcom: qcs404: use symbol names for PCIe resets
  arm64: dts: qcom: qcs404: add power-domains-cells to gcc node
  arm64: dts: qcom: qcs404: add clocks to the gcc node
  arm64: dts: qcom: qcs404: add xo clock to rpm clock controller

 .../bindings/clock/qcom,gcc-qcs404.yaml       |  38 +-
 arch/arm64/boot/dts/qcom/qcs404.dtsi          |  22 +-
 drivers/clk/qcom/gcc-qcs404.c                 | 841 +++++++++---------
 include/dt-bindings/clock/qcom,gcc-qcs404.h   |   4 +
 4 files changed, 455 insertions(+), 450 deletions(-)

Comments

Bjorn Andersson Dec. 27, 2022, 6:04 p.m. UTC | #1
On Mon, 26 Dec 2022 06:21:38 +0200, Dmitry Baryshkov wrote:
> This patchset reworks and improves the Qualcomm QCS404 global clock
> controller driver and it's platform usage.
> 
> It fixes some omissions (MDSS and oxili GDSCs, incorrect clock names,
> direct number usage in the qcs404.dtsi). Then it converts the gcc driver
> to use parent_data/parent_hws where prefereable and finally applies
> these features and fixes to the qcs404.dtsi.
> 
> [...]

Applied, thanks!

[13/16] arm64: dts: qcom: qcs404: use symbol names for PCIe resets
        commit: 41a37d157a613444c97e8f71a5fb2a21116b70d7
[14/16] arm64: dts: qcom: qcs404: add power-domains-cells to gcc node
        commit: 1eb309964e6384eda56c2d2816c3857c0b7c3ea6
[15/16] arm64: dts: qcom: qcs404: add clocks to the gcc node
        commit: 3494938a7e9e436be5dc989aecc1c800ecf2dba9
[16/16] arm64: dts: qcom: qcs404: add xo clock to rpm clock controller
        commit: f961fd2f6717c34a20a6951dcf9782a29e648f6c

Best regards,