[PATCH 4/6] ARM: S3C64XX: Adds Touch Screen Driver Support for S3C6410

2010-05-06 Thread Kukjin Kim
From: Naveen Krishna Signed-off-by: Naveen Krishna Ch Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c64xx/Kconfig |1 + arch/arm/mach-s3c64xx/mach-smdk6410.c | 12 +++ arch/arm/mach-s3c64xx/s3c6410.c|1 + arch/arm/plat-samsung/Kconfig |5 +++ arch/a

[PATCH 3/6] ARM: Samsung: Implements cfg_gpio function for Samsung Touch screen devices

2010-05-06 Thread Kukjin Kim
From: Naveen Krishna This makes the touchscreen driver s3c24xx-ts.c generic to all the Samsung SoCs. Also modifies the H1940 machine respectively. Signed-off-by: Naveen Krishna Ch Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/Kconfig |1 + arch/arm/mach-s3c2410/mach-h1940

[PATCH 1/6] ARM: SAMSUNG: Moving ADC device definition to plat-samsung

2010-05-06 Thread Kukjin Kim
From: Naveen Krishna Since, the ADC device definition is generic to the S3C64XX, S5P Series SoCs from Samsung. Signed-off-by: Naveen Krishna Ch Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c64xx/Kconfig|1 + arch/arm/mach-s3c64xx/Makefile |1 - arch/arm/mach-s3c

[PATCH 6/6] ARM: S5PV210: Adds touch screen Device support for S5PV210

2010-05-06 Thread Kukjin Kim
From: Naveen Krishna Note: TSADC in S5PV210 support 2 touch screen interfaces, Only 1 is implemented as of now. Signed-off-by: Naveen Krishna Ch Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/Kconfig|2 ++ arch/arm/mach-s5pv210/cpu.c |3 +++ arch/arm/mach

[PATCH 5/6] ARM: S5P6440: Adds Touch screen Device support to S5P6440

2010-05-06 Thread Kukjin Kim
From: Naveen Krishna Signed-off-by: Naveen Krishna Ch --- arch/arm/mach-s5p6440/Kconfig|2 ++ arch/arm/mach-s5p6440/cpu.c |2 ++ arch/arm/mach-s5p6440/include/mach/map.h |3 +++ arch/arm/mach-s5p6440/mach-smdk6440.c| 12 drivers/input/touc

[PATCH 2/6] ARM: Samsung: Moving a touchscreen related header file to plat-samsung

2010-05-06 Thread Kukjin Kim
From: Naveen Krishna As code can be reused by touchscreens on all Samsung SoCs Also makes required modifications in some machines to avoid build breaks. Signed-off-by: Naveen Krishna Ch Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/include/mach/ts.h | 21 - arch/ar

Re: next-samsung: acer n30/n35 updates

2010-05-06 Thread Pinkava J.
Dne 7.5.2010 02:50, Ben Dooks napsal(a): > Acer n35 support has been provisonally merged into the following branch: > > git://git.fluff.org/bjdooks/linux.git for-2635/acer-n35 > > If there are any objections, then let me know, otherwise this will be > merged into next-samsug this weekend ready

next-samsung: acer n30/n35 updates

2010-05-06 Thread Ben Dooks
Acer n35 support has been provisonally merged into the following branch: git://git.fluff.org/bjdooks/linux.git for-2635/acer-n35 If there are any objections, then let me know, otherwise this will be merged into next-samsug this weekend ready to go in the next merge window. Jiri, please confirm

Re: [PATCH] ARM: S3C64XX: Add s3c64xx support to touchscreen driver

2010-05-06 Thread Ben Dooks
On Thu, May 06, 2010 at 11:50:29AM +0200, Maurus Cuelenaere wrote: > Add support for the s3c64xx touchscreen to the s3c2410_ts driver, > ensuring it compiles and supports the extra features such as the > interrupt generation. > > Signed-off-by: Maurus Cuelenaere Acked-by: Ben Dooks > --- > driv

Re: SAMSUNG How to handle changes in TSADC IP register bits

