[PATCH v6] ARM: imx: Add basic imx6q thermal driver

2012-06-26 Thread Robert Lee
sysfs interface and a critcial trip are supported by this patch and not any active trip points or cooling devices. The thermal driver is defaulted to be enabled which required the anatopmfd driver to be defaulted to enabled. Signed-off-by: Robert Lee --- arch/arm/boot/dts/imx6q.dtsi

[PATCH v6] ARM: imx: Add basic imx6q thermal driver

2012-06-26 Thread Robert Lee
ormed some basic testing to ensure proper cooling operating. If you want to test this, full testing requires imx6q cpufreq implementation (not yet in v3.5). Robert Lee (1): ARM: imx: Add basic imx6q thermal driver arch/arm/boot/dts/imx6q.dtsi |5 + drivers/mfd/Kc

[PATCH v5] ARM: imx: Add basic imx6q cpu thermal management

2012-06-20 Thread Robert Lee
. Signed-off-by: Robert Lee --- arch/arm/boot/dts/imx6q.dtsi|5 + drivers/thermal/Kconfig | 28 ++ drivers/thermal/Makefile|1 + drivers/thermal/imx6q_thermal.c | 593 +++ 4 files changed, 627 insertions(+) create mode 100644

[PATCH v5] ARM: imx: Add basic imx6q cpu thermal management

2012-06-20 Thread Robert Lee
imx6q cpufreq implementation (not yet in v3.5). Robert Lee (1): ARM: imx: Add basic imx6q cpu thermal management arch/arm/boot/dts/imx6q.dtsi|5 + drivers/thermal/Kconfig | 28 ++ drivers/thermal/Makefile|1 + drivers/thermal/imx6q_thermal.c |

[PATCH v5 5/7] ARM: imx: Add common imx cpuidle init functionality.

2012-05-21 Thread Robert Lee
Add common cpuidle init functionality that can be used by various imx platforms. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/Makefile |1 + arch/arm/plat-mxc/cpuidle.c | 80 ++ arch/arm/plat-mxc/include/mach/cpuidle.h | 22

[PATCH v5 4/7] ARM: imx: Enable imx53 low power idle

2012-05-21 Thread Robert Lee
Add various functionality needed to enable a imx53 low power idle state. This includes adding the imx53 gpc_dvfs clock and making a common imx5_late_init function and initializing all imx53 MACHINE_STATE late_init calls to imx5_late_init. Signed-off-by: Robert Lee --- arch/arm/mach-imx/clk

[PATCH v5 6/7] ARM: imx: Add imx5 cpuidle

2012-05-21 Thread Robert Lee
Add cpuidle driver for imx5 platform. Signed-off-by: Robert Lee --- arch/arm/mach-imx/pm-imx5.c | 43 +-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/pm-imx5.c b/arch/arm/mach-imx/pm-imx5.c index b3dcd8e..19621ed1

[PATCH v5 3/7] ARM: imx: clean and consolidate imx5 suspend and idle code

2012-05-21 Thread Robert Lee
to mem is required. Signed-off-by: Robert Lee --- arch/arm/mach-imx/mm-imx5.c | 21 +- arch/arm/mach-imx/pm-imx5.c | 67 +++ arch/arm/plat-mxc/include/mach/common.h |3 +- 3 files changed, 44 insertions(+), 47 deletions(-) diff --

[PATCH v5 7/7] ARM: imx: Add imx6q cpuidle driver

2012-05-21 Thread Robert Lee
Add basic imx6q cpuidle driver. For now, only basic WFI state is supported. Deeper idle states will be added in the future. Signed-off-by: Robert Lee --- arch/arm/mach-imx/mach-imx6q.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/mach-imx/mach-imx6q.c b

[PATCH v5 1/7] ARM: imx: Modify IMX_IO_P2V macro

2012-05-21 Thread Robert Lee
which shows the virtual address mappings. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/include/mach/hardware.h | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/arch/arm/plat-mxc/include/mach/hardware.h b/arch/arm/plat-mxc/include/mach/hardware.h

[PATCH v5 0/7] cleanup imx5 idle, add imx5/6 cpuidle

