Skip to content

clk: samsung: add common support for CPU clocks

Will McVicker linux-arm-kernel linux-clk linux-samsung-soc lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 8 repliesIn review
  2. v32 patches 6 repliesSuperseded

Changes in v4 from the cover letter

- Updated 'struct samsung_cpu_clock' to reference the parent and alt_parent hw clocks via ID instead of name
- Dropped __clk_lookup() in favor of ctx->clk_data.hw instead

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: samsung: add support for CPU clocksdrivers/clk/samsung/clk-cpu.c drivers/clk/samsung/clk.c drivers/clk/samsung/clk.h+46 -04 replies
2/2clk: samsung: exynos5433: update apollo and atlas clock probingdrivers/clk/samsung/clk-exynos5433.c+48 -724 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMarek SzyprowskiKrzysztof KozlowskiChanwoo Choi
1/2T-b A-b A-b
2/2T-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [RFT PATCH v4 0/2] clk: samsung: add common support for CPU clocks

These two patches were originally a part of the series [1]. They add support to the common samsung clock driver to parse and register the CPU clocks when provided. This allows for the samsung clock drivers to simply provide a struct samsung_cpu_clock to struct samsung_cmu_info and then call samsung_cmu_register_one(). With this new support, we can now get rid of the custom apollo and atlas CLK_OF_DECLARE init functions.

Since I don't have the hardware to test these, I'm including the RFT tag to try and get help testing and verifying these.

[1] https://lore.kernel.org/all/[email protected]/

Will McVicker (2):
[RFT] clk: samsung: add support for CPU clocks
[RFT] clk: samsung: exynos5433: update apollo and atlas clock probing
--
Changes in v4:
- Updated 'struct samsung_cpu_clock' to reference the parent and alt_parent hw clocks via ID instead of name
- Dropped __clk_lookup() in favor of ctx->clk_data.hw instead

Changes in v3:
- Same as v1-v2
- Tested-by: Marek Szyprowski <[email protected]>

 drivers/clk/samsung/clk-cpu.c        |  18 ++++
 drivers/clk/samsung/clk-exynos5433.c | 120 +++++++++++----------------
 drivers/clk/samsung/clk.c            |   2 +
 drivers/clk/samsung/clk.h            |  26 ++++++
 4 files changed, 94 insertions(+), 72 deletions(-)
Signature · 1 line
2.33.0.1079.g6e70778dc9-goog