Skip to content

RFC: Alchemy: multiple timer base address support

Manuel Lauss linux-mips 1 version Applied

Status from this message: Queued. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Alchemy: simple cpu subtype detector.arch/mips/include/asm/mach-au1x00/au1000.h+34 -01 reply
2/2Alchemy: timer: support multiple SYS_BASE addressesarch/mips/alchemy/common/time.c arch/mips/alchemy/devboards/pm.c arch/mips/include/asm/mach-au1x00/au1000.h+157 -702 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] RFC: Alchemy: multiple timer base address support

The Au1300 has the SYS_ block, which incorporates the 32kHz timer, PM support and other stuff, at a base address different from all previous models. The following two patches add support for runtime detection of CPU type and setup the timer on the correct base address (and as preparation for a later patchseries, also irq number for RTCMATCH2).

Patch overview:
#1 adds a simple CPU subtype enumerator,
#2 implements the core changes.

Run-tested on DB1200.

Manuel Lauss (2):
Alchemy: simple cpu subtype detector.
Alchemy: timer: support multiple SYS_BASE addresses

 arch/mips/alchemy/common/time.c            |  137 ++++++++++++++++++++--------
 arch/mips/alchemy/devboards/pm.c           |   58 +++++++-----
 arch/mips/include/asm/mach-au1x00/au1000.h |   66 ++++++++++++--
 3 files changed, 191 insertions(+), 70 deletions(-)