2010-05-06 Thread Maurus Cuelenaere
Op 07-05-10 01:14, Ben Dooks schreef: > On Thu, May 06, 2010 at 11:52:10AM +0200, Maurus Cuelenaere wrote: > >> Op 06-05-10 07:41, Ben Dooks schreef: >> >>> On Thu, May 06, 2010 at 06:38:22AM +0100, Ben Dooks wrote: >>> >>> On Thu, May 06, 2010 at 04:08:20AM +, NAVEEN KRI

[PATCH 23/23] ARM: S3C24XX: Remove _INP macros in

2010-05-06 Thread Ben Dooks
Remove the _INP definitions, they are all zero and also unused Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/include/mach/regs-gpioj.h | 13 - 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-s3c2410/include/mach/regs-gpioj.h b/arch/arm/mach-s3c24

[PATCH 22/23] ARM: S3C24XX: Remove S3C2410_GPJ numbering

2010-05-06 Thread Ben Dooks
Remove the old S3C2410_GPJ as we will be moving to the new gpiolib based driver code and these numbers will become invalid. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/include/mach/regs-gpioj.h | 19 --- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/arc

[PATCH 21/23] ARM: S3C24XX: Wrapper s3c2410_gpio_setpin and s3c2410_gpio_pullup()

2010-05-06 Thread Ben Dooks
Change s3c2410_gpio_setpin() and s3c2410_gpio_pullup() to use the new s3c_ gpio configuration calls until all their users are converted. Signed-off-by: Ben Dooks --- arch/arm/plat-s3c24xx/gpio.c | 47 +- 1 files changed, 19 insertions(+), 28 deletions(-)

[PATCH 20/23] ARM: S3C2410: Remove the users of s3c2410_gpio_pullup()

2010-05-06 Thread Ben Dooks
Remove the last s3c2410_gpio_pullup() users in arch/arm/mach-s3c2410 Note, since mach-h1940.c is setting output and a pull-up, the call has vbeen chanerd to S3C_GPIO_PULL_NONE instead of S3C_GPIO_PULL_UP. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/mach-amlm5900.c |2 +- arch/arm/mac

[PATCH 19/23] ARM: mini2440: Move to using gpiolib API and s3c_gpio functions

2010-05-06 Thread Ben Dooks
Move the mach-mini2440 to using the gpiolib API for GPIOS it directly uses, and s3c_gpio calls for configuration. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2440/mach-mini2440.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-s3c2440/mac

[PATCH 18/23] ARM: S3C24XX: Remove s3c2410_gpio_getcfg(), implement s3c_gpio_getcfg()

2010-05-06 Thread Ben Dooks
Add s3c_gpio_getcfg() and change anything using s3c2410_gpio_getcfg() to use this instead. Signed-off-by: Ben Dooks --- arch/arm/plat-s3c24xx/gpio.c | 19 --- arch/arm/plat-s3c24xx/pm.c |4 ++-- arch/arm/plat-samsung/gpio-config

[PATCH 17/23] ARM: SAMSUNG: Add GPIO configuration read calls

2010-05-06 Thread Ben Dooks
Add the necessary 1,2 and 4 bit configuration read calls for the new gpio code to allow removal of the old s3c24xx gpio code. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c64xx/gpiolib.c|6 +++ arch/arm/mach-s5p6440/gpio.c |5 ++ arch/arm/plat-s3

[PATCH 16/23] ARM: S3C24XX: Remove s3c2410_gpio_getirq()

2010-05-06 Thread Ben Dooks
Remove s3c2410_gpio_getirq() as the only users is the pm code, and it can be replicated by using gpio_to_irq(). Signed-off-by: Ben Dooks --- arch/arm/plat-s3c24xx/gpio.c | 19 --- arch/arm/plat-s3c24xx/pm.c |2 +- 2 files changed, 1 insertions(+), 20 deletions(-) diff --

[PATCH 15/23] ARM: S3C24XX: Remove s3c2410_gpio_getpull()

