Linux SpacemiT device drivers
 help / color / mirror / Atom feed
* [PATCH 0/8] spacemit: k3: add clock and reset support
@ 2026-08-25  4:24 Yixun Lan
  2026-08-25  4:24 ` [PATCH 1/8] clk: spacemit: ccu_mix: fix inverted condition in ccu_mix_trigger_fc() Yixun Lan
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Yixun Lan @ 2026-08-25  4:24 UTC (permalink / raw)
  To: u-boot
  Cc: spacemit, u-boot-spacemit, Lukasz Majewski, Tom Rini, Junhui Liu,
	Raymond Mao, Guodong Xu, Peng Fan, Torsten Duwe, Ryan Chen,
	Jonas Karlman, Alexey Charkov, Yixun Lan

This series try to add clock and reset driver support for SpacemiT K3 SoC,
the patches are largely based on upstream linux framework. Patch [6/8]
truncates the full clock to make it better fit for supporting SPL image.

The reset BITs definition lives in the same register with clock
controller which make them tight coupled, so I'm also putting reset
patches in this series.

Signed-off-by: Yixun Lan <dlan@kernel.org>
---
Yixun Lan (8):
      clk: spacemit: ccu_mix: fix inverted condition in ccu_mix_trigger_fc()
      clk: spacemit: ccu_mix: add inverted enable gate clock
      clk: spacemit: ccu_pll: add plla type clock
      clk: spacemit: k3: extract common header
      clk: spacemit: k3: add the clock tree
      clk: spacemit: k3: reduce clock tree for SPL build
      reset: spacemit: Extract common K1 reset code
      reset: spacemit: Add SpacemiT K3 reset driver

 drivers/clk/spacemit/Kconfig                   |    9 +
 drivers/clk/spacemit/Makefile                  |    1 +
 drivers/clk/spacemit/clk-k3.c                  | 2084 ++++++++++++++++++++++++
 drivers/clk/spacemit/clk_common.h              |    1 +
 drivers/clk/spacemit/clk_mix.c                 |    9 +-
 drivers/clk/spacemit/clk_mix.h                 |   27 +-
 drivers/clk/spacemit/clk_pll.c                 |  124 +-
 drivers/clk/spacemit/clk_pll.h                 |   43 +-
 drivers/reset/Kconfig                          |    1 +
 drivers/reset/Makefile                         |    2 +-
 drivers/reset/spacemit/Kconfig                 |   22 +
 drivers/reset/spacemit/Makefile                |    4 +-
 drivers/reset/spacemit/reset-spacemit-common.c |   93 ++
 drivers/reset/spacemit/reset-spacemit-common.h |   40 +
 drivers/reset/spacemit/reset-spacemit-k1.c     |  128 +-
 drivers/reset/spacemit/reset-spacemit-k3.c     |  244 +++
 include/soc/spacemit/k3-reset.h                |   21 +
 include/soc/spacemit/k3-syscon.h               |  271 +++
 18 files changed, 2992 insertions(+), 132 deletions(-)
---
base-commit: 36c377b9859ffb53eb1e39ea31e8d96d1e0fe1e5
change-id: 20260824-01-k3-clock-reset-support-815a0045526a

Best regards,
--  
Yixun Lan <dlan@kernel.org>


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

end of thread, other threads:[~2026-09-04 20:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-25  4:24 [PATCH 0/8] spacemit: k3: add clock and reset support Yixun Lan
2026-08-25  4:24 ` [PATCH 1/8] clk: spacemit: ccu_mix: fix inverted condition in ccu_mix_trigger_fc() Yixun Lan
2026-08-25  4:24 ` [PATCH 2/8] clk: spacemit: ccu_mix: add inverted enable gate clock Yixun Lan
2026-08-25  4:24 ` [PATCH 3/8] clk: spacemit: ccu_pll: add plla type clock Yixun Lan
2026-08-25  4:24 ` [PATCH 4/8] clk: spacemit: k3: extract common header Yixun Lan
2026-08-25  4:24 ` [PATCH 5/8] clk: spacemit: k3: add the clock tree Yixun Lan
2026-08-25  4:24 ` [PATCH 6/8] clk: spacemit: k3: reduce clock tree for SPL build Yixun Lan
2026-09-02  9:55   ` Tim Ouyang
2026-09-04 20:52     ` Yixun Lan
2026-08-25  4:24 ` [PATCH 7/8] reset: spacemit: Extract common K1 reset code Yixun Lan
2026-08-25  4:24 ` [PATCH 8/8] reset: spacemit: Add SpacemiT K3 reset driver Yixun Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox