Commit graph

265,162 commits

Author SHA1 Message Date
Colin Cross
1ba5cc0dbb cpu_pm: call notifiers during suspend
Implements syscore_ops in cpu_pm to call the cpu and
cpu cluster notifiers during suspend and resume,
allowing drivers receiving the notifications to
avoid implementing syscore_ops.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
2012-02-22 14:09:44 +08:00
Colin Cross
dd5fa6df90 cpu_pm: Add cpu power management notifiers
During some CPU power modes entered during idle, hotplug and
suspend, peripherals located in the CPU power domain, such as
the GIC, localtimers, and VFP, may be powered down.  Add a
notifier chain that allows drivers for those peripherals to
be notified before and after they may be reset.

Notified drivers can include VFP co-processor, interrupt controller
and it's PM extensions, local CPU timers context save/restore which
shouldn't be interrupted. Hence CPU PM event APIs  must be called
with interrupts disabled.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Kevin Hilman <khilman@ti.com>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>

Conflicts:

	kernel/power/Kconfig
2012-02-22 14:09:44 +08:00
lw
6f90cd1721 add gsensor mma8452 code support for board-rk30-sdk 2012-02-21 15:57:06 +08:00
黄涛
4534f165f6 mfd: wm831x: add WM8326 support again 2012-02-20 17:46:43 +08:00
黄涛
c040fd338b rk: update board.h
move rk30_i2c_platform_data from plat to rk30
move boot mode, usb detect etc API from rk29 to plat
move spi_cs_gpio, rk29xx_spi_platform_data, rk29_bl_info from rk29/rk30 to plat
2012-02-20 16:17:16 +08:00
黄涛
1083277dbe rk30: timer: modernize clock event and clock source registration 2012-02-20 15:46:10 +08:00
黄涛
4b8332ed3d arm: head.S: port to rk platform 2012-02-20 15:46:09 +08:00
黄涛
8c254c6d02 rk: disable print_modules 2012-02-20 15:46:09 +08:00
黄涛
c48baf6be5 arm: pl330: revert REVISION change 2012-02-20 15:46:08 +08:00
黄涛
a98a934641 arm: gic: port to rk platform 2012-02-20 15:46:08 +08:00
lw
87043a278c rk30:add backlight config 2012-02-20 15:31:01 +08:00
lw
b972d84721 rk30:add rk30 backlight support 2012-02-20 15:02:52 +08:00
黄涛
d0175aa842 rk30: io: add pwm register mapping 2012-02-20 11:57:38 +08:00
lw
5ec4fd96e8 rk30:add spim driver config 2012-02-17 15:33:37 +08:00
lw
d593d35c74 add dma support for spim driver 2012-02-17 15:26:18 +08:00
kfx
e96ed2d0c8 update i2c driver for 'no ack' 2012-02-16 12:49:04 +08:00
kfx
cb383d1c2e RK30 I2C drivers: new adapter(rk30) support 2012-02-15 20:17:42 +08:00
黄涛
41211c6727 rk30: timer: set clockevent irq, fix for smp 2012-02-14 18:35:39 +08:00
黄涛
6a318352f4 rk30: add pmu.h 2012-02-10 16:46:09 +08:00
黄涛
7a0a7dc69d rk30: add sram support 2012-02-10 16:41:10 +08:00
黄涛
fc30b5923e rk: move sram.c from mach-rk29 to plat-rk 2012-02-10 16:41:10 +08:00
黄涛
34a8da9eb2 rk30: clock: add spi clock for fpga 2012-02-10 16:41:09 +08:00
黄涛
9a0212d3fe rk30: indent devices.c 2012-02-10 16:41:09 +08:00
黄涛
d9b8d0c89b rk29: io.h include rk29_iomap.h 2012-02-10 16:41:09 +08:00
lw
f500982deb rk30:add spi support 2012-02-10 16:12:10 +08:00
hhb
e4897236ec rk30: DMA: modify 'include <mach/dma-pl330.h>' to '#include <plat/dma-pl330.h>' in devices.c and rk_serial.c 2012-02-10 15:39:45 +08:00
hhb
c2373358b8 rk30: DMA: update pl330 driver 2012-02-10 15:15:31 +08:00
hhb
f3a89a0461 rk30:DMA:add driver for dma pl330 2012-02-10 15:09:52 +08:00
kfx
e36ecd020a update i2c drivers 2012-02-09 10:43:35 +08:00
黄涛
1fb954990c rk30: update board.h 2012-02-09 10:31:47 +08:00
黄涛
bc590baf89 rk30: clock: add i2c clock for fpga 2012-02-09 10:15:42 +08:00
lw
ca8522f23e rk30:modify gpio pull up or down operation 2012-02-08 14:22:13 +08:00
kfx
d65437a9b7 rename: board-rk30sdk-key.c --> board-rk30-sdk-key.c 2012-02-08 11:47:32 +08:00
kfx
94adb64f5f add rk30 key drivers 2012-02-08 11:37:48 +08:00
lw@rock-chips.com
3edfe85550 rk30:add INVALID_GPIO define for gpio.h 2012-02-08 11:12:22 +08:00
黄涛
4b840065b4 rk30: sdk: reserve is after fixup, before map_io 2012-02-08 09:57:48 +08:00
黄涛
234b9702f1 rk30: sdk: update defconfig 2012-02-07 18:59:30 +08:00
黄涛
1182b25545 rk30: add serial support 2012-02-07 18:49:15 +08:00
黄涛
b933b594a0 rk29: add dma-pl330.h 2012-02-07 18:48:21 +08:00
黄涛
76631fc74e rk30: clock: add clk_get_rate 2012-02-07 18:47:47 +08:00
黄涛
bf4c36af77 rk30: add early printk 2012-02-07 18:46:54 +08:00
黄涛
5c373f9e3d rk30: timer: fix ic bug 2012-02-07 18:41:50 +08:00
黄涛
2ee6d03474 rk30: indent i2c code 2012-02-07 18:24:58 +08:00
kfx
8e579254f1 add rk30 i2c drvier 2012-02-07 18:06:57 +08:00
黄涛
e21b7af41b rk30: move nand device from board to devices.c 2012-02-07 16:01:27 +08:00
黄涛
32001abe7c rk30: annotate rk30_iomux_init as __init 2012-02-07 15:47:02 +08:00
黄涛
0b1610f141 rk30: add devices.c 2012-02-07 15:41:55 +08:00
黄涛
a507fb5df3 rk30: timer: fix for smp 2012-02-07 15:41:55 +08:00
zhaoyifeng
ddc251f9e2 rk30xxnand_ko.uu 2012-02-07 15:21:30 +08:00
zhaoyifeng
a60e26bafa Merge branch 'develop-3.0-rk30' of ssh://10.10.10.29/rk/kernel into develop-3.0-rk30 2012-02-07 15:18:15 +08:00