Skip to content

sh: sh7305: add TMU0 clock support

Artem Novak linux-sh lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 0 repliesNew
  2. v31 patch 0 repliesSuperseded
  3. v21 patch 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch1 replySuperseded

Changes in v4 from the cover letter

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

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sh: sh7305: add TMU0 clock supportarch/sh/include/asm/clock-sh7305.h arch/sh/kernel/cpu/sh4a/clock-sh7305.c+195 -780 replies
2/2sh: sh7305: exclude from legacy CPG clock frameworkarch/sh/Kconfig+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] sh: sh7305: add TMU0 clock support

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
Signature · 1 line
2.56.0