RE: [PATCH v2 2/4] ARM: S3C2416: Set name of the framebuffer device only if it present

2010-06-22 Thread Marek Szyprowski
Hello, On Tuesday, June 22, 2010 5:22 PM Yauhen Kharuzhy wrote: > Fix case when board doesn't have LCD connected and doesn't have > corresponding platform device compiled. > > Signed-off-by: Yauhen Kharuzhy > --- > arch/arm/mach-s3c2416/s3c2416.c |2 ++ > 1 files changed, 2 insertions(+),

RE: Samsung SoCs: preparation for single kernel

2010-06-22 Thread Marek Szyprowski
Hello, On Wednesday, June 23, 2010 3:55 AM Eric Miao wrote: > ... > >>> e.g., cpu_is_* usage at OMAP tree > >>> > >>> static void omap_init_mcspi(void) > >>> { > >>>if (cpu_is_omap44xx()) > >>>omap4_mcspi_fixup(); > >>> > >>>platform_device_register(&omap2_mcspi1)

SMDK6440: I2C writes fails

2010-06-22 Thread Naveen Krishna Ch
Hi Mark, I was adding I2C support on SMDK6440 and found this removing the 1ms delay is causing I2C write and reads to fail.. http://www.mail-archive.com/linux-...@vger.kernel.org/msg03070.html [r...@samsung mars]# date | ./eeprog /dev/i2c-0 0x50 -w 0x200 -f eeprog 0.7.6, a 24Cxx EEPROM reader/wr

SMDK6440: Crash during boot up while configuring GPIO bank R

2010-06-22 Thread Naveen Krishna Ch
Hi Ben, I'm adding I2C support for SMDK6440 board. And observed a bootup crash while configuring GPIO GPR(); The following are the boot logs BUG: spinlock recursion on CPU#0, swapper/1  lock: c01fbd64, .magic: dead4ead, .owner: swapper/1, .owner_cpu: 0 [] (unwind_backtrace+0x0/0xec) from [] (do

Re: Samsung SoCs: preparation for single kernel

2010-06-22 Thread Kyungmin Park
On Wed, Jun 23, 2010 at 10:54 AM, Eric Miao wrote: > On Wed, Jun 23, 2010 at 9:47 AM, Kyungmin Park wrote: >> On Wed, Jun 23, 2010 at 9:50 AM, Eric Miao wrote: >>> On Wed, Jun 23, 2010 at 7:27 AM, Kyungmin Park wrote: To Ben, I really need single kernel for s5pc110 (cortex A8) an

Re: Samsung SoCs: preparation for single kernel

2010-06-22 Thread Eric Miao
On Wed, Jun 23, 2010 at 9:47 AM, Kyungmin Park wrote: > On Wed, Jun 23, 2010 at 9:50 AM, Eric Miao wrote: >> On Wed, Jun 23, 2010 at 7:27 AM, Kyungmin Park wrote: >>> To Ben, >>> >>> I really need single kernel for s5pc110 (cortex A8) and s5pc210 >>> (cortex A9) at least. >>> Fortunately arm mov

Re: Samsung SoCs: preparation for single kernel

2010-06-22 Thread Kyungmin Park
On Wed, Jun 23, 2010 at 9:50 AM, Eric Miao wrote: > On Wed, Jun 23, 2010 at 7:27 AM, Kyungmin Park wrote: >> To Ben, >> >> I really need single kernel for s5pc110 (cortex A8) and s5pc210 >> (cortex A9) at least. >> Fortunately arm move to these approaches recently. but current Samsung >> SoCs not

[GIT PULL linux-next] Samsung S5P SoCs

2010-06-22 Thread Kukjin Kim
Dear Stephen Rothwell, Could you please pull the following into linux-next? git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git#for-ne xt This tree is for next- Samsung S5P SoCs such as S5P6440, S5P6442, S5PC100, and S5PV210/S5PC110. Of course, Ben Dooks' 'next-samsung' is app

Re: Samsung SoCs: preparation for single kernel

2010-06-22 Thread Eric Miao
On Wed, Jun 23, 2010 at 7:27 AM, Kyungmin Park wrote: > To Ben, > > I really need single kernel for s5pc110 (cortex A8) and s5pc210 > (cortex A9) at least. > Fortunately arm move to these approaches recently. but current Samsung > SoCs not prepare these one. > > So I wonder do you have a plan or h

Samsung SoCs: preparation for single kernel

2010-06-22 Thread Kyungmin Park
To Ben, I really need single kernel for s5pc110 (cortex A8) and s5pc210 (cortex A9) at least. Fortunately arm move to these approaches recently. but current Samsung SoCs not prepare these one. So I wonder do you have a plan or how to address these issues? How to assign the address at resources an

[PATCH v2 4/4] ARM: S3C2416: Add platform helpers for setup SDHCI

2010-06-22 Thread Yauhen Kharuzhy
Samsung S3C2416 has two SDHCI controllers compatible with other Samsung's SoCs (S3C64XX, S5PC100 etc...). Add required platform setup code that the devices can be used with sdhci-s3c driver. Signed-off-by: Yauhen Kharuzhy --- arch/arm/mach-s3c2416/Kconfig | 12 + arch/arm/mac

[PATCH v2 1/4] ARM: S3C24XX: Fix gpiolib support for ports K..M

2010-06-22 Thread Yauhen Kharuzhy
S3C2443 and S3C2416 has 12 GPIO banks (from A to M), increase ARCH_NR_GPIOS for this architectures. Also typo from previous commit has been fixed: CONFIG_CPU_S3C24XX instead CONFIG_CPU_244X. Signed-off-by: Yauhen Kharuzhy Tested-by: Vasily Khoruzhick --- arch/arm/mach-s3c2410/include/mach/gpi

[PATCH v2 3/4] ARM: S3C2416: Add clock definition for HSMMC1

2010-06-22 Thread Yauhen Kharuzhy
Define clock for hsmmc1 device and register it. Signed-off-by: Yauhen Kharuzhy --- .../mach-s3c2410/include/mach/regs-s3c2443-clock.h |1 + arch/arm/mach-s3c2416/clock.c |9 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c24

[PATCH v2 2/4] ARM: S3C2416: Set name of the framebuffer device only if it present

2010-06-22 Thread Yauhen Kharuzhy
Fix case when board doesn't have LCD connected and doesn't have corresponding platform device compiled. Signed-off-by: Yauhen Kharuzhy --- arch/arm/mach-s3c2416/s3c2416.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c2416/s3c2416.c b/arch/arm/mach-s3c

[PATCH v2 0/4] S3C2416 fixes (gpiolib, SDHCI, compilation without FB device)

2010-06-22 Thread Yauhen Kharuzhy
This patch series fixes SDHCI on S3C2416. I got SD card working with this patches and with patches for GPIO card detection support by Marek Szyprowski. Resent due error in previous post. -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to m

Re: [PATCH 4/4] ARM: S3C2416: Add platform helpers for setup SDHCI

2010-06-22 Thread Yauhen Kharuzhy
On Tue, Jun 22, 2010 at 04:45:18PM +0300, Darius Augulis wrote: > On Tue, Jun 22, 2010 at 4:16 PM, Yauhen Kharuzhy wrote: > > > Samsung S3C2416 has two SDHCI controllers compatible with other > > Samsung's SoCs (S3C64XX, S5PC100 etc...). > > > > Add required platform setup code that the devices c

Re: [PATCH 4/4] ARM: S3C2416: Add platform helpers for setup SDHCI

2010-06-22 Thread Yauhen Kharuzhy
On Tue, Jun 22, 2010 at 03:19:28PM +0200, Maurus Cuelenaere wrote: > Op 22-06-10 15:16, Yauhen Kharuzhy schreef: > > Samsung S3C2416 has two SDHCI controllers compatible with other > > Samsung's SoCs (S3C64XX, S5PC100 etc...). > > > > Add required platform setup code that the devices can be used wi

[PATCH] ARM: S3C2416: Add support of SD/MMC card detect on SMDK2416

2010-06-22 Thread Yauhen Kharuzhy
Enable card detect by GPIO pin on hsmmc1 device (SD0 on SMDK2416 board) and enable card polling on hsmmc0 (SD1). Signed-off-by: Yauhen Kharuzhy --- arch/arm/mach-s3c2416/mach-smdk2416.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c2416

Add support of SD/MMC card detection on SMDK2416 board

2010-06-22 Thread Yauhen Kharuzhy
This patch adds card detection setup to SDHCI platform data on SMDK2416. It was not tested because I don't have access to SMDK2416 board anymore, but I tested similar patch on another board. Note: it depends on patches: ARM: S3C24XX: Fix gpiolib support for ports K..M ARM: S3C2416: Add clock def

Re: [PATCH 1/4] ARM: S3C24XX: Fix gpiolib support for ports K..M

2010-06-22 Thread Vasily Khoruzhick
В сообщении от 22 июня 2010 16:16:22 автор Yauhen Kharuzhy написал: > S3C2443 and S3C2416 has 12 GPIO banks (from A to M), increase > ARCH_NR_GPIOS for this architectures. > > Also typo from previous commit has been fixed: CONFIG_CPU_S3C24XX > instead CONFIG_CPU_244X. > > Signed-off-by: Yauhen Kh

Re: [PATCH 4/4] ARM: S3C2416: Add platform helpers for setup SDHCI

2010-06-22 Thread Maurus Cuelenaere
Op 22-06-10 15:16, Yauhen Kharuzhy schreef: > Samsung S3C2416 has two SDHCI controllers compatible with other > Samsung's SoCs (S3C64XX, S5PC100 etc...). > > Add required platform setup code that the devices can be used with > sdhci-s3c driver. > > Signed-off-by: Yauhen Kharuzhy > --- > arch/arm/

[PATCH 4/4] ARM: S3C2416: Add platform helpers for setup SDHCI

2010-06-22 Thread Yauhen Kharuzhy
Samsung S3C2416 has two SDHCI controllers compatible with other Samsung's SoCs (S3C64XX, S5PC100 etc...). Add required platform setup code that the devices can be used with sdhci-s3c driver. Signed-off-by: Yauhen Kharuzhy --- arch/arm/mach-s3c2416/Kconfig | 23 ++ arch/ar

[PATCH 3/4] ARM: S3C2416: Add clock definition for HSMMC1

2010-06-22 Thread Yauhen Kharuzhy
Define clock for hsmmc1 device and register it. Signed-off-by: Yauhen Kharuzhy --- .../mach-s3c2410/include/mach/regs-s3c2443-clock.h |1 + arch/arm/mach-s3c2416/clock.c |9 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c24

[PATCH 2/4] ARM: S3C2416: Set name of the framebuffer device only if it present

2010-06-22 Thread Yauhen Kharuzhy
Fix case when board doesn't have LCD connected and doesn't have corresponding platform device compiled. Signed-off-by: Yauhen Kharuzhy --- arch/arm/mach-s3c2416/s3c2416.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c2416/s3c2416.c b/arch/arm/mach-s3c

[PATCH 1/4] ARM: S3C24XX: Fix gpiolib support for ports K..M

2010-06-22 Thread Yauhen Kharuzhy
S3C2443 and S3C2416 has 12 GPIO banks (from A to M), increase ARCH_NR_GPIOS for this architectures. Also typo from previous commit has been fixed: CONFIG_CPU_S3C24XX instead CONFIG_CPU_244X. Signed-off-by: Yauhen Kharuzhy --- arch/arm/mach-s3c2410/include/mach/gpio.h | 10 +++--- 1 files

S3C2416 fixes (gpiolib, SDHCI, compilation without FB device)

2010-06-22 Thread Yauhen Kharuzhy
This patch series fixes SDHCI on S3C2416. I got SD card working with this patches and with patches for GPIO card detection support by Marek Szyprowski. -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majord

RE: [PATCH v2] s3c64xx: Fix build without SDHCI controllers

2010-06-22 Thread Kukjin Kim
Marek Szyprowski wrote: > > This patch fixes the following compilation problem if only NCP machine > is selected: > > arch/arm/mach-s3c64xx/s3c6410.c: In function ‘s3c6410_map_io’: > arch/arm/mach-s3c64xx/s3c6410.c:51: error: implicit declaration of function > ‘s3c6410_default_sdhci2’ > > Signed

RE: [PATCH] input: samsung-keypad - Add samsung keypad driver

2010-06-22 Thread Kukjin Kim
Joonyoung Shim wrote: > > On 6/22/2010 8:31 AM, Kukjin Kim wrote: > > From: Joonyoung Shim > > > > This patch adds support for keypad driver running on Samsung SoCs. This > > driver is tested on SMDK6410(S3C6410), SMDKC100(S5PC100), > Aquila(S5PC110), > > GONI(S5PC110) and SMDKV210(S5PV210) board

Re: [PATCH v5 1/3] ARM: SAMSUNG: Add keypad device support

2010-06-22 Thread Joonyoung Shim
On 6/22/2010 4:15 PM, Eric Miao wrote: > On Tue, Jun 22, 2010 at 12:00 PM, Joonyoung Shim > wrote: >> On 6/22/2010 12:38 PM, Eric Miao wrote: >>> On Tue, Jun 22, 2010 at 11:27 AM, Joonyoung Shim >>> wrote: On 6/22/2010 12:02 PM, Eric Miao wrote: > On Tue, Jun 22, 2010 at 8:48 AM, Joonyou

Re: [PATCH v5 1/3] ARM: SAMSUNG: Add keypad device support

2010-06-22 Thread Eric Miao
On Tue, Jun 22, 2010 at 12:00 PM, Joonyoung Shim wrote: > On 6/22/2010 12:38 PM, Eric Miao wrote: >> On Tue, Jun 22, 2010 at 11:27 AM, Joonyoung Shim >> wrote: >>> On 6/22/2010 12:02 PM, Eric Miao wrote: On Tue, Jun 22, 2010 at 8:48 AM, Joonyoung Shim wrote: > On 6/21/2010 8:16 PM