2012-05-21 Thread Robert Lee
value for an error message [per Sascha Hauer] * Reworked init scheme to use device tree late_initcall [per Sascha and Shawn] * Moved imx6q and imx5 cpuidle functionality to existing files. https://lkml.org/lkml/2012/5/1/363 v1 initial submission: https://lkml.org/lkml/2012/4/16/644 Robert Lee (7

[PATCH v5 2/7] ARM: imx: Add comments to tzic_enable_waker()

2012-05-21 Thread Robert Lee
Add additional comments to the tzic_enable_wake() funciton to clarify its intended usage. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/tzic.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/plat-mxc/tzic.c b/arch/arm/plat-mxc/tzic.c index 98308ec..a45dbea 100644 --- a

[PATCH v4 4/7] ARM: imx: Enable imx53 low power idle

2012-05-15 Thread Robert Lee
Add various functionality needed to enable a imx53 low power idle state. This includes adding the imx53 gpc_dvfs clock and making a common imx5_late_init function and initializing all imx53 MACHINE_STATE late_init calls to imx5_late_init. Signed-off-by: Robert Lee --- arch/arm/mach-imx/clock

[PATCH v4 1/7] ARM: imx: Modify IMX_IO_P2V macro

2012-05-15 Thread Robert Lee
which shows the virtual address mappings. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/include/mach/hardware.h | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/arch/arm/plat-mxc/include/mach/hardware.h b/arch/arm/plat-mxc/include/mach/hardware.h

[PATCH v4 6/7] ARM: imx: Add imx5 cpuidle

2012-05-15 Thread Robert Lee
Add cpuidle driver for imx5 platform. Signed-off-by: Robert Lee --- arch/arm/mach-imx/pm-imx5.c | 44 --- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/pm-imx5.c b/arch/arm/mach-imx/pm-imx5.c index 6e62d79..966c71b

[PATCH v4 0/7] cleanup imx5 idle, add imx5/6 cpuidle

2012-05-15 Thread Robert Lee
message [per Sascha Hauer] * Reworked init scheme to use device tree late_initcall [per Sascha and Shawn] * Moved imx6q and imx5 cpuidle functionality to existing files. https://lkml.org/lkml/2012/5/1/363 v1 initial submission: https://lkml.org/lkml/2012/4/16/644 Robert Lee (7): ARM: imx: Modify

[PATCH v4 7/7] ARM: imx: Add imx6q cpuidle driver

2012-05-15 Thread Robert Lee
Add basic imx6q cpuidle driver. For now, only basic WFI state is supported. Deeper idle states will be added in the future. Signed-off-by: Robert Lee --- arch/arm/mach-imx/mach-imx6q.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/mach-imx/mach-imx6q.c b

[PATCH v4 2/7] ARM: imx: Add comments to tzic_enable_waker()

2012-05-15 Thread Robert Lee
Add additional comments to the tzic_enable_wake() funciton to clarify its intended usage. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/tzic.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/plat-mxc/tzic.c b/arch/arm/plat-mxc/tzic.c index 98308ec..a45dbea 100644 --- a

[PATCH v4 3/7] ARM: imx: clean and consolidate imx5 suspend and idle code

2012-05-15 Thread Robert Lee
to mem is required. Signed-off-by: Robert Lee --- arch/arm/mach-imx/mm-imx5.c | 20 +- arch/arm/mach-imx/pm-imx5.c | 63 ++- arch/arm/plat-mxc/include/mach/common.h |3 +- 3 files changed, 40 insertions(+), 46 deletions(-) diff --

[PATCH v4 5/7] ARM: imx: Add common imx cpuidle init functionality.

2012-05-15 Thread Robert Lee
Add common cpuidle init functionality that can be used by various imx platforms. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/Makefile |1 + arch/arm/plat-mxc/cpuidle.c | 80 ++ arch/arm/plat-mxc/include/mach/cpuidle.h | 22

[PATCH] ARM: imx: Modify IMX_IO_P2V macro

2012-05-09 Thread Robert Lee
a bootup of a default build using imx_v6_v7_defconfig on a imx51 babbage board and imx53 loco board. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/include/mach/hardware.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/plat-mxc/include/mach/hardware.h b/arch/arm/plat-mxc

[PATCH v3 0/3] Add imx cpuidle

