[PATCH 4/7] ARM: S5PV210: add framebuffer platform helpers for s5pv210 based machines

2010-05-17 Thread Marek Szyprowski
This patch adds common framebuffer device helpers and register defines for S5PV210 based machines. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-s5pv210/Kconfig |5 ++

[PATCH 5/7] ARM: S5PV210: add support for s3c-fb driver on Aquila machine

2010-05-17 Thread Marek Szyprowski
This patch adds required platform definitions to enable s3c-fb driver. Two framebuffer windows in 480x800x16bpp mode are defined. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-s5pv210/Kconfig |2 +

[PATCH 2/6] ARM: S3C244X: fix gpiolib port J support

2010-05-17 Thread Ben Dooks
From: Vasily Khoruzhick anars...@gmail.com Increase GPIOs number for S3C244X, and make S3C_GPIO_END point to BANKJ end, otherwise gpiolib refuses to register BANKJ Signed-off-by: Vasily Khoruzhick anars...@gmail.com Signed-off-by: Ben Dooks ben-li...@fluff.org ---

[PATCH 1/6] ARM: SAMSUNG: Add spinlock locking to GPIO banks

2010-05-17 Thread Ben Dooks
Add locking to each GPIO bank to allow for SMP capable code to use the gpiolib functions. See the gpio-core.h header file for more information. Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/plat-samsung/gpio-config.c| 12 ++-- arch/arm/plat-samsung/gpio.c

[PATCH 5/6] ARM: S3C24XX: Remove macros mapping GPIO number to base

2010-05-17 Thread Ben Dooks
As part of the cleanup, remove the old macros mapping GPIO numbers to the base of the register now we have gpiolib to manage the GPIO mappings for us. Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s3c2410/include/mach/gpio-nrs.h |1 -

[PATCH 4/6] ARM: S3C24XX: Update missed gpio calls to use gpiolib

2010-05-17 Thread Ben Dooks
Update a couple of S3C24XX and S3C2412 files that are still using the GPIO number to register mapping calls to get the s3c_gpio_chip and use the base field from that. Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s3c2412/gpio.c | 12 +++- arch/arm/plat-s3c24xx/gpio.c |

Re: [PATCH v3 10/10] Input: s3c24xx_ts - Changes TYPEs for Samsung touchscreen driver

2010-05-17 Thread Ben Dooks
On Mon, May 17, 2010 at 03:12:37PM +0900, Kukjin Kim wrote: From: Naveen Krishna ch.nav...@samsung.com The Touchscreen driver now uses only 2 TYPEs based on the variations of TSADC module in the respective SoCs. TYPE_S3C24XX supports for S3C2410, S3C2440 TYPE_S3C64XX supports for S3C6410,

[PATCH v6] ARM: S5PV210: Add Ext interrupt support.

2010-05-17 Thread Kukjin Kim
From: Jongpill Lee boyko@samsung.com Add support for external interrupts on S5PV210. Signed-off-by: Jongpill Lee boyko@samsung.com Signed-off-by: Pannaga Bhushan p.bhus...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s5pv210/Kconfig |

Re: [PATCH v6] ARM: S5PV210: Add Ext interrupt support.

2010-05-17 Thread Ben Dooks
On Mon, May 17, 2010 at 04:56:26PM +0900, Kukjin Kim wrote: From: Jongpill Lee boyko@samsung.com Add support for external interrupts on S5PV210. ok, merged onto for-2635/s5p-general. -- Ben Q: What's a light-year? A: One-third less calories than a regular year. -- To

Re: [PATCH 1/3] ARM: Samsung: fix broken timer irq base

2010-05-17 Thread Ben Dooks
On Mon, May 17, 2010 at 08:29:53AM +0200, Marek Szyprowski wrote: Timer interrupts range was defined as 43-47, what overlaps with VIC0 range (32-64). This was caused probably by a typo while the common interrupts definition was refactored. This patch moves timer interrupt range to safe area of

RE: [PATCH v6] ARM: S5PV210: Add Ext interrupt support.

2010-05-17 Thread Marek Szyprowski
Hello, On Monday, May 17, 2010 9:56 AM Kukjin Kim wrote: From: Jongpill Lee boyko@samsung.com Add support for external interrupts on S5PV210. Signed-off-by: Jongpill Lee boyko@samsung.com Signed-off-by: Pannaga Bhushan p.bhus...@samsung.com Signed-off-by: Kukjin Kim

RE: [PATCH 05/15] ARM: S5PC100: Use common functions for gpiolib implementation

2010-05-17 Thread Kukjin Kim
Marek Szyprowski wrote: GPIOlib helpers from plat-samsung already have functions for accessing 4bit gpio banks. This patch removes the duplicated functions from plat-s5pc1xx/gpiolib.c. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park

