Re: [PATCH 11/13] ARM: gpio: consolidate trivial gpiolib implementations

2011-08-10 Thread Linus Walleij
2011/8/9 Russell King - ARM Linux li...@arm.linux.org.uk: Consolidate 24 trivial gpiolib implementions out of mach/gpio.h into asm/gpio.h.  This is basically the include of asm-generic/gpio.h and the definition of gpio_get_value, gpio_set_value, and gpio_cansleep as described in

[PATCH] ARM:EXYNOS4: Add the missing clock of EXYNOS4210 to remove leakage power

2011-08-10 Thread Chanwoo Choi
Singed-off-by: Chanwoo Choi cw00.c...@samsung.com Singed-off-by: Donggeun Kim dg77@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos4/clock.c | 295 + arch/arm/mach-exynos4/include/mach/regs-pmu.h |6 + 2

[PATCH 0/2] Update uart irq handling for s3c64xx and later SoC's

2011-08-10 Thread Thomas Abraham
s3c64xx and later SoC's include the uart interrupt mask and pending registers in the uart controller, unlike their s3c24xx predecessor. This allows the uart irq handling to be moved from the platform code to the driver. This patchset does this change and removes all the macros that will not be

[PATCH 2/2] ARM: SAMSUNG: Remove uart irq handling from plaform code

2011-08-10 Thread Thomas Abraham
With uart tx/rx/err interrupt handling moved into the driver for s3c64xx and later SoC's, the uart interrupt handling in plaform code can be removed. The uart device irq resources is reduced to one and the related unused macros are removed. Suggested-by: Grant Likely grant.lik...@secretlab.ca CC:

[PATCH 0/2] Remove hw_addr dma leftovers from S3C24xx machs

2011-08-10 Thread Heiko Stübner
While trying to sort the dma for S3C2416 I stumbled open the hw_addr declarations in the other dma.c files. It took me a while to figure out that they seem to be some sort of leftover, i.e. they are used in dma-pl080.c of the old Samsung kernels based on 2.6.21 but nowhere in current kernels.

[PATCH 1/2] Remove hw_addr from s3c24XX dma channel declarations

2011-08-10 Thread Heiko Stübner
According to commit c4806174c516d26bf4a72db1789cfc96e4950d07 (ARM: S3C2412: DMA: Remove I2S FIFO address) the S3C DMA API does not make use of hw_addr.to/from declared for some of the channels in mach-s3c24XX/dma.c Grepping through the kernel also did non reveal any new users of these properties

Re: [PATCH 1/2] serial: samsung: Add unified interrupt handler for s3c64xx and later SoC's

2011-08-10 Thread Alan Cox
On Wed, 10 Aug 2011 15:51:19 +0530 Thomas Abraham thomas.abra...@linaro.org wrote: s3c64xx and later SoC's include the interrupt mask and pending registers in the uart controller, unlike the s3c24xx SoC's which have these registers in the interrupt controller. When the mask and pending

Re: [RFC][PATCH 2/2] spi: s3c64xx: Use clkdev for bus clock lookup

2011-08-10 Thread padma venkat
Hi Jassi, On Tue, Aug 9, 2011 at 6:13 PM, Jassi Brar jassisinghb...@gmail.com wrote: On Tue, Aug 9, 2011 at 7:28 PM, Padmavathi Venna padm...@samsung.com wrote: SPI driver is modified to lookup the bus clock using the alias name instead of getting clock name and clock number from platform

Re: [RFC][PATCH 1/2] S5PV210: SPI: Add clkdev support

2011-08-10 Thread padma venkat
Hi Sylwester, On Tue, Aug 9, 2011 at 7:12 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: [corrected Jassi's email address] On 08/09/2011 03:57 PM, Padmavathi Venna wrote: Create a clkdev alias for spi bus clock and modify the spi driver to lookup the clock using the alias name instead

[RFC][PATCH V2 1/2] S5PV210: SPI: Add clkdev support

2011-08-10 Thread Padmavathi Venna
Create a clkdev alias for spi bus clock and modify the spi driver to lookup the clock using the alias name instead of passing clock name and clock number from SPI platform data. Board designer has the option to pass the list of bus clocks that are going to be used with SPI controller.If that list

[RFC][PATCH V2 2/2] spi: s3c64xx: Use clkdev for bus clock lookup

2011-08-10 Thread Padmavathi Venna
SPI driver is modified to lookup the bus clock using the alias name instead of getting clock name and clock number from platform data. Driver is modified to get the best source clock among the available source clocks for the required frequency.At a time it enables only the required clock for the

Re: [RFC][PATCH 1/2] S5PV210: SPI: Add clkdev support

2011-08-10 Thread Sylwester Nawrocki
Hi Padmavathi, On 08/10/2011 02:04 PM, padma venkat wrote: Hi Sylwester, On Tue, Aug 9, 2011 at 7:12 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: [corrected Jassi's email address] On 08/09/2011 03:57 PM, Padmavathi Venna wrote: Create a clkdev alias for spi bus clock and modify

Re: [RFC][PATCH 2/2] spi: s3c64xx: Use clkdev for bus clock lookup

2011-08-10 Thread Jassi Brar
On Wed, Aug 10, 2011 at 5:33 PM, padma venkat padma@gmail.com wrote: Hi Jassi, On Tue, Aug 9, 2011 at 6:13 PM, Jassi Brar jassisinghb...@gmail.com wrote: On Tue, Aug 9, 2011 at 7:28 PM, Padmavathi Venna padm...@samsung.com wrote: SPI driver is modified to lookup the bus clock using the

Re: [PATCH 2/4] serial: s5pv210: Add device tree support

2011-08-10 Thread Thomas Abraham
Hi Ben, On 3 August 2011 14:42, Ben Dooks ben-li...@fluff.org wrote: On Wed, Aug 03, 2011 at 12:08:27AM +0100, Thomas Abraham wrote: For device tree based probe, the dependecy on pdev-id to attach a corresponding default port info to the driver's private data is removed. The fifosize

[PATCH 0/4] ARM: EXYNOS4: Support generic Power domain framework for EXYNOS4210

2011-08-10 Thread Chanwoo Choi
The following patch set use the generic Power domain Framework instead of power domain code depend of Samsung SoC. Chanwoo Choi (4): ARM: EXYNOS4: Support for generic I/O power domains on EXYNOS4210 ARM: EXYNOS4: Support for generic Clock manipulation PM callbacks ARM: EXYNOS4: Delete the

[PATCH 1/4] ARM: EXYNOS4: Support for generic I/O power domains on EXYNOS4210

2011-08-10 Thread Chanwoo Choi
Use the generic power domains support to implement support for power domain on EXYNOS4210. I refer to the following patch to implement what configure the clock-gating control register for block to turn off/on:

[PATCH 2/4] ARM: EXYNOS4: Support for generic Clock manipulation PM callbacks

2011-08-10 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos4/Makefile |2 +- arch/arm/mach-exynos4/pm-runtime.c | 56 2 files changed, 57 insertions(+), 1 deletions(-) create mode

[PATCH 3/4] ARM: EXYNOS4: Delete the power-domain code depend on Samsung SoC

2011-08-10 Thread Chanwoo Choi
This patch delete the power domain code depend on Samsung SoC to use the generic Power domain framework for EXYNOS4210. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos4/Kconfig |9 --

[PATCH 4/4] ARM: EXYNOS4: Add power domain to use generic Power domain Framework

2011-08-10 Thread Chanwoo Choi
This patch initializes the power domain of EXYNOS4210. The devices which suppot runtime-PM have to be added in specific power domain. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos4/mach-nuri.c | 18