2012-05-07 Thread Robert Lee
functionality to existing files. https://lkml.org/lkml/2012/5/1/363 v1 initial submission: https://lkml.org/lkml/2012/4/16/644 Robert Lee (3): ARM: imx: Add common imx cpuidle init functionality. ARM: imx: Add imx5 cpuidle driver ARM: imx: Add imx6q cpuidle driver arch/arm/mach-imx/mach-imx6q.c

[PATCH v3 3/3] ARM: imx: Add imx6q cpuidle driver

2012-05-07 Thread Robert Lee
Add basic imx6q cpuidle driver. For now, only basic WFI state is supported. Deeper idle states will be added in the future. Signed-off-by: Robert Lee --- arch/arm/mach-imx/mach-imx6q.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/mach-imx/mach-imx6q.c b

[PATCH v3 1/3] ARM: imx: Add common imx cpuidle init functionality.

2012-05-07 Thread Robert Lee
Add common cpuidle init functionality that can be used by various imx platforms. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/Makefile |1 + arch/arm/plat-mxc/cpuidle.c | 80 ++ arch/arm/plat-mxc/include/mach/cpuidle.h | 22

[PATCH v3 2/3] ARM: imx: Add imx5 cpuidle driver

2012-05-07 Thread Robert Lee
Add imx5 cpuidle driver. Signed-off-by: Robert Lee --- arch/arm/mach-imx/mm-imx5.c | 42 +++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/mm-imx5.c b/arch/arm/mach-imx/mm-imx5.c index d6b7e9f..0b3a4cc 100644 --- a/arch

[PATCH v2 3/3] ARM: imx: Add imx6q cpuidle driver

2012-05-01 Thread Robert Lee
Add basic imx6q cpuidle driver. For now, only basic WFI state is supported. Deeper idle states will be added in the future. Signed-off-by: Robert Lee --- arch/arm/mach-imx/cpuidle-imx6q.c | 33 + arch/arm/mach-imx/mach-imx6q.c| 18 ++ 2

[PATCH v2 1/3] ARM: imx: Add common imx cpuidle init functionality.

2012-05-01 Thread Robert Lee
Add common cpuidle init functionality that can be used by various imx platforms. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/Makefile |1 + arch/arm/plat-mxc/cpuidle.c | 80 ++ arch/arm/plat-mxc/include/mach/cpuidle.h | 22

[PATCH v2 2/3] ARM: imx: Add imx5 cpuidle driver

2012-05-01 Thread Robert Lee
Add imx5 cpuidle driver. Signed-off-by: Robert Lee --- arch/arm/mach-imx/mm-imx5.c | 42 +++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/mm-imx5.c b/arch/arm/mach-imx/mm-imx5.c index d6b7e9f..cbd9bad 100644 --- a/arch

[PATCH v2 0/3] Add imx cpuidle

2012-05-01 Thread Robert Lee
* Added return value for an error message * Reworked init scheme to use device tree late_initcall. * Moved imx6q and imx5 cpuidle functionality to existing files. Robert Lee (3): ARM: imx: Add common imx cpuidle init functionality. ARM: imx: Add imx5 cpuidle driver ARM: imx: Add imx6q

[PATCH 2/3] ARM: imx: Add imx5 cpuidle driver

2012-04-16 Thread Robert Lee
Add imx5 cpuidle driver. Signed-off-by: Robert Lee --- arch/arm/mach-imx/Makefile |2 +- arch/arm/mach-imx/cpuidle-imx5.c| 55 +++ arch/arm/mach-imx/mm-imx5.c | 16 ++--- arch/arm/plat-mxc/include/mach/common.h |1 + 4

[PATCH 3/3] ARM: imx: Add imx6q cpuidle driver

2012-04-16 Thread Robert Lee
Add basic imx6q cpuidle driver. For now, only basic WFI state is supported. Deeper idle states will be added in the future. Signed-off-by: Robert Lee --- arch/arm/mach-imx/Makefile|2 +- arch/arm/mach-imx/cpuidle-imx6q.c | 33 + arch/arm/mach-imx

[PATCH 0/3] Add imx cpuidle

