[PATCH 2/3] rtc: rtc-s3c: Updates driver for S3C64XX and newer SoCs

2010-07-21 Thread Kukjin Kim
From: Atul Dahiya atul.dah...@samsung.com This Patch does followings. 1) Enables support for alarm and time tick pending register for periodic interrupt generation. 2) Changes writeb to writew beacuse the macro S3C64XX_RTCCON_TICEN (Tick Timer Enable) is 9th bit of register. 3) Changes

[PATCH 1/2] ARM: S3C64XX: Move RTC clock from init_clocks to init_clocks_disable

2010-07-21 Thread Kukjin Kim
From: Atul Dahiya atul.dah...@samsung.com RTC clock does not require to be enabled at boot time. Signed-off-by: Atul Dahiya atul.dah...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s3c64xx/clock.c | 12 ++-- 1 files changed, 6 insertions(+), 6

[PATCH 1/3] ARM: SAMSUNG: Updates RTC register for support Alarm IRQ and Time Tick.

2010-07-21 Thread Kukjin Kim
From: Atul Dahiya atul.dah...@samsung.com This patch updates RTC registers for support Alarm IRQ and Time Tick. Signed-off-by: Atul Dahiya atul.dah...@samsung.com Signed-off-by: Taekgyun Ko taeggyun...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com ---

[PATCH 0/3] Updates RTC driver for Samsung S3C64XX and newer SoCs

2010-07-21 Thread Kukjin Kim
This patch updates RTC driver for Samsung S3C64XX and newer SoCs. NOTE: depends on previous RTC patch for clock enabling. [PATCH 1/3] ARM: SAMSUNG: Updates RTC register for support Alarm IRQ and Time Tick. [PATCH 2/3] rtc: rtc-s3c: Updates driver for S3C64XX and newer SoCs [PATCH 3/3] rtc:

[PATCH 2/2] rtc: rtc-s3c: Updates RTC driver for clock enabling support

2010-07-21 Thread Kukjin Kim
From: Atul Dahiya atul.dah...@samsung.com This Patch updates existing Samsung RTC driver for clock enabling support. Signed-off-by: Atul Dahiya atul.dah...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- drivers/rtc/rtc-s3c.c | 22 ++ 1 files changed, 22

[PATCH 0/2] Updates Samsung RTC driver for clock enabling support

2010-07-21 Thread Kukjin Kim
This patch updates RTC driver for clock enabling support. [PATCH 1/2] ARM: S3C64XX: Move RTC clock from init_clocks to init_clocks_disable [PATCH 2/2] rtc: rtc-s3c: Updates RTC driver for clock enabling support -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the

[PATCH 3/3] rtc: rtc-s3c: Add BCD register initialization codes

2010-07-21 Thread Kukjin Kim
From: Taekgyun Ko taeggyun...@samsung.com RTC needs to be initialized when BCD registers have invalid value. Signed-off-by: Taekgyun Ko taeggyun...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- drivers/rtc/rtc-s3c.c | 14 -- 1 files changed, 12 insertions(+), 2

[PATCH 2/5] rtc: rtc-s3c: Add extra option to include RTC for Samsung SoCs

2010-07-21 Thread Kukjin Kim
From: Atul Dahiya atul.dah...@samsung.com This patch adds HAVE_S3C_RTC to control inclusion of RTC driver for Samsung SoCs. This option will help to include the driver only for the necessary machines and not for any given arch. Signed-off-by: Atul Dahiya atul.dah...@samsung.com Signed-off-by:

[PATCH 1/5] ARM: S3C64XX: Add RTC support for S3C64XX

2010-07-21 Thread Kukjin Kim
From: Atul Dahiya atul.dah...@samsung.com This patch adds support for RTC for SMDK6410. Signed-off-by: Atul Dahiya atul.dah...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s3c64xx/Kconfig |1 + arch/arm/mach-s3c64xx/mach-smdk6410.c |1 + 2 files

[PATCH 5/5] ARM: S5PV210: Add RTC support for S5PV210 and S5PC110

2010-07-21 Thread Kukjin Kim
From: Atul Dahiya atul.dah...@samsung.com This patch adds support RTC driver for Samsung S5PV210/S5PC110. Signed-off-by: Atul Dahiya atul.dah...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s5pv210/Kconfig|4

[PATCH 4/5] ARM: S5PC100: Add RTC support for S5PC100

2010-07-21 Thread Kukjin Kim
From: Atul Dahiya atul.dah...@samsung.com This patch adds support RTC driver for Samsung S5PC100. Signed-off-by: Atul Dahiya atul.dah...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s5pc100/Kconfig|2 ++ arch/arm/mach-s5pc100/include/mach/map.h |

[PATCH] ARM: SAMSUNG: Make RTC driver dependency SoC specific instead of machine specific

2010-07-21 Thread Kukjin Kim
From: Atul Dahiya atul.dah...@samsung.com This patch moves the dependency of RTC driver from MACH_XXX(board) to ARCH_XXX(SoC). This will enable all machines using Samsung S5P6440, S5PC100 and S5PV210 SoCs to use RTC driver by default. Signed-off-by: Atul Dahiya atul.dah...@samsung.com

