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

2012-06-26 Thread Robert Lee
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/Kconfig |1

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

2012-06-26 Thread Robert Lee
the 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 rob@linaro.org --- arch/arm/boot/dts

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

2012-06-20 Thread Robert Lee
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 | 593

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

2012-06-20 Thread Robert Lee
. Signed-off-by: Robert Lee rob@linaro.org --- 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

[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 rob@linaro.org --- 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

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

2012-05-21 Thread Robert Lee
Robert Lee (7): ARM: imx: Modify IMX_IO_P2V macro ARM: imx: Add comments to tzic_enable_waker() ARM: imx: clean and consolidate imx5 suspend and idle code ARM: imx: Enable imx53 low power idle ARM: imx: Add common imx cpuidle init functionality. ARM: imx: Add imx5 cpuidle ARM: imx: Add

[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 rob@linaro.org --- 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

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

2012-05-15 Thread Robert Lee
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): ARM

[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 rob@linaro.org --- 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

[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 rob@linaro.org --- 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

[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 rob@linaro.org --- arch

[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 rob@linaro.org --- 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

[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 rob@linaro.org --- 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

[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 rob@linaro.org --- arch/arm/plat-mxc/Makefile |1 + arch/arm/plat-mxc/cpuidle.c | 80 ++ arch/arm/plat-mxc/include/mach

[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 rob@linaro.org --- arch/arm/mach-imx/mach-imx6q.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/mach

[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

[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 v2 2/3] ARM: imx: Add imx5 cpuidle driver

2012-05-01 Thread Robert Lee
Add imx5 cpuidle driver. Signed-off-by: Robert Lee rob@linaro.org --- 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

[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 rob@linaro.org --- arch/arm/plat-mxc/Makefile |1 + arch/arm/plat-mxc/cpuidle.c | 80 ++ arch/arm/plat-mxc/include/mach

[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 rob@linaro.org --- arch/arm/mach-imx/cpuidle-imx6q.c | 33 + arch/arm/mach-imx/mach-imx6q.c| 18

[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 rob@linaro.org --- arch/arm/mach-imx/mm-imx5.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/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 rob@linaro.org --- arch/arm/plat-mxc/Makefile |2 + arch/arm/plat-mxc/cpuidle.c | 89 ++ arch/arm/plat-mxc/include/mach

[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 rob@linaro.org --- arch/arm/mach-imx/Makefile|2 +- arch/arm/mach-imx/cpuidle-imx6q.c | 33

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

2012-04-16 Thread Robert Lee
Add imx5 cpuidle driver. Signed-off-by: Robert Lee rob@linaro.org --- 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

[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 rob@linaro.org Reviewed-by: Kevin Hilman khil...@ti.com Reviewed-by: Daniel Lezcano daniel.lezc...@linaro.org Acked-by: Jean Pihetj-pi...@ti.com --- arch/sh/kernel/cpu/shmobile

[PATCH v8 0/8] Consolidate cpuidle functionality

2012-03-21 Thread Robert Lee
/gmane.linux.ports.arm.kernel/142791 Robert Lee (8): cpuidle: Add common time keeping and irq enabling ARM: at91: Consolidate time keeping and irq enable ARM: kirkwood: Consolidate time keeping and irq enable ARM: davinci: Consolidate time keeping and irq enable ARM: omap: Consolidate OMAP3 time

[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 rob

[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 rob@linaro.org Reviewed-by: Kevin Hilman khil...@ti.com Reviewed-by: Daniel Lezcano daniel.lezc...@linaro.org Acked-by: Jean Pihetj-pi...@ti.com --- arch/arm/mach-at91

[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 rob@linaro.org Reviewed-by: Kevin Hilman khil...@ti.com Reviewed-by: Daniel Lezcano daniel.lezc...@linaro.org Acked-by: Jean Pihetj-pi...@ti.com --- arch/arm/mach-kirkwood

[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 rob@linaro.org Reviewed-by: Kevin Hilman khil...@ti.com Reviewed-by: Daniel Lezcano daniel.lezc...@linaro.org Tested-by: Jean Pihetj-pi...@ti.com Acked-by: Jean Pihetj-pi

[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 rob@linaro.org Reviewed-by: Kevin Hilman khil...@ti.com Reviewed-by: Daniel Lezcano daniel.lezc...@linaro.org Acked-by: Jean Pihetj-pi...@ti.com --- arch/arm/mach-davinci

[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 rob@linaro.org Reviewed-by: Kevin Hilman khil...@ti.com Reviewed-by: Daniel Lezcano daniel.lezc...@linaro.org Acked-by: Jean Pihetj-pi...@ti.com --- arch/arm/mach-omap2

[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 rob@linaro.org Reviewed-by: Kevin Hilman khil...@ti.com Reviewed-by: Daniel Lezcano daniel.lezc...@linaro.org Acked-by: Jean Pihetj-pi...@ti.com --- arch/arm/mach-shmobile

[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 rob@linaro.org --- 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

[RFC PATCH] cpuidle: avoid unnecessary expensive governor processing

2012-03-07 Thread Robert Lee
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 rob@linaro.org --- drivers/cpuidle/governors/ladder.c |7 +-- drivers/cpuidle/governors/menu.c |7 +-- 2 files changed, 10 insertions(+), 4

[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 rob@linaro.org --- arch/arm/mach-davinci/cpuidle.c | 82 --- 1 files changed, 33 insertions(+), 49 deletions(-) diff --git a/arch/arm

[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 rob@linaro.org --- arch/arm/mach-shmobile/cpuidle.c | 31 +++ 1 files changed, 7 insertions(+), 24 deletions(-) diff --git a/arch/arm/mach

[PATCH v7 0/9] Consolidate cpuidle functionality

2012-03-01 Thread Robert Lee
(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 time

[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 rob@linaro.org --- arch/arm/mach-kirkwood/cpuidle.c | 72 +++--- 1 files changed, 21 insertions(+), 51 deletions(-) diff --git a/arch/arm

[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 rob@linaro.org --- arch/arm/mach-omap2/cpuidle44xx.c | 21 +++-- 1 files changed, 3 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-omap2

[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 rob@linaro.org --- arch/arm/mach-at91/cpuidle.c | 67 +++--- 1 files changed, 24 insertions(+), 43 deletions(-) diff --git a/arch/arm

[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 rob@linaro.org --- arch/arm/mach-exynos/cpuidle.c | 53 --- 1 files changed, 6 insertions(+), 47 deletions(-) diff --git a/arch/arm/mach

[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 rob@linaro.org --- arch/arm/mach-omap2/cpuidle34xx.c | 42 +++-- 1 files changed, 17 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach

[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 rob@linaro.org --- arch/arm/mach-shmobile/cpuidle.c | 23 +++ 1 files changed, 3 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-shmobile

[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 rob@linaro.org --- arch/arm/mach-exynos/cpuidle.c | 53 --- 1 files changed, 6 insertions(+), 47 deletions(-) diff --git a/arch/arm/mach

[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 rob@linaro.org --- arch/arm/mach-kirkwood/cpuidle.c | 72 +++--- 1 files changed, 21 insertions(+), 51 deletions(-) diff --git a/arch/arm

[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 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 rob@linaro.org --- arch/arm/mach-at91/cpuidle.c | 67 +++--- 1 files changed, 24 insertions(+), 43 deletions(-) diff --git a/arch/arm

[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 rob

[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 rob@linaro.org --- arch/arm/mach-davinci/cpuidle.c | 78 +++--- 1 files changed, 31 insertions(+), 47 deletions(-) diff --git a/arch/arm/mach

[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 rob@linaro.org --- arch/arm/mach-omap2/cpuidle34xx.c | 42 +++-- 1 files changed, 17 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach

[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 rob@linaro.org --- arch/arm/mach-omap2/cpuidle44xx.c | 21 +++-- 1 files changed, 3 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-omap2

[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 rob@linaro.org --- arch/arm/mach-shmobile/cpuidle.c | 22 ++ 1 files changed, 2 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach

[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 rob@linaro.org --- arch/arm/mach-omap2/cpuidle34xx.c | 43 +++- 1 files changed, 18 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach

[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 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 rob@linaro.org --- arch/arm/mach-kirkwood/cpuidle.c | 71 +++--- 1 files changed, 20 insertions(+), 51 deletions(-) diff --git

[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 rob@linaro.org --- 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

[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 rob@linaro.org --- arch/arm/mach-at91/cpuidle.c | 64 ++--- 1 files changed, 22 insertions(+), 42 deletions(-) diff --git

[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 rob@linaro.org --- arch/arm/mach-exynos/cpuidle.c | 52 1 files changed, 5 insertions(+), 47 deletions(-) diff --git

[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 rob@linaro.org --- arch/arm/mach-davinci/cpuidle.c | 77 +++ 1 files changed, 30 insertions(+), 47 deletions(-) diff --git

[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 rob@linaro.org --- drivers/cpuidle/cpuidle.c | 37 ++ include/linux/cpuidle.h | 55 + 2 files changed, 77 insertions

[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 rob@linaro.org --- drivers/cpuidle/cpuidle.c | 75

[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 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 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