Re: [PATCH V3 4/6] ARM: S5P64X0: Modified files for SPI consolidation work

2011-12-13 Thread Tushar Behera
On 12/14/2011 08:46 PM, Padmavathi Venna wrote: As SPI platform devices are consolidated to plat-samsung, some corresponding changes are required in the respective machine folder. Added SPI Setup file for GPIO configurations and platform data initialization. Signed-off-by: Padmavathi Venna ---

[RESEND PATCH] mmc: core: Add host capability check for power class

2011-12-13 Thread Girish K S
This patch adds a check whether the host supports maximum current value obtained from the device's extended csd register for a selected interface voltage and frequency. cc: Chris Ball Signed-off-by: Girish K S --- drivers/mmc/core/mmc.c | 27 +++ include/linux/mmc/ca

Re: [PATCH V3] ARM: EXYNOS4: Modified files for SPI consolidation work

2011-12-13 Thread Tushar Behera
Hi Padma, Some minor nitpicks ... On 12/14/2011 08:47 PM, Padmavathi Venna wrote: As SPI platform devices are consolidated to plat-samsung, some corresponding changes are required in the respective machine folder. Setup files are added for SPI GPIO configurations and platform data initializatio

[PATCH] mmc: core: Add host capability check for power class

2011-12-13 Thread Girish K S
This patch adds a check whether the host supports maximum current value obtained from the device's extended csd register for a selected interface voltage and frequency. Signed-off-by: Girish K S --- drivers/mmc/core/mmc.c | 27 +++ include/linux/mmc/card.h |4

Re: [PATCH V6] mmc: core: Add host capability check for power class

2011-12-13 Thread Girish K S
Ignore this patch On 14 December 2011 11:44, Girish K S wrote: > This patch adds a check whether the host supports maximum current value > obtained from the device's extended csd register for a selected interface > voltage and frequency. > > cc: Chris Ball > Signed-off-by: Girish K S > --- > Ch

[PATCH V3] ARM: EXYNOS4: Modified files for SPI consolidation work

2011-12-13 Thread Padmavathi Venna
As SPI platform devices are consolidated to plat-samsung, some corresponding changes are required in the respective machine folder. Setup files are added for SPI GPIO configurations and platform data initialization. Signed-off-by: Padmavathi Venna --- arch/arm/mach-exynos/Kconfig

[PATCH V3 6/6] ARM: S3C64XX: Modified according to SPI consolidation work.

2011-12-13 Thread Padmavathi Venna
As SPI platform devices are consolidated to plat-samsung, some corresponding changes are required in the s3c6410 varient SoCs. Signed-off-by: Padmavathi Venna --- arch/arm/mach-s3c64xx/Kconfig |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-s3c64xx/Kconfi

[PATCH V3 5/6] ARM: S5PV210: Modified files for SPI consolidation work

2011-12-13 Thread Padmavathi Venna
As SPI platform devices are consolidated to plat-samsung, some corresponding changes are required in the respective machine folder. Added SPI Setup file for GPIO configurations and platform data initialization. Signed-off-by: Padmavathi Venna --- arch/arm/mach-s5pv210/Kconfig|5 +

[PATCH V3 4/6] ARM: S5P64X0: Modified files for SPI consolidation work

2011-12-13 Thread Padmavathi Venna
As SPI platform devices are consolidated to plat-samsung, some corresponding changes are required in the respective machine folder. Added SPI Setup file for GPIO configurations and platform data initialization. Signed-off-by: Padmavathi Venna --- arch/arm/mach-s5p64x0/Kconfig|7 +

[PATCH V3 3/6] ARM: S5PC100: Modified files for SPI consolidation work

2011-12-13 Thread Padmavathi Venna
As SPI platform devices are consolidated to plat-samsung, some corresponding changes are required in the respective machine folder. Added SPI Setup file for GPIO configurations and platform data initialization. Signed-off-by: Padmavathi Venna --- arch/arm/mach-s5pc100/Kconfig

[PATCH V3 2/6] ARM: S3C64XX: Modified files for SPI consolidation work

2011-12-13 Thread Padmavathi Venna
As SPI platform devices are consolidated to plat-samsung, some corresponding changes are required in the respective machine folder. Setup files are added for SPI GPIO configurations and platform data initialization. Signed-off-by: Padmavathi Venna --- arch/arm/mach-s3c64xx/Kconfig

