ARM: mach-shmobile: sh7372 A3SP prototype
cover ARM: mach-shmobile: sh7372 A3SP prototype
ARM: mach-shmobile: sh7372 A3SP prototype
[PATCH 01/03] serial: sh-sci: console Runtime PM prototype [PATCH 02/03] ARM: mach-shmobile: sh7372 A3SP prototype support [PATCH 03/03] ARM: mach-shmobile: sh7372 power domain LED hack
These patches update the partial hardware power domain support included in the pm-domains branch of the suspend-2.6 git tree.
With these patches applied the A3SP power domain can be powered down while inactive. If serial console is enabled then during boot the A3SP power domain will be powered down between the "printk" messages on the console. When user space is started and the serial console is opened then the SCIF driver will use pm_runtime_get_sync() to keep the A3SP power domain on.
The sh7372 A3SP hardware power domain contains devices such as:
SCIFA, SCIFB, USBHS, IIC, MMCIF, SDHI and DMAC.
To test the devices above one by one, consider modifying your user space to not use serial console and instead for instance launch a telnet daemon on startup.
---
Applies to the suspend-2.6 git pm-domains branch together with the following patches:
"[PATCH] clocksource: sh_cmt: wait for CMCNT on init" "[PATCH] ARM: mach-shmobile: Use CMT2 for timer on sh7372"
arch/arm/mach-shmobile/board-mackerel.c | 8 ++ arch/arm/mach-shmobile/include/mach/sh7372.h | 1 arch/arm/mach-shmobile/pm-sh7372.c | 72 +++++++++++++++++++++++--- arch/arm/mach-shmobile/setup-sh7372.c | 13 ++++ drivers/tty/serial/sh-sci.c | 70 +++++++++++++++++++++---- 5 files changed, 148 insertions(+), 16 deletions(-)
cover ARM: mach-shmobile: sh7372 power domain update
ARM: mach-shmobile: sh7372 power domain update
[PATCH 01/03] ARM: mach-shmobile: sh7372 A3SM support [PATCH 02/03] ARM: mach-shmobile: sh7372 A3SP support [PATCH 03/03] ARM: mach-shmobile: sh7372 A4R support
These patches add support for the A3SM, A3SP and A4R power domains included in the sh7372 SoC. More work in needed with QoS for I/O devices and CPUIdle with A3SM together with future A4S power domain support.
Testing needed, especiall WRT to Suspend-to-RAM!
---
arch/arm/mach-shmobile/board-ap4evb.c | 5 arch/arm/mach-shmobile/board-mackerel.c | 9 arch/arm/mach-shmobile/include/mach/common.h | 3 arch/arm/mach-shmobile/include/mach/sh7372.h | 5 arch/arm/mach-shmobile/intc-sh7372.c | 52 ++++ arch/arm/mach-shmobile/pm-sh7372.c | 287 ++++++++++++++++++++++++-- arch/arm/mach-shmobile/setup-sh7372.c | 21 + arch/arm/mach-shmobile/sleep-sh7372.S | 55 ++++ 8 files changed, 416 insertions(+), 21 deletions(-)
Re: [PATCH 00/03] ARM: mach-shmobile: sh7372 power domain update
In reply to Magnus DammQuoted 6 lines · Magnus Damm
ARM: mach-shmobile: sh7372 power domain update
[PATCH 01/03] ARM: mach-shmobile: sh7372 A3SM support [PATCH 02/03] ARM: mach-shmobile: sh7372 A3SP support [PATCH 03/03] ARM: mach-shmobile: sh7372 A4R support
Quoted 8 lines
These patches add support for the A3SM, A3SP and A4R power domains included in the sh7372 SoC. More work in needed with QoS for I/O devices and CPUIdle with A3SM together with future A4S power domain support.
Testing needed, especiall WRT to Suspend-to-RAM!
Signed-off-by Magnus Damm <[email protected]>
As these don't apply against anything I have I'll assume that Rafael will be taking them through the pm tree with the rest of the power domains code.
Re: [PATCH 00/03] ARM: mach-shmobile: sh7372 power domain update
In reply to Magnus DammQuoted 12 lines · Paul Mundt
Quoted 11 lines · Magnus Damm
ARM: mach-shmobile: sh7372 power domain update
[PATCH 01/03] ARM: mach-shmobile: sh7372 A3SM support [PATCH 02/03] ARM: mach-shmobile: sh7372 A3SP support [PATCH 03/03] ARM: mach-shmobile: sh7372 A4R support
These patches add support for the A3SM, A3SP and A4R power domains included in the sh7372 SoC. More work in needed with QoS for I/O devices and CPUIdle with A3SM together with future A4S power domain support.
Quoted 7 lines
Quoted 3 lines
Testing needed, especiall WRT to Suspend-to-RAM!
Signed-off-by Magnus Damm <[email protected]>As these don't apply against anything I have I'll assume that Rafael will be taking them through the pm tree with the rest of the power domains code.
Yes, I will.
Thanks,
Rafael
cover ARM: mach-shmobile: sh7372 CPU sleep patches
In reply to Magnus DammARM: mach-shmobile: sh7372 CPU sleep patches
Subject: [PATCH 01/03] ARM: mach-shmobile: sh7372 generic suspend/resume support
Subject: [PATCH 02/03] ARM: mach-shmobile: sh7372 A3SM support
Subject: [PATCH 03/03] ARM: mach-shmobile: sh7372 sleep warning fixes
These patches update the sh7372 sleep code to make use of the generic ARM suspend/resume code and to add A3SM sleep mode support for Suspend-to-RAM. The first two patches have been posted earlier, and the last contain a few warning fixes.
Fits the pm-test branch of the linux-pm git repository.
---
arch/arm/mach-shmobile/include/mach/common.h | 6 arch/arm/mach-shmobile/pm-sh7372.c | 252 ++++++++++++++++++++-- arch/arm/mach-shmobile/sleep-sh7372.S | 287 +++++--------------------- 3 files changed, 286 insertions(+), 259 deletions(-)
Re: [PATCH 00/03] ARM: mach-shmobile: sh7372 CPU sleep patches
In reply to Magnus DammQuoted 12 lines · Magnus Damm
ARM: mach-shmobile: sh7372 CPU sleep patches
Subject: [PATCH 01/03] ARM: mach-shmobile: sh7372 generic suspend/resume support
Subject: [PATCH 02/03] ARM: mach-shmobile: sh7372 A3SM support
Subject: [PATCH 03/03] ARM: mach-shmobile: sh7372 sleep warning fixesThese patches update the sh7372 sleep code to make use of the generic ARM suspend/resume code and to add A3SM sleep mode support for Suspend-to-RAM. The first two patches have been posted earlier, and the last contain a few warning fixes.
Quoted 3 lines
Fits the pm-test branch of the linux-pm git repository.
Signed-off-by Magnus Damm <[email protected]>
All patches applied to linux-pm/pm-domains (and merged into pm-test and linux-next).
Thanks,
Rafael
Quoted 8 lines
---
arch/arm/mach-shmobile/include/mach/common.h | 6 arch/arm/mach-shmobile/pm-sh7372.c | 252 ++++++++++++++++++++-- arch/arm/mach-shmobile/sleep-sh7372.S | 287 +++++--------------------- 3 files changed, 286 insertions(+), 259 deletions(-)