phone-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] sdm660 clock-controller cleanup
@ 2021-08-29 20:48 Marijn Suijten
  2021-08-29 20:48 ` [PATCH 1/4] clk: qcom: gcc-sdm660: Use ARRAY_SIZE for num_parents Marijn Suijten
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Marijn Suijten @ 2021-08-29 20:48 UTC (permalink / raw)
  To: phone-devel
  Cc: ~postmarketos/upstreaming, AngeloGioacchino Del Regno,
	Konrad Dybcio, Martin Botka, Jami Kettunen, Pavel Dubrova,
	Marijn Suijten, Andy Gross, Bjorn Andersson, Michael Turquette,
	Stephen Boyd, linux-arm-msm, linux-clk, linux-kernel

Following earlier cleanup in gcc to replace parent_names with
parent_data to use pointers to internal clk_hws, this patchset removes
more dependencies on global clock names through clk_parent_data's .name
field, and uses ARRAY_SIZE to determine the number of parent clocks in
the parent_data arrays instead of hardcoding it.

Marijn Suijten (4):
  clk: qcom: gcc-sdm660: Use ARRAY_SIZE for num_parents
  clk: qcom: gpucc-sdm660: Use ARRAY_SIZE for num_parents
  clk: qcom: mmcc-sdm660: Use ARRAY_SIZE for num_parents
  clk: qcom: gpucc-sdm660: Remove fallback to global clock names

 drivers/clk/qcom/gcc-sdm660.c   | 80 ++++++++++++++++-----------------
 drivers/clk/qcom/gpucc-sdm660.c | 15 +++----
 drivers/clk/qcom/mmcc-sdm660.c  | 72 ++++++++++++++---------------
 3 files changed, 83 insertions(+), 84 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-09-14 21:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-29 20:48 [PATCH 0/4] sdm660 clock-controller cleanup Marijn Suijten
2021-08-29 20:48 ` [PATCH 1/4] clk: qcom: gcc-sdm660: Use ARRAY_SIZE for num_parents Marijn Suijten
2021-09-14 21:13   ` Stephen Boyd
2021-08-29 20:48 ` [PATCH 2/4] clk: qcom: gpucc-sdm660: " Marijn Suijten
2021-09-14 21:13   ` Stephen Boyd
2021-08-29 20:48 ` [PATCH 3/4] clk: qcom: mmcc-sdm660: " Marijn Suijten
2021-09-14 21:13   ` Stephen Boyd
2021-08-29 20:48 ` [PATCH 4/4] clk: qcom: gpucc-sdm660: Remove fallback to global clock names Marijn Suijten
2021-09-14 21:13   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).