Skip to content

Improve clock support for Actions S500 SoC

Cristian Ciocaltea linux-arm-kernel linux-clk linux-devicetree lkml 3 versions – Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 8 repliesApplied
  2. v26 patches 6 repliesSuperseded
  3. v16 patches 16 repliesSuperseded

Changes in v3 from the cover letter

- Fixed swapped flags between "ahbprediv_clk" and "ahb_clk" in patch 4/6
- Added Reviewed-by tags from Mani
- Rebased patch series on v5.13-rc5

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6clk: actions: Fix UART clock dividers on Owl S500 SoCdrivers/clk/actions/owl-s500.c+6 -61 reply
2/6clk: actions: Fix SD clocks factor table on Owl S500 SoCdrivers/clk/actions/owl-s500.c+2 -41 reply
3/6clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoCdrivers/clk/actions/owl-s500.c+29 -151 reply
4/6clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoCdrivers/clk/actions/owl-s500.c+11 -82 replies
5/6dt-bindings: clock: Add NIC and ETHERNET bindings for Actions S500 SoCinclude/dt-bindings/clock/actions,s500-cmu.h+4 -21 reply
6/6clk: actions: Add NIC and ETHERNET clock support for Actions S500 SoCdrivers/clk/actions/owl-s500.c+16 -11 reply

Reviews trailers per patch

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

PatchManivannan SadhasivamRob Herring
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b A-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/6] Improve clock support for Actions S500 SoC

While working on a driver to support the Actions Semi Owl Ethernet MAC, I found and fixed some issues on the existing implementation of the S500 SoC clock subsystem and, additionally, I added two missing clocks.

Thanks,
Cristi

Changes in v3:
- Fixed swapped flags between "ahbprediv_clk" and "ahb_clk" in patch 4/6
- Added Reviewed-by tags from Mani
- Rebased patch series on v5.13-rc5

Changes in v2 (according to Mani's review):
- Re-added entry "{ 24, 1, 25 }" to sd_factor_table, according to the datasheet (V1.8+), this is a valid divider
- Re-added OWL_GATE_HW to SENSOR[0-1], according to the datasheet they are gated, even though the vendor implementation states the opposite
- Reverted the addition of the clock div table for H clock to support the '1' divider (according to the datasheet), even though the vendor implementation marks it as reserved
- Reordered "nic_clk_mux_p" after "ahbprediv_clk_mux_p" to follow the reg field ordering
- Rebased patch series on v5.13-rc3

Cristian Ciocaltea (6):
clk: actions: Fix UART clock dividers on Owl S500 SoC
clk: actions: Fix SD clocks factor table on Owl S500 SoC
clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC
dt-bindings: clock: Add NIC and ETHERNET bindings for Actions S500 SoC
clk: actions: Add NIC and ETHERNET clock support for Actions S500 SoC

 drivers/clk/actions/owl-s500.c               | 92 +++++++++++++-------
 include/dt-bindings/clock/actions,s500-cmu.h |  6 +-
 2 files changed, 65 insertions(+), 33 deletions(-)
Signature · 1 line
2.32.0