Thread (17 messages) 17 messages, 2 authors, 2021-09-14
STALE1777d

[PATCH 0/8] msm8998 clock-controller cleanup

From: Marijn Suijten <marijn.suijten@somainline.org>
Date: 2021-09-11 12:14:02
Also in: linux-arm-msm, linux-clk, lkml, phone-devel

Clean up the clock-controllers for msm8998 similar to sdm660 by:
- Using parent_data/hws for internal relations;
- Removing the "xo" fixed-factor clock that only existed for drivers
  that rely on this global name (the DT only provides "xo_board");
- Using ARRAY_SIZE for num_parents instead of hardcoding array length;
- Removing unnecessary fallbacks to global names of parent clocks, these
  are already specified in the DT;
- Updating DT-bindings to reflect the clocks used by gcc.

Note that this should land some time after [1] to give users time to
update their firmware (DT) before updating the kernel.  Additionally [2]
should make it in before DSI PLL nodes are added.

[1]: https://lore.kernel.org/linux-arm-msm/20210911120101.248476-1-marijn.suijten@somainline.org/ (local)
[2]: https://lore.kernel.org/linux-arm-msm/20210830182445.167527-2-marijn.suijten@somainline.org/ (local)

Marijn Suijten (8):
  clk: qcom: gcc-msm8998: Move parent names and mapping below GPLLs
  clk: qcom: gcc-msm8998: Use parent_data/hws for internal clock
    relations
  clk: qcom: gcc-msm8998: Remove transient global "xo" clock
  clk: qcom: gpucc-msm8998: Use ARRAY_SIZE for num_parents
  clk: qcom: mmcc-msm8998: Use ARRAY_SIZE for num_parents
  dt-bindings: clocks: qcom,gcc-msm8998: Reflect actually referenced
    clks
  clk: qcom: gpucc-msm8998: Remove unnecessary fallbacks to global
    clocks
  clk: qcom: mmcc-msm8998: Remove unnecessary fallbacks to global clocks

 .../bindings/clock/qcom,gcc-msm8998.yaml      |  26 +-
 drivers/clk/qcom/gcc-msm8998.c                | 705 ++++++++++--------
 drivers/clk/qcom/gpucc-msm8998.c              |  13 +-
 drivers/clk/qcom/mmcc-msm8998.c               | 183 +++--
 4 files changed, 475 insertions(+), 452 deletions(-)

-- 
2.33.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help