RFC: Alchemy: multiple timer base address support
Status from this message: Queued. Thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Alchemy: simple cpu subtype detector.arch/ | +34 | 1 reply | |
| 2/2 | Alchemy: timer: support multiple SYS_BASE addressesarch/ arch/ arch/ | +157 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)