2012-04-16 Thread Robert Lee
Add common imx cpuidle initialization functionality and add a i.MX5 and i.MX6 platform cpuidle implementation. Robert Lee (3): ARM: imx: Add common imx cpuidle init functionality. ARM: imx: Add imx5 cpuidle driver ARM: imx: Add imx6q cpuidle driver arch/arm/mach-imx/Makefile

[PATCH 1/3] ARM: imx: Add common imx cpuidle init functionality.

2012-04-16 Thread Robert Lee
Add common cpuidle init functionality that can be used by various imx platforms. Signed-off-by: Robert Lee --- arch/arm/plat-mxc/Makefile |2 + arch/arm/plat-mxc/cpuidle.c | 89 ++ arch/arm/plat-mxc/include/mach/cpuidle.h | 26

[PATCH] ARM: imx: Fix imx5 idle logic bug

2012-04-16 Thread Robert Lee
The imx5_idle() check of the tzic_eanble_wake() return value uses incorrect (inverted) logic causing all attempt to idle to fail. Signed-off-by: Robert Lee --- arch/arm/mach-imx/mm-imx5.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/mm-imx5.c b/arch

[PATCH] ARM: davinci: Fix for cpuidle consolidation changes

2012-03-21 Thread Robert Lee
The recent cpuidle consolidation changes erroneously omitted one critical line of code. Signed-off-by: Robert Lee --- arch/arm/mach-davinci/cpuidle.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-davinci/cpuidle.c b/arch/arm/mach-davinci

[PATCH v8 7/8] ARM: shmobile: Consolidate time keeping and irq enable

2012-03-21 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee Reviewed-by: Kevin Hilman Reviewed-by: Daniel Lezcano Acked-by: Jean Pihet --- arch/arm/mach-shmobile/cpuidle.c | 31 +++ 1 file changed, 7

[PATCH v8 6/8] ARM: omap: Consolidate OMAP4 time keeping and irq enable

2012-03-21 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee Reviewed-by: Kevin Hilman Reviewed-by: Daniel Lezcano Acked-by: Jean Pihet --- arch/arm/mach-omap2/cpuidle44xx.c | 21 +++-- 1 file changed, 3 insertions

[PATCH v8 4/8] ARM: davinci: Consolidate time keeping and irq enable

2012-03-21 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee Reviewed-by: Kevin Hilman Reviewed-by: Daniel Lezcano Acked-by: Jean Pihet --- arch/arm/mach-davinci/cpuidle.c | 82 --- 1 file changed, 33

[PATCH v8 5/8] ARM: omap: Consolidate OMAP3 time keeping and irq enable

2012-03-21 Thread Robert Lee
Use core cpuidle timekeeping and irqen wrapper and remove that handling from this code. Signed-off-by: Robert Lee Reviewed-by: Kevin Hilman Reviewed-by: Daniel Lezcano Tested-by: Jean Pihet Acked-by: Jean Pihet --- arch/arm/mach-omap2/cpuidle34xx.c | 42

[PATCH v8 3/8] ARM: kirkwood: Consolidate time keeping and irq enable

2012-03-21 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee Reviewed-by: Kevin Hilman Reviewed-by: Daniel Lezcano Acked-by: Jean Pihet --- arch/arm/mach-kirkwood/cpuidle.c | 72 +++--- 1 file changed, 21

[PATCH v8 1/8] cpuidle: Add common time keeping and irq enabling

2012-03-21 Thread Robert Lee
Make necessary changes to implement time keeping and irq enabling in the core cpuidle code. This will allow the removal of these functionalities from various platform cpuidle implementations whose timekeeping and irq enabling follows the form in this common code. Signed-off-by: Robert Lee

[PATCH v8 2/8] ARM: at91: Consolidate time keeping and irq enable

2012-03-21 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee Reviewed-by: Kevin Hilman Reviewed-by: Daniel Lezcano Acked-by: Jean Pihet --- arch/arm/mach-at91/cpuidle.c | 67 +++--- 1 file changed, 24

[PATCH v8 0/8] Consolidate cpuidle functionality

2012-03-21 Thread Robert Lee
linux-next. Len, Andrew, can a request be made for Linus to pull these changes? Acked-by: Jean Pihet (v6) Tested-by: Jean Pihet (v6, omap3) Tested-by: Amit Daniel (v6, Exynos4) Tested-by: Robert Lee (imx51, imx6q) Reviewed-by: Kevin Hilman Reviewed-by: Daniel Lezcano Reviewed-by: Deepthi