2010-05-06 Thread Ben Dooks
Remove the unused s3c2410_gpio_getpull() Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/include/mach/gpio-fns.h | 12 arch/arm/plat-s3c24xx/gpio.c | 13 - 2 files changed, 0 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-s3c2410/inclu

[PATCH 13/23] ARM: S3C24XX: Drop s3c2410 specific s3c2410_gpio_cfgpin()

2010-05-06 Thread Ben Dooks
The s3c_gpio_cfgpin() call should be functionally equivalent, so replace the s3c2410_gpio_cfgpin() calls in the s3c24xx code with s3c_gpio_cfgpin to allow moving away from a fixed GPIO number to register address mapping Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/h1940-bluetooth.c |

[PATCH 14/23] ARM: S3C24XX: Remove s3c2410_gpio_setcfg()

2010-05-06 Thread Ben Dooks
Remove the implementation of s3c2410_gpio_setcfg() as it should now be functionally equivalent to s3c_gpio_cfgpin(), and add a wrapper for those drivers that are still using this call. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/include/mach/gpio-fns.h | 35 -- arch/arm/

[PATCH 11/23] ARM: S3C2410: Change s3c2410_gpio_pullupl(x, 1) to use s3c_gpio_cfgpull()

2010-05-06 Thread Ben Dooks
Start moving code that is using the old s3c2410_gpio API to using the newer s3c_gpio variants by finding all the usages of s3c2410_gpio_pullup() which disable the pin's pull up and replacing them. sed 's/s3c2410_gpio_pullup\(.*\), 1/s3c_gpio_cfgpull\1, S3C_GPIO_PULL_NONE/g' Signed-off-by: Ben Doo

[PATCH 12/23] ARM: S3C24XX: Change s3c2410_gpio_pullupl(x, 1) to use s3c_gpio_cfgpull()

2010-05-06 Thread Ben Dooks
Start moving code that is using the old s3c2410_gpio API to using the newer s3c_gpio variants by finding all the usages of s3c2410_gpio_pullup() which disable the pin's pull up and replacing them. sed 's/s3c2410_gpio_pullup\(.*\), 1/s3c_gpio_cfgpull\1, S3C_GPIO_PULL_NONE/g' Signed-off-by: Ben Do

[PATCH 10/23] ARM: VR1000: Update mach-vr1000.c to use gpiolib API

2010-05-06 Thread Ben Dooks
Change mach-vr1000.c to use gpiolib for gpio control. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/mach-vr1000.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-s3c2410/mach-vr1000.c b/arch/arm/mach-s3c2410/mach-vr1000.c index 9051f0d..d540d79 10

[PATCH 08/23] ARM: n30: Update mach-n30 to use gpiolib API

2010-05-06 Thread Ben Dooks
Change mach-n30.c to use gpiolib for the GPIO lines that are directly manipulated by it. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/mach-n30.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.

[PATCH 09/23] ARM: BAST: Update mach-bast to use gpiolib API

2010-05-06 Thread Ben Dooks
Change mach-bast .c to use gpiolib for the GPIO lines that are directly manipulated by it. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/mach-bast.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-

[PATCH 07/23] ARM: QT2410: Update mach-qt2410 to use gpiolib API

2010-05-06 Thread Ben Dooks
Change mach-qt2410.c to use gpiolib for the GPIO lines that are directly manipulated by it. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/mach-qt2410.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-s3c2410/mach-qt2410.c b/arch/arm/mach-s3c2410

[PATCH 05/23] ARM: JIVE: Update mach-jive to use gpiolib API

