[PATCH 3/4] ARM: S5PC100: Add support for Compact Flash driver on SMDKC100

2010-05-27 Thread Kukjin Kim
From: Abhilash Kesavan a.kesa...@samsung.com Following is added for the CF-ATA driver: - Platform data strucure instantiatio - Platform device definition and enabling code - Platform-specific gpio setup code Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com

Re: [PATCH 4/4] pata_samsung: Add Samsung PATA controller driver

2010-05-27 Thread Ben Dooks
On Thu, May 27, 2010 at 05:22:04PM +0900, Kukjin Kim wrote: From: Abhilash Kesavan a.kesa...@samsung.com Adds support for the Samsung PATA controller. This driver is based on the Libata subsystem and references the earlier patches sent for IDE subsystem. Signed-off-by: Abhilash Kesavan

Re: [PATCH 4/4] pata_samsung: Add Samsung PATA controller driver

2010-05-27 Thread Jassi Brar
On Thu, May 27, 2010 at 5:22 PM, Kukjin Kim kgene@samsung.com wrote: From: Abhilash Kesavan a.kesa...@samsung.com Adds support for the Samsung PATA controller. This driver is based on the Libata subsystem and references the earlier patches sent for IDE subsystem. Signed-off-by: Abhilash

Re: [PATCH 1/4] ARM: S3C64XX: Add support for Compact Flash driver on SMDK6410

2010-05-27 Thread Ben Dooks
On Thu, May 27, 2010 at 05:22:01PM +0900, Kukjin Kim wrote: From: Abhilash Kesavan a.kesa...@samsung.com Following is added for the CF-ATA driver: - Platform data strucure definition and instantiation - Platform device definition and enabling code - Platform-specific gpio

Re: [PATCH 4/4] pata_samsung: Add Samsung PATA controller driver

2010-05-27 Thread Ben Dooks
On Thu, May 27, 2010 at 05:43:47PM +0900, Jassi Brar wrote: On Thu, May 27, 2010 at 5:22 PM, Kukjin Kim kgene@samsung.com wrote: From: Abhilash Kesavan a.kesa...@samsung.com Adds support for the Samsung PATA controller. This driver is based on the Libata subsystem and references the

Re: [PATCH 4/4] pata_samsung: Add Samsung PATA controller driver

2010-05-27 Thread Jassi Brar
On Thu, May 27, 2010 at 5:57 PM, Ben Dooks ben-li...@fluff.org wrote: On Thu, May 27, 2010 at 05:43:47PM +0900, Jassi Brar wrote: On Thu, May 27, 2010 at 5:22 PM, Kukjin Kim kgene@samsung.com wrote: From: Abhilash Kesavan a.kesa...@samsung.com Adds support for the Samsung PATA

Re: [PATCH 4/4] pata_samsung: Add Samsung PATA controller driver

2010-05-27 Thread Sergei Shtylyov
Hello. Kukjin Kim wrote: From: Abhilash Kesavan a.kesa...@samsung.com Adds support for the Samsung PATA controller. This driver is based on the Libata subsystem and references the earlier patches sent for IDE subsystem. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by:

Re: [PATCH 1/4] ARM: S3C64XX: Add support for Compact Flash driver on SMDK6410

2010-05-27 Thread Russell King - ARM Linux
On Thu, May 27, 2010 at 05:22:01PM +0900, Kukjin Kim wrote: +#include mach/map.h +#include mach/gpio.h shouldn't this be linux/gpio.h ? -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 2/4] ARM: S5PV210: Add support for Compact Flash driver on SMDKV210/SMDKC110

2010-05-27 Thread Russell King - ARM Linux
On Thu, May 27, 2010 at 05:22:02PM +0900, Kukjin Kim wrote: +#include mach/gpio.h linux/gpio.h ? -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 0/2] Fixes for s3c RTC driver

2010-05-27 Thread Maurus Cuelenaere
The first patch fixes a segfault when dereferencing a garbage pointer while the second one ensures that the correct max_user_freq gets set. These should probably go in mainline as soon as possible. Maurus Cuelenaere (2): RTC: s3c: Initialize driver data before using it RTC: s3c: Initialize

[PATCH 2/2] RTC: s3c: Initialize s3c_rtc_cpu_type before using it