[PATCH v8 8/8] SH: shmobile: Consolidate time keeping and irq enable

2012-03-21 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee Reviewed-by: Kevin Hilman Reviewed-by: Daniel Lezcano Acked-by: Jean Pihet --- arch/sh/kernel/cpu/shmobile/cpuidle.c | 10 +++--- 1 file changed, 3 insertions(+), 7

[RFC PATCH] cpuidle: avoid unnecessary expensive governor processing

2012-03-07 Thread Robert Lee
t one cpuidle_device at a state_count of 1, but they still want to export idle statistics for these states using cpuidle. Signed-off-by: Robert Lee --- drivers/cpuidle/governors/ladder.c |7 +-- drivers/cpuidle/governors/menu.c |7 +-- 2 files changed, 10 insertions(+), 4 deletions(-) diff

[PATCH v7 9/9] SH: shmobile: Consolidate time keeping and irq enable

2012-03-01 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/sh/kernel/cpu/shmobile/cpuidle.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/arch/sh/kernel/cpu/shmobile/cpuidle.c b/arch/sh/kernel

[PATCH v7 0/9] Consolidate cpuidle functionality

2012-03-01 Thread Robert Lee
fail (thanks Deepthi) * Re-added a line of code that was mistakenly removed (thanks Deepthi) Robert Lee (9): cpuidle: Add common time keeping and irq enabling ARM: at91: Consolidate time keeping and irq enable ARM: exynos: Consolidate time keeping and irq enable ARM: kirkwood: Consolidate

[PATCH v7 2/9] ARM: at91: Consolidate time keeping and irq enable

2012-03-01 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-at91/cpuidle.c | 67 +++--- 1 files changed, 24 insertions(+), 43 deletions(-) diff --git a/arch/arm/mach-at91/cpuidle.c b

[PATCH v7 4/9] ARM: kirkwood: Consolidate time keeping and irq enable

2012-03-01 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-kirkwood/cpuidle.c | 72 +++--- 1 files changed, 21 insertions(+), 51 deletions(-) diff --git a/arch/arm/mach-kirkwood

[PATCH v7 7/9] ARM: omap: Consolidate OMAP4 time keeping and irq enable

2012-03-01 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-omap2/cpuidle44xx.c | 21 +++-- 1 files changed, 3 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm

[PATCH v7 6/9] ARM: omap: Consolidate OMAP3 time keeping and irq enable

2012-03-01 Thread Robert Lee
Use core cpuidle timekeeping and irqen wrapper and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-omap2/cpuidle34xx.c | 42 +++-- 1 files changed, 17 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v7 1/9] cpuidle: Add common time keeping and irq enabling

2012-03-01 Thread Robert Lee
Make necessary changes to implement time keeping and irq enabling in the core cpuidle code. This will allow the removal of these functionalities from various platform cpuidle implementations whose timekeeping and irq enabling follows the form in this common code. Signed-off-by: Robert Lee

[PATCH v7 8/9] ARM: shmobile: Consolidate time keeping and irq enable

2012-03-01 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-shmobile/cpuidle.c | 31 +++ 1 files changed, 7 insertions(+), 24 deletions(-) diff --git a/arch/arm/mach-shmobile/cpuidle.c b

[PATCH v7 3/9] ARM: exynos: Consolidate time keeping and irq enable

2012-03-01 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-exynos/cpuidle.c | 53 --- 1 files changed, 6 insertions(+), 47 deletions(-) diff --git a/arch/arm/mach-exynos/cpuidle.c b

[PATCH v7 5/9] ARM: davinci: Consolidate time keeping and irq enable

2012-03-01 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-davinci/cpuidle.c | 82 --- 1 files changed, 33 insertions(+), 49 deletions(-) diff --git a/arch/arm/mach-davinci

[PATCH v6 9/9] SH: shmobile: Consolidate time keeping and irq enable

2012-02-29 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/sh/kernel/cpu/shmobile/cpuidle.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/arch/sh/kernel/cpu/shmobile/cpuidle.c b/arch/sh/kernel

[PATCH v6 6/9] ARM: omap: Consolidate OMAP3 time keeping and irq enable