[PATCH 3/5] ARM: S5P6440: Add RTC support for S5P6440

2010-07-21 Thread Kukjin Kim
From: Atul Dahiya atul.dah...@samsung.com This patch adds support RTC driver for Samsung S5P6440. Signed-off-by: Atul Dahiya atul.dah...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s5p6440/Kconfig|2 ++ arch/arm/mach-s5p6440/include/mach/map.h |

Re: [PATCH] serial: samsung.c: Add FRACVAL support for newer UART

2010-07-21 Thread Sergei Shtylyov
Hello. Kukjin Kim wrote: From: Changhwan Youn chaos.y...@samsung.com FRACVAL register provides the same function as UDIVSLOT register which is the 1/16ths adjustment to the baud rate but the implementaiton is easier. To support UDIVSLOT register, UDIVSLOT table search is necessary though

Re: [PATCH] ARM: SAMSUNG: Make RTC driver dependency SoC specific instead of machine specific

2010-07-21 Thread Kyungmin Park
I don't see the Samsung SoCs don't have RTC feature. I think S3C_RTC only depends on PLAT_SAMSUNG so PLAT_SAMSUNG select HAVE_S3C_RTC is enough. Thank you, Kyungmin Park On Wed, Jul 21, 2010 at 6:00 PM, Kukjin Kim kgene@samsung.com wrote: From: Atul Dahiya atul.dah...@samsung.com This

Re: [PATCH v3 1/7] ARM: S5PV210: Add a Kconfig entry S5PC110_EVT0_WORKAROUND

2010-07-21 Thread Ben Dooks
On 21/07/10 02:13, MyungJoo Ham wrote: On Wed, Jul 21, 2010 at 9:36 AM, Ben Dooks b...@simtec.co.uk wrote: On 07/19/10 06:31, MyungJoo Ham wrote: Early S5PC110 (EVT0) chip had some issues required workaround from a kernel. We can add such workaround codes with this Kconfig entry.

RE: [PATCH] ARM: SAMSUNG: Make RTC driver dependency SoC specific instead of machine specific

2010-07-21 Thread Kukjin Kim
Kyungmin Park wrote: I don't see the Samsung SoCs don't have RTC feature. Yes, you're right... But it doesn't mean the RTC driver can support every Samsung SoCs now. I think S3C_RTC only depends on PLAT_SAMSUNG so PLAT_SAMSUNG select HAVE_S3C_RTC is enough. So I think, this is not bad.

RE: [PATCH v2 7/8] ARM: S5PV310: Add Board support file

2010-07-21 Thread Kukjin Kim
Kyungmin Park wrote: On Fri, Jul 16, 2010 at 5:58 PM, Kukjin Kim kgene@samsung.com wrote: From: Changhwan Youn chaos.y...@samsung.com This patch adds Samsung SMDKV310 board support file. Signed-off-by: Changhwan Youn chaos.y...@samsung.com Signed-off-by: Kukjin Kim

RE: [PATCH v6 3/3] input: samsung-keypad - Add samsung keypad driver

2010-07-21 Thread Kukjin Kim
Joonyoung Shim wrote: On 7/21/2010 5:07 PM, Dmitry Torokhov wrote: Hi Joonyoung, On Wed, Jul 21, 2010 at 02:42:22PM +0900, Joonyoung Shim wrote: Hi, Dmitry. On 7/9/2010 4:39 PM, Joonyoung Shim wrote: On 7/9/2010 4:07 PM, Kukjin Kim wrote: Joonyoung Shim wrote: On 7/7/2010 8:52

RE: [PATCH v3 2/8] ARM: S5PV310: Add new CPU initialization support

2010-07-21 Thread Kukjin Kim
Kyungmin Park wrote: On Tue, Jul 20, 2010 at 9:11 PM, Kukjin Kim kgene@samsung.com wrote: From: Changhwan Youn chaos.y...@samsung.com This patch adds Samsung S5PV310/S5PC210 CPU support. The S5PV310/S5PC210 integrates a ARM Cortex A9 multi-core. Signed-off-by: Changhwan Youn

[PATCH v2 3/3] i2c/busses: Select I2C bus support for S5PV210 and S5P6440.

2010-07-21 Thread Kukjin Kim
From: Naveen Krishna Ch ch.nav...@samsung.com This patch is to select support I2C channels 0, 1 and 2 for S5PV210 and S5P6440. Signed-off-by: Naveen Krishna Ch ch.nav...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- Changes since v1: - Modifed the Kconfig help comments.

Re: [PATCH v2 2/3] ARM: S5PV210: Add support for I2C devices on SMDKV210 and SMDKC110

2010-07-21 Thread Kyungmin Park
which tree do you use? If not fix the s5pv210_IIC2_IRQ correcly, it can't compile it. but I'm not see related patch at mailing list. Thank you, Kyungmin Park On Wed, Jul 21, 2010 at 9:58 PM, Kukjin Kim kgene@samsung.com wrote: From: Naveen Krishna Ch ch.nav...@samsung.com This patch adds