2010-05-27 Thread Maurus Cuelenaere
Make sure s3c_rtc_cpu_type is initialised _before_ it's used in an if() check. This was probably caused due to a merge mistake. Reported-by: Jiri Pinkava jiri.pink...@vscht.cz Signed-off-by: Maurus Cuelenaere mcuelena...@gmail.com --- drivers/rtc/rtc-s3c.c |4 ++-- 1 files changed, 2

Re: [PATCH 4/4] pata_samsung: Add Samsung PATA controller driver

2010-05-27 Thread Tejun Heo
Hello, On 05/27/2010 10:22 AM, Kukjin Kim wrote: From: Abhilash Kesavan a.kesa...@samsung.com Adds support for the Samsung PATA controller. This driver is based on the Libata subsystem and references the earlier patches sent for IDE subsystem. Just one small thing. +static struct

Re: [PATCH 1/2] RTC: s3c: Initialize driver data before using it

2010-05-27 Thread Andrew Morton
On Thu, 27 May 2010 23:28:45 +0200 Maurus Cuelenaere mcuelena...@gmail.com wrote: s3c_rtc_setfreq() uses the platform driver data to derive struct rtc_device, so make sure drvdata is set _before_ s3c_rtc_setfreq() is called. Signed-off-by: Maurus Cuelenaere mcuelena...@gmail.com ---

Re: [PATCH 2/2] RTC: s3c: Initialize s3c_rtc_cpu_type before using it

2010-05-27 Thread Maurus Cuelenaere
Op 27-05-10 23:52, Andrew Morton schreef: On Thu, 27 May 2010 23:28:47 +0200 Maurus Cuelenaere mcuelena...@gmail.com wrote: Make sure s3c_rtc_cpu_type is initialised _before_ it's used in an if() check. This was probably caused due to a merge mistake. Nope, I went back to your

[PATCH 4/4] usb: s3c-hsotg: Enable HCLK for the OTG module.

2010-05-27 Thread Kukjin Kim
From: Thomas Abraham thomas...@samsung.com This patch modifies the following in S3C hsotg driver. 1. Gets a reference to the USB OTG hclk clock and enables it. This is required for plaforms on which the USB OTG hclk is disabled during the boot time clock intialization. 2. Add necessary

[PATCH 3/4] ARM: S5P: Add clk_xusbxti clock to the list of clocks to be registered.

2010-05-27 Thread Kukjin Kim
From: Thomas Abraham thomas...@samsung.com The clk_xusbxti clock is added to the list of clocks to be registred during boot time clock registration. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/plat-s5p/clock.c |1 + 1

[PATCH 2/4] ARM: S5PV210: Assign clock rate for clk_xusbxti clock.

2010-05-27 Thread Kukjin Kim
From: Thomas Abraham thomas...@samsung.com The input clock frequency for USB Phy is 24 Mhz on the S5PV210 platform. This patch initializes the clk_xusbxti clock rate to 24Mhz. Signed-off-by: Thomas Abraham thomas...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com ---

Re: [PATCH 4/4] usb: s3c-hsotg: Enable HCLK for the OTG module.

2010-05-27 Thread Ben Dooks
On Fri, May 28, 2010 at 11:41:17AM +0900, Kukjin Kim wrote: From: Thomas Abraham thomas...@samsung.com This patch modifies the following in S3C hsotg driver. 1. Gets a reference to the USB OTG hclk clock and enables it. This is required for plaforms on which the USB OTG hclk is disabled

RE: [PATCH 1/4] ARM: S3C64XX: Add support for Compact Flash driver on SMDK6410

2010-05-27 Thread Marek Szyprowski
Hello, On Thursday, May 27, 2010 10:53 AM Ben Dooks wrote: On Thu, May 27, 2010 at 05:22:01PM +0900, Kukjin Kim wrote: From: Abhilash Kesavan a.kesa...@samsung.com Following is added for the CF-ATA driver: - Platform data strucure definition and instantiation - Platform device

[PATCH 05/15] ARM: S5P6442: Change to using s3c_gpio_cfgpin_range()

2010-05-27 Thread Ben Dooks
Change the code setting ranges of GPIO pins using s3c_gpio_cfgpin() to use the recently introduced s3c_gpio_cfgpin_range(). Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s5p6442/dev-audio.c | 30 ++ arch/arm/mach-s5p6442/dev-spi.c |4 +--- 2

[PATCH 06/15] ARM: S5PC100: Change to using s3c_gpio_cfgpin_range()