2012-02-29 Thread Robert Lee
Use core cpuidle timekeeping and irqen wrapper and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-omap2/cpuidle34xx.c | 42 +++-- 1 files changed, 17 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v6 5/9] ARM: davinci: Consolidate time keeping and irq enable

2012-02-29 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-davinci/cpuidle.c | 78 +++--- 1 files changed, 31 insertions(+), 47 deletions(-) diff --git a/arch/arm/mach-davinci/cpuidle.c

[PATCH v6 1/9] cpuidle: Add common time keeping and irq enabling

2012-02-29 Thread Robert Lee
Make necessary changes to implement time keeping and irq enabling in the core cpuidle code. This will allow the removal of these functionalities from various platform cpuidle implementations whose timekeeping and irq enabling follows the form in this common code. Signed-off-by: Robert Lee

[PATCH v6 2/9] ARM: at91: Consolidate time keeping and irq enable

2012-02-29 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-at91/cpuidle.c | 67 +++--- 1 files changed, 24 insertions(+), 43 deletions(-) diff --git a/arch/arm/mach-at91/cpuidle.c b

[PATCH v6 0/9] Consolidate cpuidle functionality

2012-02-29 Thread Robert Lee
fixes and suggested additions to the common cpuidle code from v1 review. * Added callback for filling in driver_data field as needed. * Modified the various platforms with these changes. Robert Lee (9): cpuidle: Add common time keeping and irq enabling ARM: at91: Consolidate time keeping and irq

[PATCH v6 4/9] ARM: kirkwood: Consolidate time keeping and irq enable

2012-02-29 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-kirkwood/cpuidle.c | 72 +++--- 1 files changed, 21 insertions(+), 51 deletions(-) diff --git a/arch/arm/mach-kirkwood

[PATCH v6 3/9] ARM: exynos: Consolidate time keeping and irq enable

2012-02-29 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-exynos/cpuidle.c | 53 --- 1 files changed, 6 insertions(+), 47 deletions(-) diff --git a/arch/arm/mach-exynos/cpuidle.c b

[PATCH v6 8/9] ARM: shmobile: Consolidate time keeping and irq enable

2012-02-29 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-shmobile/cpuidle.c | 23 +++ 1 files changed, 3 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-shmobile/cpuidle.c b/arch/arm

[PATCH v6 7/9] ARM: omap: Consolidate OMAP4 time keeping and irq enable

2012-02-29 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-omap2/cpuidle44xx.c | 21 +++-- 1 files changed, 3 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm

[PATCH v5 6/9] ARM: davinci: Consolidate cpuidle functionality

2012-02-26 Thread Robert Lee
Use newly added core cpuidle functionality and remove this duplicated code from the platform cpuidle. Signed-off-by: Robert Lee --- arch/arm/mach-davinci/cpuidle.c | 77 +++ 1 files changed, 30 insertions(+), 47 deletions(-) diff --git a/arch/arm/mach

[PATCH v5 9/9] ARM: at91: Consolidate cpuidle functionality

2012-02-26 Thread Robert Lee
Use newly added core cpuidle functionality and remove this duplicated code from the platform cpuidle. Signed-off-by: Robert Lee --- arch/arm/mach-at91/cpuidle.c | 64 ++--- 1 files changed, 22 insertions(+), 42 deletions(-) diff --git a/arch/arm/mach-at91

[PATCH v5 7/9] ARM: exynos: Consolidate cpuidle functionality

2012-02-26 Thread Robert Lee
Use newly added core cpuidle functionality and remove this duplicated code from the platform cpuidle. Signed-off-by: Robert Lee --- arch/arm/mach-exynos/cpuidle.c | 52 1 files changed, 5 insertions(+), 47 deletions(-) diff --git a/arch/arm/mach

[PATCH v5 8/9] ARM: kirkwood: Consolidate cpuidle functionality

2012-02-26 Thread Robert Lee
Use newly added core cpuidle functionality and remove this duplicated code from the platform cpuidle. Signed-off-by: Robert Lee --- arch/arm/mach-kirkwood/cpuidle.c | 71 +++--- 1 files changed, 20 insertions(+), 51 deletions(-) diff --git a/arch/arm/mach