Re: [PATCH v3 2/8] ARM: S5PV310: Add new CPU initialization support

2010-07-21 Thread Kyungmin Park
On Wed, Jul 21, 2010 at 9:55 PM, Kukjin Kim kgene@samsung.com wrote: Kyungmin Park wrote: On Tue, Jul 20, 2010 at 9:11 PM, Kukjin Kim kgene@samsung.com wrote: From: Changhwan Youn chaos.y...@samsung.com This patch adds Samsung S5PV310/S5PC210 CPU support. The S5PV310/S5PC210

Re: [PATCH] ARM: SAMSUNG: Make RTC driver dependency SoC specific instead of machine specific

2010-07-21 Thread Kyungmin Park
On Wed, Jul 21, 2010 at 9:29 PM, Kukjin Kim kgene@samsung.com wrote: Kyungmin Park wrote: I don't see the Samsung SoCs don't have RTC feature. Yes, you're right... But it doesn't mean the RTC driver can support every Samsung SoCs now. Vice versa, if there's problem, we can fix it

Re: [PATCH v2 3/3] i2c/busses: Select I2C bus support for S5PV210 and S5P6440.

2010-07-21 Thread Kyungmin Park
I don't want to modify Kconfig anymore. it's simple to modify driver itself. Think the usage of I2c. I think there's no case don't use it. At this time modify Kconfig once, and just fix the driver if new SoCs are arrives. Of course we can modify Kconfig one more, If there's really new IPs of I2C

Re: [PATCH v3 1/7] ARM: S5PV210: Add a Kconfig entry S5PC110_EVT0_WORKAROUND

2010-07-21 Thread Kyungmin Park
On Wed, Jul 21, 2010 at 8:47 PM, Ben Dooks b...@simtec.co.uk wrote: On 21/07/10 02:13, MyungJoo Ham wrote: On Wed, Jul 21, 2010 at 9:36 AM, Ben Dooks b...@simtec.co.uk wrote: On 07/19/10 06:31, MyungJoo Ham wrote: Early S5PC110 (EVT0) chip had some issues required workaround from a kernel.

RE: [PATCH v2 3/3] i2c/busses: Select I2C bus support for S5PV210 and S5P6440.

2010-07-21 Thread Kukjin Kim
Kyungmin Park wrote: I don't want to modify Kconfig anymore. it's simple to modify driver itself. Yeah, I think so. Think the usage of I2c. I think there's no case don't use it. At this time modify Kconfig once, and just fix the driver if new SoCs are arrives. Of course we can modify

Re: [PATCH v2 3/3] i2c/busses: Select I2C bus support for S5PV210 and S5P6440.

2010-07-21 Thread Kyungmin Park
On Wed, Jul 21, 2010 at 10:55 PM, Kukjin Kim kgene@samsung.com wrote: Kyungmin Park wrote: I don't want to modify Kconfig anymore. it's simple to modify driver itself. Yeah, I think so. Think the usage of I2c. I think there's no case don't use it. At this time modify Kconfig once,

Re: [PATCH 3/3] rtc: rtc-s3c: Add BCD register initialization codes

2010-07-21 Thread Sergei Shtylyov
Hello. Kukjin Kim wrote: From: Taekgyun Ko taeggyun...@samsung.com RTC needs to be initialized when BCD registers have invalid value. Signed-off-by: Taekgyun Ko taeggyun...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com [...] diff --git a/drivers/rtc/rtc-s3c.c

Re: [PATCH v3] Samsung: sdhci-s3c: add support for new card detection methods

2010-07-21 Thread Andrew Morton
On Fri, 16 Jul 2010 08:24:26 +0200 Marek Szyprowski m.szyprow...@samsung.com wrote: arch/arm/mach-s3c64xx/setup-sdhci-gpio.c | 14 +--- arch/arm/mach-s5pc100/setup-sdhci-gpio.c | 21 ++- arch/arm/mach-s5pv210/setup-sdhci-gpio.c | 22

Re: [PATCH v3 1/7] ARM: S5PV210: Add a Kconfig entry S5PC110_EVT0_WORKAROUND

2010-07-21 Thread MyungJoo Ham
On Wed, Jul 21, 2010 at 8:47 PM, Ben Dooks b...@simtec.co.uk wrote: On 21/07/10 02:13, MyungJoo Ham wrote: On Wed, Jul 21, 2010 at 9:36 AM, Ben Dooks b...@simtec.co.uk wrote: On 07/19/10 06:31, MyungJoo Ham wrote: Early S5PC110 (EVT0) chip had some issues required workaround from a kernel.

Re: [rtc-linux] [PATCH 3/3] rtc: rtc-s3c: Add BCD register initialization codes

2010-07-21 Thread Wan ZongShun
2010/7/21 Kukjin Kim kgene@samsung.com: From: Taekgyun Ko taeggyun...@samsung.com RTC needs to be initialized when BCD registers have invalid value. Do you mean that the hardware register does not have default value? Any results if no initialized value here? Signed-off-by: Taekgyun Ko