[PATCH] ARM: DTS: exynos4210-origen: Add MAX8997 node entry

2013-01-04 Thread Tushar Behera
The node entry is added as per documentation and legacy board file. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- The patch is rebased on v3.8-rc1. arch/arm/boot/dts/exynos4210-origen.dts | 150 +++ 1 files changed, 150 insertions(+), 0 deletions(-)

Re: Early kernel hang with big DTB appended

2013-01-04 Thread Tomasz Figa
Hi Nicolas, Thanks for your reply. On Thursday 03 of January 2013 21:48:05 Nicolas Pitre wrote: On Thu, 3 Jan 2013, Tomasz Figa wrote: Hi, I'm observing strange behavior when booting 3.8-rc1 and -rc2 with appended DTB. The kernel hangs very early when the DTB is bigger than some

Re: Early kernel hang with big DTB appended

2013-01-04 Thread Tomasz Figa
Hi Bryan, Thanks for your reply. On Thursday 03 of January 2013 13:40:43 Bryan Evenson wrote: -Original Message- From: linux-arm-kernel-boun...@lists.infradead.org [mailto:linux-arm- kernel-boun...@lists.infradead.org] On Behalf Of Tomasz Figa Sent: Thursday, January 03, 2013

Re: [PATCH v4 14/19] ARM: remove unneeded vic.h includes

2013-01-04 Thread Maxime Ripard
Le 03/01/2013 18:54, Rob Herring a écrit : diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c index 9be910f..b1b5131 100644 --- a/arch/arm/mach-sunxi/sunxi.c +++ b/arch/arm/mach-sunxi/sunxi.c @@ -21,7 +21,6 @@ #include linux/irqchip/sunxi.h -#include

[PATCH 3/5] ARM: exynos: replace cpumask by the corresponding macro

2013-01-04 Thread Daniel Lezcano
A trivial patch to replace for_each_cpu(cpu_id, cpu_online_mask) by the corresponding macro. Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org --- arch/arm/mach-exynos/cpuidle.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/cpuidle.c

[PATCH 4/5] ARM: exynos: only register cpuidle for cpu0

2013-01-04 Thread Daniel Lezcano
We register the device for cpu1 but with only one state which is actually WFI. This one is already the default idle function when no cpuidle device is set for the cpu. We can remove the cpuidle device for this cpu as it is the same code path than the pm_idle callback. Signed-off-by: Daniel

[PATCH 2/5] ARM: exynos: handle properly the return values

2013-01-04 Thread Daniel Lezcano
The cpuidle_register_driver return value is not checked. The init function returns always -EIO when cpuidle_register_device fails but the error could be different. This patch fixes that by checking the cpuidle_register_driver properly and returning the correct value when cpuidle_register_device

[PATCH 1/5] ARM: exynos: factor out the idle states

2013-01-04 Thread Daniel Lezcano
The states are defined in the driver. We can get rid of the intermediate cpuidle states initialization and the memcpy by directly initializing the driver states. Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org --- arch/arm/mach-exynos/cpuidle.c | 45

Re: [PATCH] ARM: DTS: exynos4210-origen: Add MAX8997 node entry

2013-01-04 Thread Thomas Abraham
On 4 January 2013 00:23, Tushar Behera tushar.beh...@linaro.org wrote: The node entry is added as per documentation and legacy board file. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- The patch is rebased on v3.8-rc1. arch/arm/boot/dts/exynos4210-origen.dts | 150

[PATCH 5/5] ARM: exynos: enable/disable cpuidle when cpu1 is down/up

2013-01-04 Thread Daniel Lezcano
What we have now is (1) cpu0 going always to WFI when cpu1 is up, (2) cpu0 going to all states when cpu1 is down. In other words, cpuidle is disabled when cpu1 is up and enabled when cpu1 is down. This patch use the cpu hotplug notifier to enable/disable cpuidle, when the cpu1 is plugged or

Re: [PATCH v4 14/19] ARM: remove unneeded vic.h includes

2013-01-04 Thread Mark Brown
On Thu, Jan 03, 2013 at 11:54:23AM -0600, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com Numerous includes of asm/hardware/vic.h aren't needed, so remove them. Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com signature.asc Description: Digital signature

[PATCH] spi/s3c64xx: Complain if we fail to set a transfer speed

2013-01-04 Thread Mark Brown
Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/spi/spi-s3c64xx.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index ad93231..6495352 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c