[PATCH v5 2/9] SH: shmobile: cpuidle consolidation

2012-02-26 Thread Robert Lee
Enable core cpuidle timekeeping and irq enabling and remove that handling from this code. Signed-off-by: Robert Lee --- arch/sh/kernel/cpu/shmobile/cpuidle.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/arch/sh/kernel/cpu/shmobile/cpuidle.c b/arch/sh/kernel

[PATCH v5 3/9] ARM: omap: Consolidate OMAP3 cpuidle time keeping and irq enable

2012-02-26 Thread Robert Lee
Use core cpuidle timekeeping and irqen wrapper and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-omap2/cpuidle34xx.c | 43 +++- 1 files changed, 18 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle34xx.c

[PATCH v5 0/9] Consolidate cpuidle functionality

2012-02-26 Thread Robert Lee
-specific. * Made various fixes and suggested additions to the common cpuidle code from v1 review. * Added callback for filling in driver_data field as needed. * Modified the various platforms with these changes. Robert Lee (9): cpuidle: Add commonly used functionality for consolidation SH

[PATCH v5 1/9] cpuidle: Add commonly used functionality for consolidation

2012-02-26 Thread Robert Lee
Add functionality that is commonly duplicated by various platforms. Signed-off-by: Robert Lee --- drivers/cpuidle/cpuidle.c | 37 ++ include/linux/cpuidle.h | 55 + 2 files changed, 77 insertions(+), 15 deletions

[PATCH v5 4/9] ARM: omap: Consolidate OMAP4 cpuidle time keeping and irq enable

2012-02-26 Thread Robert Lee
Use core cpuidle timekeeping and irqen wrapper and remove that handling from this code. Signed-off-by: Robert Lee --- arch/arm/mach-omap2/cpuidle44xx.c | 21 +++-- 1 files changed, 3 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle44xx.c b/arch/arm

[PATCH v5 5/9] ARM: shmobile: Consolidate cpuidle functionality

2012-02-26 Thread Robert Lee
Use newly added core cpuidle functionality and remove this duplicated code from the platform cpuidle. Signed-off-by: Robert Lee --- arch/arm/mach-shmobile/cpuidle.c | 22 ++ 1 files changed, 2 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-shmobile/cpuidle.c b

[RFC PATCH v4 2/4] ARM: omap: Remove cpuidle timekeeping and irq enable/disable

2012-01-31 Thread Robert Lee
Now that the core cpuidle driver keeps time and handles irq enabling, remove this functionality. Also, remove irq disabling as all paths to cpuidle_idle_call already call local_irq_disable. Also, restructure idle functions as needed by the cpuidle core driver changes. Signed-off-by: Robert Lee

[RFC PATCH v4 0/4] Consolidate cpuidle timekeeping and irq enabling

2012-01-31 Thread Robert Lee
interface moved to drivers/cpuidle and made non arch-specific. * Made various fixes and suggested additions to the common cpuidle code from v1 review. * Added callback for filling in driver_data field as needed. * Modified the various platforms with these changes. Robert Lee (4): cpuidle: Add time

[RFC PATCH v4 4/4] x86: Remove cpuidle timekeeping and irq enable/disable

2012-01-31 Thread Robert Lee
Now that the core cpuidle driver keeps time and handles irq enabling, remove this functionality. Also, remove irq disabling as all paths to cpuidle_idle_call already call local_irq_disable. Also, restructure idle functions as needed by the cpuidle core driver changes. Signed-off-by: Robert Lee

[RFC PATCH v4 3/4] acpi: Remove cpuidle timekeeping and irq enable/disable

2012-01-31 Thread Robert Lee
Now that the core cpuidle driver keeps time and handles irq enabling, remove this functionality. Also, remove irq disabling as all paths to cpuidle_idle_call already call local_irq_disable. Also, restructure idle functions as needed by the cpuidle core driver changes. Signed-off-by: Robert Lee

[RFC PATCH v4 1/4] cpuidle: Add time keeping and irq enabling

2012-01-31 Thread Robert Lee
Make necessary changes to add implement time keepign and irq enabling in the core cpuidle code. This will allow the remove of these functionalities from the platform cpuidle implementations. Signed-off-by: Robert Lee --- drivers/cpuidle/cpuidle.c | 75