RE: [PATCH 10/15] ARM: S5PC100: Move sdhci helpers from plat-s5pc1xx to mach-s5pc100

2010-05-17 Thread Kukjin Kim
Marek Szyprowski wrote: Move sdhci helpers from plat-s5pc1xx to mach-s5pc100. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-s5pc100/Kconfig | 11 +++

RE: [PATCH 09/15] ARM: S5PC100: Move i2c helpers from plat-s5pc1xx to mach-s5pc100

2010-05-17 Thread Kukjin Kim
Marek Szyprowski wrote: Move i2c helpers from plat-s5pc1xx to mach-s5pc100. It would be nice that separate submitting this patch from c100 clean up with your [PATCH 2/3] ARM: Samsung: move common I2C0 device helpers to machine directories. 1. Moving common I2C0 device helpers to each mach

RE: [PATCH 2/3] ARM: Samsung: move common I2C0 device helpers to machine directories

2010-05-17 Thread Kukjin Kim
Marek Szyprowski wrote: I2C0 device helper depend on GPIO pin defines that are SoC specific. This patch copies the dummy i2c0 setup code to the respective mach-s5p* directories, so each SoC will be able to implement using its own defines. Yes, right. Looks good except header of

RE: [PATCH 2/3] ARM: Samsung: move common I2C0 device helpers to machine directories

2010-05-17 Thread Kukjin Kim
Marek Szyprowski wrote: I2C0 device helper depend on GPIO pin defines that are SoC specific. This patch copies the dummy i2c0 setup code to the respective mach-s5p* directories, so each SoC will be able to implement using its own defines. One more, moving from plat-s5p/ is better than

RE: [PATCH 13/15] ARM: Samsung: Move external interrupts support from plat-s5pc1xx to plat-s5p

2010-05-17 Thread Kukjin Kim
Marek Szyprowski wrote: This patch moves external interrupts support code from plat-s5pc1xx to plat-s5p and enables support for it on ARCH_S5PC100. This code can be easily reused by S5PV210/S5PC110 and probably S5P6442. Already merged EINT patch for S5P to Ben's for-2635/s5p-general. So

RE: [PATCH 12/15] ARM: SMDKC100: fix frame buffer definitions

2010-05-17 Thread Kukjin Kim
Marek Szyprowski wrote: Fix incorrectly defined pixel clock value for the default framebuffer window. It is better that separate this patch from c100 clean up patch set. As you know, this patch is unrelated to that. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by:

RE: [PATCH 08/15] ARM: S5PC100: Move frame buffer helpers from plat-s5pc1xx to mach-s5pc100

2010-05-17 Thread Kukjin Kim
Marek Szyprowski wrote: Move frame buffer helpers from plat-s5pc1xx to mach-s5pc100. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-s5pc100/Kconfig |7 ++-

Re: [PATCH 05/15] ARM: S5PC100: Use common functions for gpiolib implementation

2010-05-17 Thread Maurus Cuelenaere
Op 17-05-10 13:14, Kukjin Kim schreef: Marek Szyprowski wrote: snip - static __init int s5pc1xx_gpiolib_init(void) { -struct s3c_gpio_chip *chips; +struct s3c_gpio_chip *chip; int nr_chips; -chips = s5pc100_gpio_chips; -nr_chips =

[PATCH 1/2] ARM: S3C64XX: Add USB external clock definition

2010-05-17 Thread Maurus Cuelenaere
This adds the xusbxti clock to S3C64XX platform. Signed-off-by: Maurus Cuelenaere mcuelena...@gmail.com --- arch/arm/mach-s3c64xx/clock.c |7 +++ arch/arm/plat-samsung/include/plat/clock.h |1 + 2 files changed, 8 insertions(+), 0 deletions(-) diff --git

[PATCH 2/2] USB: s3c_hsotg: Add support for external USB clock

2010-05-17 Thread Maurus Cuelenaere
The PLL that drives the USB clock supports 3 input clocks: 12, 24 and 48Mhz. This patch adds support to the USB driver for setting the correct register bit according to the given clock. This depends on the following patch: [PATCH] ARM: S3C64XX: Add USB external clock definition Signed-off-by:

Re: [PATCH v2 4/9] Input: s3c24xx_ts - Implements generic GPIO configuration function

2010-05-17 Thread Ben Dooks
On Thu, May 13, 2010 at 10:07:14PM +0900, Kukjin Kim wrote: From: Naveen Krishna ch.nav...@samsung.com This patch implements generic GPIO configuration function in Samsung touchscreen driver. And makes the touchscreen driver s3c24xx-ts.c generic to all the Samsung SoCs. Signed-off-by: