[GIT PULL] clk: spacemit: Updates for v6.20

Yixun Lan dlan at gentoo.org
Tue Jan 13 17:43:33 PST 2026


Hi Stephen,

   Please pull SpacemiT's clock changes for v6.20, This PR basically adds
support for SpacemiT new K3 SoC, while doing this I've created an immutable
tag (spacemit-clkrst-v6.20-3) for reset driver in case it also needs to be
merged during same merge window, otherwise everything is normal.

Yixun Lan


The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:

  Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)

are available in the Git repository at:

  https://github.com/spacemit-com/linux tags/spacemit-clk-for-6.20-1

for you to fetch changes up to e371a77255b837f5d64c9d2520f87e41ea5350b9:

  clk: spacemit: k3: add the clock tree (2026-01-09 10:48:17 +0800)

----------------------------------------------------------------
RISC-V SpacemiT clock changes for 6.20

- Fix driver to build as module
- Refactor to extract common code
- Add clock support for new K3 SoC

----------------------------------------------------------------
Inochi Amaoto (2):
      clk: spacemit: Respect Kconfig setting when building modules
      clk: spacemit: Hide common clock driver from user controller

Yixun Lan (13):
      clk: spacemit: prepare common ccu header
      reset: spacemit: fix auxiliary device id
      Merge tags 'spacemit-clkrst-v6.20-1' and 'spacemit-clkrst-v6.20-2' into spacemit-clkrst-v6.20
      Merge tag 'spacemit-clkrst-v6.20-1' into spacemit-clk-for-6.20
      clk: spacemit: extract common ccu functions
      clk: spacemit: add platform SoC prefix to reset name
      Merge tag 'spacemit-clkrst-v6.20-2' into spacemit-clk-for-6.20
      dt-bindings: soc: spacemit: k3: add clock support
      clk: spacemit: ccu_mix: add inverted enable gate clock
      clk: spacemit: ccu_pll: add plla type clock
      clk: spacemit: k3: extract common header
      Merge tag 'spacemit-clkrst-v6.20-3' into spacemit-clk-for-6.20
      clk: spacemit: k3: add the clock tree

 .../devicetree/bindings/clock/spacemit,k1-pll.yaml |    9 +-
 .../bindings/soc/spacemit/spacemit,k1-syscon.yaml  |   14 +-
 drivers/clk/spacemit/Kconfig                       |   20 +-
 drivers/clk/spacemit/Makefile                      |   12 +-
 drivers/clk/spacemit/ccu-k1.c                      |  192 +--
 drivers/clk/spacemit/ccu-k3.c                      | 1487 ++++++++++++++++++++
 drivers/clk/spacemit/ccu_common.c                  |  177 +++
 drivers/clk/spacemit/ccu_common.h                  |   11 +
 drivers/clk/spacemit/ccu_ddn.c                     |    1 +
 drivers/clk/spacemit/ccu_mix.c                     |   21 +-
 drivers/clk/spacemit/ccu_mix.h                     |   12 +
 drivers/clk/spacemit/ccu_pll.c                     |  119 ++
 drivers/clk/spacemit/ccu_pll.h                     |   57 +-
 drivers/reset/reset-spacemit.c                     |    2 +-
 include/dt-bindings/clock/spacemit,k3-clocks.h     |  390 +++++
 include/soc/spacemit/ccu.h                         |   21 +
 include/soc/spacemit/k1-syscon.h                   |   12 +-
 include/soc/spacemit/k3-syscon.h                   |  273 ++++
 18 files changed, 2609 insertions(+), 221 deletions(-)
 create mode 100644 drivers/clk/spacemit/ccu-k3.c
 create mode 100644 drivers/clk/spacemit/ccu_common.c
 create mode 100644 include/dt-bindings/clock/spacemit,k3-clocks.h
 create mode 100644 include/soc/spacemit/ccu.h
 create mode 100644 include/soc/spacemit/k3-syscon.h



More information about the linux-riscv mailing list