2010-05-06 Thread Ben Dooks
Change mach-jive to use gpiolib for the GPIO lines that are directly manipulated by it. Note, we ignore any errors from gpio_request(), unlikely to see any. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2412/mach-jive.c | 19 +-- 1 files changed, 9 insertions(+), 10 deletions(

[PATCH 06/23] ARM: H1940: Change mach-h1940 to use gpiolib API

2010-05-06 Thread Ben Dooks
Change mach-h1940 to use the gpiolib calls instead of s3c2410_gpio directly. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/mach-h1940.c| 15 --- arch/arm/mach-s3c2412/mach-smdk2413.c |8 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/arch/ar

[PATCH 03/23] ARM: S3C24XX: Add extended GPIO used on S3C2443 and beyond

2010-05-06 Thread Ben Dooks
Add the GPIO banks that are used on the S3C2443 and above to the list of available GPIOS. Currently we do not have any limit on the SoC GPIO, so these are being registered whether the SoC has them or not. It is currently up to the user not to try and use them. Signed-off-by: Ben Dooks --- arch/

[PATCH 04/23] ARM: H1940: Change h1940-bluetooth to use gpiolib API

2010-05-06 Thread Ben Dooks
Change the h1940-bluetooth driver to use gpiolib to set the output state of GPH1. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/h1940-bluetooth.c | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-s3c2410/h1940-bluetooth.c b/arch/arm/mach

[PATCH 02/23] ARM: S3C24XX: Add the gpio pull configuration for pull-up

2010-05-06 Thread Ben Dooks
Add the necessary gpio configuration helper for the devices which have a single-bit pull-up resistor disabled. Signed-off-by: Ben Dooks --- arch/arm/mach-s3c2410/Kconfig |1 + arch/arm/mach-s3c2410/s3c2410.c|8 + arch/arm/mach-s3c2440/Kconfig

[PATCH 01/23] ARM: S3C24XX: Add initial s3c_gpio configuration code

2010-05-06 Thread Ben Dooks
Add support for s3c_gpio_setcfg() and s3c_gpio_setpull() implementations to get ready for removal of the specific code being used by s3c24xx. Also rename the s3c_gpio_setcfg_s3c24xx_banka to s3c_gpio_setcfg_s3c24xx_a as seen in the header file to correct a build warning. Signed-off-by: Ben Dooks

S3C24XX GPIO updates

2010-05-06 Thread Ben Dooks
This is the series to remove the old style s3c2410_gpio calls and move to using the central gpiolib based s3c_gpio calls. Please test this branch on s3c24xx based systems as i've not got much access to any of the older boards. -- To unsubscribe from this list: send the line "unsubscribe linux-sam

Re: SAMSUNG How to handle changes in TSADC IP register bits

2010-05-06 Thread Ben Dooks
On Thu, May 06, 2010 at 11:52:10AM +0200, Maurus Cuelenaere wrote: > Op 06-05-10 07:41, Ben Dooks schreef: > > On Thu, May 06, 2010 at 06:38:22AM +0100, Ben Dooks wrote: > > > >> On Thu, May 06, 2010 at 04:08:20AM +, NAVEEN KRISHNA CHATRADHI wrote: > >> > > Maurus, can you send the cha

Re: Re: SAMSUNG How to handle changes in TSADC IP register bits

2010-05-06 Thread Ben Dooks
On Thu, May 06, 2010 at 10:40:42AM +, NAVEEN KRISHNA CHATRADHI wrote: > Hi Maurus, > > -- Original Message --- > Sender : Maurus Cuelenaere > Date : May 06, 2010 15:28 (GMT+05:00) > Title : Re: SAMSUNG How to handle changes in TSADC IP register bits > > Hi Naveen, > > Op 06-05-1

Re: S3C6410 power management support status

2010-05-06 Thread Yauhen Kharuzhy
On Tue, May 04, 2010 at 01:24:20AM +0100, Ben Dooks wrote: > On Thu, Apr 29, 2010 at 03:45:09PM +0300, Yauhen Kharuzhy wrote: > > Hi. > > > > Can anybody explain current status of S3C6410 power management support > > in mainline? Suspend-to-RAM looks completely broken in the current > > Linus's gi

Re: SAMSUNG How to handle changes in TSADC IP register bits

2010-05-06 Thread Maurus Cuelenaere
Op 06-05-10 12:40, NAVEEN KRISHNA CHATRADHI schreef: > Hi Maurus, > > -- Original Message --- > Sender : Maurus Cuelenaere > Date : May 06, 2010 15:28 (GMT+05:00) > Title : Re: SAMSUNG How to handle changes in TSADC IP register bits > > Hi Naveen, > > Op 06-05-10 12:15, NAVEEN KRISHNA

Re: Re: SAMSUNG How to handle changes in TSADC IP register bits

2010-05-06 Thread NAVEEN KRISHNA CHATRADHI
Hi Maurus, -- Original Message --- Sender : Maurus Cuelenaere Date : May 06, 2010 15:28 (GMT+05:00) Title : Re: SAMSUNG How to handle changes in TSADC IP register bits Hi Naveen, Op 06-05-10 12:15, NAVEEN KRISHNA CHATRADHI schreef: > Hi Ben, Maurus, > > --- Original Message

Re: SAMSUNG How to handle changes in TSADC IP register bits

2010-05-06 Thread Maurus Cuelenaere
Hi Naveen, Op 06-05-10 12:15, NAVEEN KRISHNA CHATRADHI schreef: > Hi Ben, Maurus, > > --- Original Message --- > Sender : Maurus Cuelenaere > Date : May 06, 2010 14:52 (GMT+05:00) > Title : Re: SAMSUNG How to handle changes in TSADC IP register bits > > Op 06-05-10 07:41, Ben Dooks sch

Re: Re: SAMSUNG How to handle changes in TSADC IP register bits

2010-05-06 Thread NAVEEN KRISHNA CHATRADHI
Hi Ben, Maurus, --- Original Message --- Sender : Maurus Cuelenaere Date : May 06, 2010 14:52 (GMT+05:00) Title : Re: SAMSUNG How to handle changes in TSADC IP register bits Op 06-05-10 07:41, Ben Dooks schreef: > On Thu, May 06, 2010 at 06:38:22AM +0100, Ben Dooks wrote: > >> On T

Re: [PATCH] ARM: S3C64XX: Add USB clock source frequency as driver data to s3c-hsotg

2010-05-06 Thread Maurus Cuelenaere
Op 06-05-10 03:26, Ben Dooks schreef: > On Tue, May 04, 2010 at 01:12:36PM +0200, Maurus Cuelenaere wrote: > >> The upcoming SmartQ machines use a different base clock frequency >> for the USB block, this patch allows passing it as platform data >> to the driver. >> > When I merge thomas' p

Re: SAMSUNG How to handle changes in TSADC IP register bits

2010-05-06 Thread Maurus Cuelenaere
Op 06-05-10 07:41, Ben Dooks schreef: > On Thu, May 06, 2010 at 06:38:22AM +0100, Ben Dooks wrote: > >> On Thu, May 06, 2010 at 04:08:20AM +, NAVEEN KRISHNA CHATRADHI wrote: >> >>> Hi Ben, >>> >>> I'm working on Touchscreen driver support for S5PC100, S5PV210, S3C6410 & >>> S5P6440.

[PATCH] ARM: S3C64XX: Add s3c64xx support to touchscreen driver

2010-05-06 Thread Maurus Cuelenaere
Add support for the s3c64xx touchscreen to the s3c2410_ts driver, ensuring it compiles and supports the extra features such as the interrupt generation. Signed-off-by: Maurus Cuelenaere --- drivers/input/touchscreen/Kconfig |6 +++--- drivers/input/touchscreen/s3c2410_ts.c | 26 ++

Re: SAMSUNG kernel tree merge plans

2010-05-06 Thread Ben Dooks
On Thu, May 06, 2010 at 10:21:02AM +0300, Vasily Khoruzhick wrote: > ?? ?? 6 ?? 2010 08:46:51 ?? Ben Dooks > ??: > > I'm busy sorting out the trees for the next mege window, and should > > have a new next-samsung out in the next two or three days. > >

Re: SAMSUNG kernel tree merge plans

2010-05-06 Thread Vasily Khoruzhick
В сообщении от 6 мая 2010 08:46:51 автор Ben Dooks написал: > I'm busy sorting out the trees for the next mege window, and should > have a new next-samsung out in the next two or three days. > > As such, if there is anything that needs to go via Russell's tree, then > it needs to be merged as soon