clk: spacemit: add changes for v6.17
Subsystems (3)
Hi Stephen,
Here is clock changes for v6.17, please pull.
Basically, what we've added here are two changes:
1) Mark pll1_d8 clock as critical to prevent it from being shut down in the resource withdrawal path once the probe phase fails
2) Extend K1 clock framework to support reset auxiliary devices, and also route the reset driver via clock tree to avoid shared tags, please see discussion here[1] with reset maintainer for more details if needed.
Thank you!
Yixun Lan
The following changes since commit 19272b37aa4f83ca52bdf9c16d5d81bdd1354494:
Linux 6.16-rc1 (2025-06-08 13:44:43 -0700)
are available in the Git repository at:
https://github.com/spacemit-com/linux tags/spacemit-clk-for-6.17-1
for you to fetch changes up to c79550f69f0f21be069385c20cd6490b862ba2a5:
Merge tag 'spacemit-reset-for-6.17-1' of https://github.com/spacemit-com/linux (2025-07-07 22:07:15 +0800)
----------------------------------------------------------------
RISC-V SpacemiT clock changes for 6.17
- Mark clock of pll1_d8 as critical
- Add reset support for K1 SoC
----------------------------------------------------------------
Alex Elder (6):
dt-bindings: soc: spacemit: define spacemit,k1-ccu resets
soc: spacemit: create a header for clock/reset registers
clk: spacemit: set up reset auxiliary devices
clk: spacemit: define three reset-only CCUs
clk: spacemit: mark K1 pll1_d8 as critical
reset: spacemit: add support for SpacemiT CCU resets
Yixun Lan (1):
Merge tag 'spacemit-reset-for-6.17-1' of https://github.com/spacemit-com/linux
.../bindings/soc/spacemit/spacemit,k1-syscon.yaml | 27 +- drivers/clk/spacemit/Kconfig | 1 + drivers/clk/spacemit/ccu-k1.c | 242 ++++++++-------- drivers/clk/spacemit/ccu_mix.h | 11 +- drivers/reset/Kconfig | 9 + drivers/reset/Makefile | 1 + drivers/reset/reset-spacemit.c | 304 +++++++++++++++++++++ include/dt-bindings/clock/spacemit,k1-syscon.h | 141 ++++++++++ include/soc/spacemit/k1-syscon.h | 160 +++++++++++ 9 files changed, 766 insertions(+), 130 deletions(-) create mode 100644 drivers/reset/reset-spacemit.c create mode 100644 include/soc/spacemit/k1-syscon.h
Stephen Boyd
maintainerQuoting Yixun Lan (2025-07-08 18:15:28)
Quoted 27 lines
Hi Stephen,
Here is clock changes for v6.17, please pull.
Basically, what we've added here are two changes:
1) Mark
pll1_d8clock as critical to prevent it from being shut down in the resource withdrawal path once the probe phase fails2) Extend K1 clock framework to support reset auxiliary devices, and also route the reset driver via clock tree to avoid shared tags, please see discussion here[1] with reset maintainer for more details if needed.
Thank you!
Yixun Lan
The following changes since commit
19272b37aa4f83ca52bdf9c16d5d81bdd1354494:Linux 6.16-rc1 (2025-06-08 13:44:43 -0700)
are available in the Git repository at:
Quoted 7 lines
https://github.com/spacemit-com/linux tags/spacemit-clk-for-6.17-1
for you to fetch changes up to
c79550f69f0f21be069385c20cd6490b862ba2a5:Merge tag 'spacemit-reset-for-6.17-1' of https://github.com/spacemit-com/linux (2025-07-07 22:07:15 +0800)
----------------------------------------------------------------
Thanks. Pulled into to clk-next