2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/arch/arm/mach-shmobile
Rafael J. Wysocki 70fe7b2467 ARM: shmobile: Do not access sh7372 A4S domain internals directly
The sh7372_enter_suspend() routine checks the status field of the
generic PM domain object corresponding to the A4S domain in order to
check if it can turn that domain off when entering system sleep.
However, it shouldn't rely on the specific values of the generic
data structures this way, so make it use its own mechanism to
recognize when it is safe to turn that domain off.

For this purpos, introduce a boolean variable a4s_suspend_ready
that will be set by the A4S' suspend routine and unset by its
resume routine executed by rmobile_pd_power_down() and
__rmobile_pd_power_up(), respectively.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
2012-09-04 01:44:57 +02:00
..
include/mach ARM: shmobile: Add routine for automatic PM domains initialization 2012-09-04 01:44:56 +02:00
board-ag5evm.c ARM: mach-shmobile: add fixed voltage regulators to ag5evm 2012-06-30 22:39:00 +02:00
board-ap4evb.c ARM: shmobile: Use names of power domains for adding devices to them 2012-09-04 01:44:55 +02:00
board-armadillo800eva.c ARM: shmobile: Use names of power domains for adding devices to them 2012-09-04 01:44:55 +02:00
board-bonito.c ARM: mach-shmobile: add fixed voltage regulators to bonito 2012-06-30 22:46:52 +02:00
board-g3evm.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
board-g4evm.c ARM: mach-shmobile: add fixed voltage regulators to g4evm 2012-06-30 22:48:46 +02:00
board-kota2.c ARM: mach-shmobile: add fixed voltage regulators to kota2 2012-06-30 22:50:14 +02:00
board-kzm9d.c Merge branch 'renesas-kzm9d' into renesas-board 2012-07-11 23:07:37 +02:00
board-kzm9g.c Merge branch 'renesas-kzm9g' into renesas-board 2012-07-11 23:07:44 +02:00
board-mackerel.c ARM: shmobile: Use names of power domains for adding devices to them 2012-09-04 01:44:55 +02:00
board-marzen.c ARM: mach-shmobile: add fixed voltage regulators to marzen 2012-06-30 22:58:18 +02:00
clock-emev2.c mach-shmobile: Emma Mobile EV2 DT support V3 2012-05-18 00:14:03 +02:00
clock-r8a7740.c Merge branch 'renesas-soc-core' into renesas-soc 2012-07-11 23:01:33 +02:00
clock-r8a7779.c ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register 2012-07-02 23:41:34 +02:00
clock-sh73a0.c Merge branch 'renesas-sh73a0' into renesas-soc 2012-07-11 23:02:18 +02:00
clock-sh7367.c ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register 2012-07-02 23:41:34 +02:00
clock-sh7372.c ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register 2012-07-02 23:41:34 +02:00
clock-sh7377.c ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register 2012-07-02 23:41:34 +02:00
clock.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
common.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
console.c
cpuidle.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
entry-intc.S ARM: gic: consolidate PPI handling 2011-10-23 13:32:29 +01:00
headsmp.S ARM / mach-shmobile: Invalidate caches when booting secondary cores 2012-05-12 22:13:52 +02:00
hotplug.c ARM: mach-shmobile: Flush caches in platform_cpu_die() 2012-01-09 10:37:29 +09:00
intc-r8a7740.c ARM: shmobile: r8a7740: add HDMI interrupt support 2012-06-20 12:27:47 +02:00
intc-r8a7779.c ARM: shmobile: r8a7779: Route all interrupts to ARM 2012-06-23 01:12:09 +02:00
intc-sh73a0.c ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
intc-sh7367.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
intc-sh7372.c ARM: mach-shmobile: Rework sh7372 INTCS demuxer V2 2012-04-11 12:11:50 +02:00
intc-sh7377.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
Kconfig Merge branch 'renesas-armadillo' into renesas-board 2012-07-11 23:06:35 +02:00
Makefile ARM: shmobile: r8a7740: add A4S pm domain support 2012-07-06 20:40:17 +02:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pfc-r8a7740.c ARM: shmobile: r8a7740: fixup: MSEL1CR 7bit control 2012-07-06 20:40:16 +02:00
pfc-r8a7779.c ARM: mach-shmobile: r8a7779 PFC IPSR4 fix 2012-02-24 13:24:59 +09:00
pfc-sh73a0.c ARM: mach-shmobile: pfc-sh73a0: fixup MSEL2CR MSEL18 for I2C-3 2012-05-12 22:34:16 +02:00
pfc-sh7367.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
pfc-sh7372.c ARM: mach-shmobile: add GPIO-to-IRQ translation to sh7372 2012-01-24 10:40:25 +09:00
pfc-sh7377.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
platsmp.c ARM: shmobile: fix platsmp.c build when ARCH_SH73A0=n 2012-07-06 22:00:20 +02:00
pm-r8a7740.c ARM: shmobile: r8a7740: add A4LC pm domain support 2012-07-06 20:40:17 +02:00
pm-r8a7779.c ARM: shmobile: Drop r8a7779_add_device_to_domain() 2012-09-04 01:44:56 +02:00
pm-rmobile.c ARM: shmobile: Add routine for automatic PM domains initialization 2012-09-04 01:44:56 +02:00
pm-sh7372.c ARM: shmobile: Do not access sh7372 A4S domain internals directly 2012-09-04 01:44:57 +02:00
setup-emev2.c mach-shmobile: Emma Mobile EV2 DT support V3 2012-05-18 00:14:03 +02:00
setup-r8a7740.c ARM: shmobile: Use domain names when adding subdomains to power domains 2012-09-04 01:44:56 +02:00
setup-r8a7779.c ARM / mach-shmobile: r8a7779 SMP TWD boot regression fix 2012-05-12 22:13:38 +02:00
setup-sh73a0.c ARM: shmobile: use common DMAEngine definitions on sh73a0 2012-06-30 15:13:49 +02:00
setup-sh7367.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
setup-sh7372.c ARM: shmobile: Use domain names when adding subdomains to power domains 2012-09-04 01:44:56 +02:00
setup-sh7377.c ARM: mach-shmobile: sh7377 generic board support via DT 2012-07-06 21:05:20 +02:00
sleep-sh7372.S PM / shmobile: Add support for the sh7372 A4S power domain / sleep mode 2011-12-25 23:39:03 +01:00
smp-emev2.c mach-shmobile: Emma Mobile EV2 SMP support V3 2012-05-18 00:14:02 +02:00
smp-r8a7779.c ARM / mach-shmobile: r8a7779 SMP TWD boot regression fix 2012-05-12 22:13:38 +02:00
smp-sh73a0.c ARM / mach-shmobile: sh73a0 SMP TWD boot regression fix 2012-05-12 22:13:45 +02:00
suspend.c ARM: shmobile: use machine specific hook for late init 2012-05-08 20:36:35 +08:00
timer.c ARM / mach-shmobile: Use preset_lpj with calibrate_delay() 2012-05-12 22:21:36 +02:00