2010-05-27 Thread Ben Dooks
Change the code setting ranges of GPIO pins using s3c_gpio_cfgpin() to use the recently introduced s3c_gpio_cfgpin_range(). Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s5pc100/dev-audio.c| 32 - arch/arm/mach-s5pc100/dev-spi.c |

[PATCH 03/15] ARM: S3C64XX: Change to using s3c_gpio_cfgpin_range()

2010-05-27 Thread Ben Dooks
Change the code setting ranges of GPIO pins using s3c_gpio_cfgpin() to use the recently introduced s3c_gpio_cfgpin_range(). Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s3c64xx/dev-audio.c| 53 - arch/arm/mach-s3c64xx/setup-sdhci-gpio.c |

[PATCH 11/15] ARM: S5PV210: Change to using s3c_gpio_cfgall_range()

2010-05-27 Thread Ben Dooks
Change the code setting a range of GPIO pins' configuration and pull state to use the recently introduced s3c_gpio_cfgall_range(). Mop up a few missed s3c_gpio_cfgpin_range() changes. Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s5pv210/setup-fb-24bpp.c | 32

[PATCH 08/15] ARM: SAMSUNG: Add s3c_gpio_cfgall_range() function

2010-05-27 Thread Ben Dooks
Add a function to configure a range of GPIOs function and pull in one go, mainly for the SDHCI and framebuffer helpers which tend to do this. Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/plat-samsung/gpio-config.c | 15 +++

[PATCH 04/15] ARM: S5P6440: Change to using s3c_gpio_cfgpin_range()

2010-05-27 Thread Ben Dooks
Change the code setting ranges of GPIO pins using s3c_gpio_cfgpin() to use the recently introduced s3c_gpio_cfgpin_range(). Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s5p6440/dev-audio.c | 16 arch/arm/mach-s5p6440/dev-spi.c | 12 ++-- 2 files

[PATCH 07/15] ARM: S5PV210: Change to using s3c_gpio_cfgpin_range()

2010-05-27 Thread Ben Dooks
Change the code setting ranges of GPIO pins using s3c_gpio_cfgpin() to use the recently introduced s3c_gpio_cfgpin_range(). Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s5pv210/dev-audio.c| 46 - arch/arm/mach-s5pv210/setup-sdhci-gpio.c |

[PATCH 01/15] ARM: SAMSUNG: Add GPIO configuration for a range of pins

2010-05-27 Thread Ben Dooks
Add s3c_gpio_cfgpin_range() to configure a range of pins to the given value. This is useful for a number of blocks where the pins are in order and saves multiple calls to s3c_gpio_cfgpin(). Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/plat-samsung/gpio-config.c | 15

[PATCH 14/15] ARM: S5PC100: Change to using s3c_gpio_cfgrange_nopull()

2010-05-27 Thread Ben Dooks
Chane code setting special-function and no pull-up to use the s3c_gpio_cfgrange_nopull() wrapper. Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s5pc100/setup-sdhci-gpio.c | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-) diff --git

[PATCH 13/15] ARM: S3C64XX: Change to using s3c_gpio_cfgrange_nopull()

2010-05-27 Thread Ben Dooks
Chane code setting special-function and no pull-up to use the s3c_gpio_cfgrange_nopull() wrapper. Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s3c64xx/setup-sdhci-gpio.c | 12 1 files changed, 4 insertions(+), 8 deletions(-) diff --git

[PATCH 12/15] ARM: SAMSUNG: Add s3c_gpio_cfgrange_nopull() helper

2010-05-27 Thread Ben Dooks
A number of the SDHCI code configure a GPIO to a special function and remove any pull-up, so add s3c_gpio_cfgrange_nopull() as a wrapper to the s3c_gpio_cfgall_range() to make the code that calls it fit on one line. Signed-off-by: Ben Dooks ben-li...@fluff.org ---

[PATCH 10/15] ARM: S5PC100: Change to using s3c_gpio_cfgall_range()

2010-05-27 Thread Ben Dooks
Change the code setting a range of GPIO pins' configuration and pull state to use the recently introduced s3c_gpio_cfgall_range(). Mop up a few missed s3c_gpio_cfgpin_range() changes. Signed-off-by: Ben Dooks ben-li...@fluff.org --- arch/arm/mach-s5pc100/setup-fb-24bpp.c | 30