mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/2] sh: sh7305: add TMU0 clock support
@ 2026-11-11  1:07 Artem Novak
  2026-11-11  1:07 ` [PATCH v4 1/2] " Artem Novak
  2026-11-11  1:07 ` [PATCH v4 2/2] sh: sh7305: exclude from legacy CPG clock framework Artem Novak
  0 siblings, 2 replies; 3+ messages in thread
From: Artem Novak @ 2026-11-11  1:07 UTC (permalink / raw)
  To: ysato, dalias, glaubitz, geert+renesas
  Cc: linux-sh, linux-kernel, Artem Novak

This series adds Common Clock Framework support for the SH7305.

The existing SH7305 clock implementation is converted to CCF,
including the master clock, CPU, bus and peripheral divider clocks,
and the TMU0 module clock gate.
The legacy CPG clock framework is then excluded for SH7305
to avoid enabling both clock implementations.

The series consists of:

sh: sh7305: add TMU0 clock support
Convert the SH7305 clock implementation to CCF and
provide the TMU0 functional clock through clkdev.

sh: sh7305: exclude from legacy CPG clock framework
Exclude SH7305 from SH_CLK_CPG_LEGACY.

Changes since v3:
 - Split the legacy CPG exclusion into a separate second patch.
 - Keep the SH7305 CCF clock implementation and TMU0 gate
   together in the first patch.

Artem Novak (2):
  sh: sh7305: add TMU0 clock support
  sh: sh7305: exclude from legacy CPG clock framework

 arch/sh/Kconfig                        |   2 +-
 arch/sh/include/asm/clock-sh7305.h     |  11 ++
 arch/sh/kernel/cpu/sh4a/clock-sh7305.c | 262 +++++++++++++++++--------
 3 files changed, 196 insertions(+), 79 deletions(-)
 create mode 100644 arch/sh/include/asm/clock-sh7305.h

-- 
2.56.0


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

end of thread, other threads:[~2026-11-11  1:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11  1:07 [PATCH v4 0/2] sh: sh7305: add TMU0 clock support Artem Novak
2026-11-11  1:07 ` [PATCH v4 1/2] " Artem Novak
2026-11-11  1:07 ` [PATCH v4 2/2] sh: sh7305: exclude from legacy CPG clock framework Artem Novak

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

all inboxes | Powered by JetHome®