[PATCH V3 1/6] ARM: SAMSUNG: Consolidation of SPI platform devices to plat-samsung

2011-12-13 Thread Padmavathi Venna
SPI platform device definitions consolidated from respective machine folder to plat-samsung Signed-off-by: Padmavathi Venna --- arch/arm/mach-s3c64xx/Makefile |1 - arch/arm/mach-s3c64xx/dev-spi.c | 173 - arch/arm/mach-s5p64x0/Makefile

[PATCH V3 0/6] SPI platform device consolidation

2011-12-13 Thread Padmavathi Venna
SPI platform devices are defined in respective machine folder of Samsung S3C64XX and S5P series SoCs.This patchset moves S3C64XX and S5P series of SPI platform devices to a common place plat-samsung. This patchset also creates SPI setup files for GPIO configurations and platform data initialization

[linux-next] make s5p64x0_defconfig build error

2011-12-13 Thread Axel Lin
Hi, I got below build error on linux-next 20111213. CC arch/arm/kernel/process.o In file included from arch/arm/mach-s5p64x0/include/mach/system.h:16, from arch/arm/kernel/process.c:64: arch/arm/plat-samsung/include/plat/system-reset.h:19:2: error: #error Fix me up make[1

[PATCH v4] s3c/s3c24xx: arm: leds: Make s3c24xx LEDS driver use gpiolib. Fix error disabling pull during probe.

2011-12-13 Thread Denis Kuzmenko
Make s3c24xx LEDS driver use gpiolib. Fix error disabling pull during probe. Signed-off-by: Denis Kuzmenko --- There is a comment "no point in having a pull-up if we are always driving" but code was actually enabled pull-resistor for that case probably because of function parameter misunderstand

Re: [PATCH v3 resend2] s3c/s3c24xx: arm: leds: Make s3c24xx LEDS driver use gpiolib

2011-12-13 Thread Joe Perches
On Wed, 2011-12-14 at 00:05 +0200, Denis Kuzmenko wrote: > On 12/13/2011 11:40 PM, Joe Perches wrote: > > On Tue, 2011-12-13 at 23:33 +0200, Denis Kuzmenko wrote: > >> On 12/13/2011 11:28 PM, Joe Perches wrote: > >>> The LEDF_ACTLOW use is dependent on it being #defined > >>> to 1 when using ^. I

Re: [PATCH v3 resend2] s3c/s3c24xx: arm: leds: Make s3c24xx LEDS driver use gpiolib

2011-12-13 Thread Denis Kuzmenko
On 12/13/2011 11:40 PM, Joe Perches wrote: > On Tue, 2011-12-13 at 23:33 +0200, Denis Kuzmenko wrote: >> On 12/13/2011 11:28 PM, Joe Perches wrote: >>> The LEDF_ACTLOW use is dependent on it being #defined >>> to 1 when using ^. I think that's unintelligible. >> Sorry, can't understand. Can you pl

Re: [PATCH v3 resend2] s3c/s3c24xx: arm: leds: Make s3c24xx LEDS driver use gpiolib

2011-12-13 Thread Joe Perches
On Tue, 2011-12-13 at 23:33 +0200, Denis Kuzmenko wrote: > On 12/13/2011 11:28 PM, Joe Perches wrote: > > The LEDF_ACTLOW use is dependent on it being #defined > > to 1 when using ^. I think that's unintelligible. > Sorry, can't understand. Can you please clarify last two sentences? s3c24

Re: [PATCH v3 resend2] s3c/s3c24xx: arm: leds: Make s3c24xx LEDS driver use gpiolib

2011-12-13 Thread Denis Kuzmenko
On 12/13/2011 11:28 PM, Joe Perches wrote: > On Tue, 2011-12-13 at 23:21 +0200, Denis Kuzmenko wrote: >> Hi Joe, >> Thank you for review. >> >> On 12/13/2011 11:06 PM, Joe Perches wrote: >>> On Tue, 2011-12-13 at 22:22 +0200, Denis Kuzmenko wrote: Make s3c24xx LEDS driver use gpiolib. Fix erro

Re: [PATCH v3 resend2] s3c/s3c24xx: arm: leds: Make s3c24xx LEDS driver use gpiolib

2011-12-13 Thread Joe Perches
On Tue, 2011-12-13 at 23:21 +0200, Denis Kuzmenko wrote: > Hi Joe, > Thank you for review. > > On 12/13/2011 11:06 PM, Joe Perches wrote: > > On Tue, 2011-12-13 at 22:22 +0200, Denis Kuzmenko wrote: > >> Make s3c24xx LEDS driver use gpiolib. Fix error disabling pull during > >> probe. > > [] > >>

Re: [PATCH v3 resend2] s3c/s3c24xx: arm: leds: Make s3c24xx LEDS driver use gpiolib

2011-12-13 Thread Denis Kuzmenko
Hi Joe, Thank you for review. On 12/13/2011 11:06 PM, Joe Perches wrote: > On Tue, 2011-12-13 at 22:22 +0200, Denis Kuzmenko wrote: >> Make s3c24xx LEDS driver use gpiolib. Fix error disabling pull during probe. > [] >> diff --git a/drivers/leds/leds-s3c24xx.c b/drivers/leds/leds-s3c24xx.c > [] >>

[PATCHv2 resend] Fix compilation error when CONFIG_CPU_FREQ_S3C24XX_DEBUGFS selected.

2011-12-13 Thread Denis Kuzmenko
Fix compilation error when CONFIG_CPU_FREQ_S3C24XX_DEBUGFS selected. Signed-off-by: Denis Kuzmenko --- Patch is against 3.2-rc4. CONFIG_S3C2410_IOTIMING is not selected for MACH_MINI2440. Because of this the file s3c2410-iotiming.c is not ever compiled and enabling CONFIG_CPU_FREQ_S3C24XX_DEBUG

Re: [PATCH v3 resend2] s3c/s3c24xx: arm: leds: Make s3c24xx LEDS driver use gpiolib

2011-12-13 Thread Joe Perches
On Tue, 2011-12-13 at 22:22 +0200, Denis Kuzmenko wrote: > Make s3c24xx LEDS driver use gpiolib. Fix error disabling pull during probe. [] > diff --git a/drivers/leds/leds-s3c24xx.c b/drivers/leds/leds-s3c24xx.c [] > @@ -45,23 +45,35 @@ static void s3c24xx_led_set(struct led_classdev *led_cdev, > +

[PATCH v3 resend2] s3c/s3c24xx: arm: leds: Make s3c24xx LEDS driver use gpiolib

2011-12-13 Thread Denis Kuzmenko
Make s3c24xx LEDS driver use gpiolib. Fix error disabling pull during probe. Signed-off-by: Denis Kuzmenko Acked-by: Stephen Warren --- There is a comment "no point in having a pull-up if we are always driving" but code was actually enabled pull-resistor for that case probably because of functi

Re: [PATCH 2/2] i2c-s3c2410: Add stub runtime power management

2011-12-13 Thread Jean Delvare
On Tue, 13 Dec 2011 15:53:48 +0100, Heiko Stübner wrote: > Am Montag, 5. Dezember 2011, 15:06:06 schrieb Mark Brown: > > Add stub runtime_pm calls which go through the flow of enabling and > > disabling but don't actually do anything with the device itself as > > there's nothing useful we can do. T

Re: [PATCH 2/2] spi/s3c64xx: Implement runtime PM support

2011-12-13 Thread Heiko Stübner
Am Dienstag, 13. Dezember 2011, 15:49:44 schrieb Heiko Stübner: > Am Montag, 5. Dezember 2011, 17:50:13 schrieb Mark Brown: > > Enable and disable the clocks to the SPI controller using runtime PM. > > This serves the dual purpose of reducing power consumption a little and > > letting the core know

Re: [PATCH 2/2] i2c-s3c2410: Add stub runtime power management

2011-12-13 Thread Heiko Stübner
Am Montag, 5. Dezember 2011, 15:06:06 schrieb Mark Brown: > Add stub runtime_pm calls which go through the flow of enabling and > disabling but don't actually do anything with the device itself as > there's nothing useful we can do. This provides the core PM framework > with information about when

Re: [PATCH 2/2] spi/s3c64xx: Implement runtime PM support

2011-12-13 Thread Heiko Stübner
Am Montag, 5. Dezember 2011, 17:50:13 schrieb Mark Brown: > Enable and disable the clocks to the SPI controller using runtime PM. This > serves the dual purpose of reducing power consumption a little and letting > the core know when the device is idle. > > Signed-off-by: Mark Brown Acked-by: Heik