[PATCH] spi: s3c64xx: let device core setup the default pin configuration

2013-03-06 Thread Thomas Abraham
With device core now able to setup the default pin configuration, the pin configuration code based on the deprecated Samsung specific gpio bindings is removed. Signed-off-by: Thomas Abraham --- .../devicetree/bindings/spi/spi-samsung.txt|8 +-- drivers/spi/spi-s3c64xx.c

[PATCH] spi: s3c64xx: use clk_prepare_enable and clk_disable_unprepare

2012-10-02 Thread Thomas Abraham
Convert clk_enable/clk_disable to clk_prepare_enable/clk_disable_unprepare calls as required by common clock framework. Signed-off-by: Thomas Abraham --- drivers/spi/spi-s3c64xx.c | 32 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers

Re: Unbalanced calls to spi_master_get in coldfire-qspi and s3c64xx SPI master drivers

2012-08-16 Thread Thomas Abraham
On 14 August 2012 03:14, Guenter Roeck wrote: > Hi all, > > looking through SPI master drivers, I noticed that the following drivers call > spi_master_get() in their suspend and resume functions. Yet, there is no > matching call to spi_master_put(), meaning the reference count will increase > with

Re: [PATCH v5 6/6] spi: s3c64xx: add device tree support

2012-07-13 Thread Thomas Abraham
On 13 July 2012 19:12, Kukjin Kim wrote: > Thomas Abraham wrote: >> >> On 13 July 2012 16:58, Kukjin Kim wrote: >> > Thomas Abraham wrote: >> >> >> >> On 13 July 2012 04:08, Kukjin Kim wrote: >> >> > Thomas, the DMACH_DT_PROP is a

Re: [PATCH v5 6/6] spi: s3c64xx: add device tree support

2012-07-13 Thread Thomas Abraham
On 13 July 2012 16:58, Kukjin Kim wrote: > Thomas Abraham wrote: >> >> On 13 July 2012 04:08, Kukjin Kim wrote: >> > Thomas, the DMACH_DT_PROP is available only on pl330 now. So seems occur >> > following build error with s3c6400_defconfig. >> > &

Re: [PATCH v5 6/6] spi: s3c64xx: add device tree support

2012-07-12 Thread Thomas Abraham
On 13 July 2012 04:08, Kukjin Kim wrote: > Thomas, the DMACH_DT_PROP is available only on pl330 now. So seems occur > following build error with s3c6400_defconfig. > > drivers/spi/spi-s3c64xx.c: In function 's3c64xx_spi_get_dmares': > drivers/spi/spi-s3c64xx.c:1098: error: 'DMACH_DT_PROP' undeclar

Re: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-12 Thread Thomas Abraham
On 12 July 2012 18:32, Mark Brown wrote: > On Thu, Jul 12, 2012 at 06:11:05PM +0900, Kukjin Kim wrote: > >> And Mark, this touches various samsung stuff in arch/arm/ so if you're ok, >> I'd like to pick this up in samsung tree. We don't want to see conflicts... > > Well, simple conflicts aren't th

Re: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-12 Thread Thomas Abraham
On 11 July 2012 23:30, Thomas Abraham wrote: > On 11 July 2012 23:19, Mark Brown wrote: >> On Wed, Jul 11, 2012 at 09:10:59PM +0530, Thomas Abraham wrote: >>> Changes since v4: >>> - Includes the missing gpio request for slave select line gpio as suggested >>>

Re: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-11 Thread Thomas Abraham
On 11 July 2012 23:19, Mark Brown wrote: > On Wed, Jul 11, 2012 at 09:10:59PM +0530, Thomas Abraham wrote: >> Changes since v4: >> - Includes the missing gpio request for slave select line gpio as suggested >> by Mark Brown. > > These looked OK (and have had quite

Re: [PATCH v5 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-11 Thread Thomas Abraham
On 11 July 2012 19:01, Mark Brown wrote: > On Wed, Jul 11, 2012 at 05:51:13PM +0530, Thomas Abraham wrote: > >> Based on your comments to add the gpio request, only two patches 5/6 >> and 6/6 in this series have changed since. I have cc'ed you in the >> other 4 patche

[PATCH v5 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-07-11 Thread Thomas Abraham
With the spi controller hardware configuration moved into the driver data, there are no more default hardware configuration data that is passed through platform data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to these changes. Signed-off-by: Thomas Abraham Acked-by

[PATCH v5 6/6] spi: s3c64xx: add device tree support

2012-07-11 Thread Thomas Abraham
Add support for device based discovery. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- .../devicetree/bindings/spi/spi-samsung.txt| 113 drivers/spi/spi-s3c64xx.c | 305 +--- 2 files changed, 378

[PATCH v5 2/6] spi: s3c64xx: move controller information into driver data

2012-07-11 Thread Thomas Abraham
-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- arch/arm/mach-exynos/clock-exynos4.c | 18 ++-- arch/arm/mach-exynos/setup-spi.c | 25 arch/arm/mach-s3c24xx/clock-s3c2416.c|3 +- arch/arm/mach-s3c24xx/clock-s3c2443.c

[PATCH v5 3/6] ARM: Samsung: Remove pdev pointer parameter from spi gpio setup functions

2012-07-11 Thread Thomas Abraham
The platform data pointer that is passed to the spi gpio setup functions is not used. Hence, this parameter is removed from all the spi gpio setup functions. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh --- arch/arm/mach-exynos/setup-spi.c |8 +++- arch/arm

[PATCH v5 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-11 Thread Thomas Abraham
and replaced with call to gpio_set_value in the driver. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 - drivers/spi/spi-s3c64xx.c| 31 ++--- 2 files changed

[PATCH v5 1/6] spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro

2012-07-11 Thread Thomas Abraham
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers

[PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-11 Thread Thomas Abraham
Changes since v4: - Includes the missing gpio request for slave select line gpio as suggested by Mark Brown. Changes since v3: - Fixed the build breakage after applying 3rd patch in this series (which had dependency on the 6th patch). This was reported by Doug Anderson. Changes since v2: - Re

Re: [PATCH v5 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-11 Thread Thomas Abraham
On 11 July 2012 17:17, Mark Brown wrote: > On Wed, Jul 11, 2012 at 04:45:59PM +0530, Thomas Abraham wrote: >> The set_level callback in the controller data, which is used to configure >> the slave select line, cannot be supported when migrating the driver to >> device tree b

[PATCH v5 6/6] spi: s3c64xx: add device tree support

2012-07-11 Thread Thomas Abraham
Add support for device based discovery. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- .../devicetree/bindings/spi/spi-samsung.txt| 113 +++ drivers/spi/spi-s3c64xx.c | 306 +--- 2 files changed, 379

[PATCH v5 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-11 Thread Thomas Abraham
and replaced with call to gpio_set_value in the driver. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 - drivers/spi/spi-s3c64xx.c| 30 ++--- 2 files changed

Re: [PATCH v4 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-10 Thread Thomas Abraham
On 10 July 2012 22:27, Mark Brown wrote: > On Tue, Jul 10, 2012 at 10:22:31PM +0530, Thomas Abraham wrote: > >> In non-dt case, the platform code supplying the gpio number (slave >> select line) is responsible for requesting the gpio during the >> machine_init call. So

Re: [PATCH v4 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-10 Thread Thomas Abraham
On 10 July 2012 20:08, Mark Brown wrote: > On Tue, Jul 10, 2012 at 07:57:38PM +0530, Thomas Abraham wrote: >> The set_level callback in the controller data, which is used to configure >> the slave select line, cannot be supported when migrating the driver to >> device tree b

[PATCH v4 3/6] ARM: Samsung: Remove pdev pointer parameter from spi gpio setup functions

2012-07-10 Thread Thomas Abraham
The platform data pointer that is passed to the spi gpio setup functions is not used. Hence, this paremeter is removed from all the spi gpio setup functions. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh --- arch/arm/mach-exynos/setup-spi.c |8 +++- arch/arm

[PATCH v4 1/6] spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro

2012-07-10 Thread Thomas Abraham
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers

[PATCH v4 2/6] spi: s3c64xx: move controller information into driver data

2012-07-10 Thread Thomas Abraham
-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- arch/arm/mach-exynos/clock-exynos4.c | 18 ++-- arch/arm/mach-exynos/setup-spi.c | 25 arch/arm/mach-s3c24xx/clock-s3c2416.c|3 +- arch/arm/mach-s3c24xx/clock-s3c2443.c

[PATCH v4 0/6] spi: s3c64xx: add support for device tree

2012-07-10 Thread Thomas Abraham
ested for Exynos4210 and Exynos5250 with onboard spi nor flash device. The patch series (6 patches) that add board/platform specific support has no changes since the v2 version. This series is available at: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-May/100812.html Thomas Abrah

[PATCH v4 6/6] spi: s3c64xx: add device tree support

2012-07-10 Thread Thomas Abraham
Add support for device based discovery. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- .../devicetree/bindings/spi/spi-samsung.txt| 113 drivers/spi/spi-s3c64xx.c | 277 +--- 2 files changed, 358

[PATCH v4 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-10 Thread Thomas Abraham
and replaced with call to gpio_set_value in the driver. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 -- drivers/spi/spi-s3c64xx.c| 11 ++- 2 files changed, 6

[PATCH v4 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-07-10 Thread Thomas Abraham
With the spi controller hardware configuration moved into the driver data, there are no more default hardware configuration data that is passed through platform data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to these changes. Signed-off-by: Thomas Abraham Acked-by

[PATCH v3 2/6] spi: s3c64xx: move controller information into driver data

2012-06-03 Thread Thomas Abraham
-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- arch/arm/mach-exynos/clock-exynos4.c | 18 ++-- arch/arm/mach-exynos/setup-spi.c | 25 arch/arm/mach-s3c24xx/clock-s3c2416.c|3 +- arch/arm/mach-s3c24xx/clock-s3c2443.c

[PATCH v3 6/6] spi: s3c64xx: add device tree support

2012-06-03 Thread Thomas Abraham
Add support for device based discovery. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- .../devicetree/bindings/spi/spi-samsung.txt| 113 drivers/spi/spi-s3c64xx.c | 279 +--- 2 files changed, 359

[PATCH v3 3/6] ARM: Samsung: Remove pdev pointer paremeter from spi gpio setup functions

2012-06-03 Thread Thomas Abraham
The platform data pointer that is passed to the spi gpio setup functions is not used. Hence, this paremeter is removed from all the spi gpio setup functions. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh --- arch/arm/mach-exynos/setup-spi.c |8 +++- arch/arm

[PATCH v3 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-06-03 Thread Thomas Abraham
and replaced with call to gpio_set_value in the driver. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 -- drivers/spi/spi-s3c64xx.c|8 2 files changed, 4 insertions

[PATCH v3 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-06-03 Thread Thomas Abraham
With the spi controller hardware configuration moved into the driver data, there are no more default hardware configuration data that is passed through platform data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to these changes. Signed-off-by: Thomas Abraham Acked-by

[PATCH v3 0/6] spi: s3c64xx: add support for device tree

2012-06-03 Thread Thomas Abraham
Singh . This patch series adds device tree based discovery support for Samsung's s3c64xx compatible spi controller. This is mainly tested for Exynos4210 and Exynos5250 with onboard spi nor flash device. Thomas Abraham (6): spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro spi: s3

[PATCH v3 1/6] spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro

2012-06-03 Thread Thomas Abraham
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh Acked-by: Grant Likely --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers

Re: [PATCH v2 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-06-03 Thread Thomas Abraham
On 1 June 2012 18:09, Mark Brown wrote: > On Fri, Jun 01, 2012 at 10:47:44AM +0800, Thomas Abraham wrote: > >> 1. There is one instance of 'struct platform_device' for each of the >> spi controller instances (0/1/2) named "s3c64xx-spi" (in >> arch/arm/

Re: [PATCH v2 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-31 Thread Thomas Abraham
On 31 May 2012 19:36, Mark Brown wrote: > On Thu, May 31, 2012 at 10:05:42AM +0800, Thomas Abraham wrote: >> On 30 May 2012 18:13, Mark Brown wrote: > >> > No there isn't.  You've got things like s3c64xx_device_spi0 in >> > arch/arm/plat-samsung/devs.c

Re: [PATCH v2 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-30 Thread Thomas Abraham
On 30 May 2012 18:13, Mark Brown wrote: > On Wed, May 30, 2012 at 06:05:31PM +0800, Thomas Abraham wrote: >> On 30 May 2012 17:34, Mark Brown wrote: > >> > Right, and there's no problem at all with using the name.  The thing is >> > that there's no n

Re: [PATCH v2 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-30 Thread Thomas Abraham
On 30 May 2012 17:34, Mark Brown wrote: > On Wed, May 30, 2012 at 12:28:55AM -0700, Olof Johansson wrote: >> On Sun, May 20, 2012 at 2:21 AM, Mark Brown > >> > This dev_name also isn't equivalent to dev_name() which makes matters >> > more confusing than they need to be. > >> Looks like they use t

Re: [PATCH 02/10] spi: s3c64xx: move controller information into driver data

2012-05-30 Thread Thomas Abraham
Hi Olof, On 30 May 2012 15:23, Olof Johansson wrote: > Hi, > > Some comments below. > > On Tue, May 8, 2012 at 3:04 PM, Thomas Abraham > wrote: >> Platform data is used to specify controller hardware specific information >> such as the tx/rx fifo level mask and bit

Re: [PATCH v2 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-30 Thread Thomas Abraham
On 30 May 2012 15:28, Olof Johansson wrote: > On Sun, May 20, 2012 at 2:21 AM, Mark Brown > wrote: >> On Fri, May 18, 2012 at 03:03:31PM +0530, Thomas Abraham wrote: >> >>> -     s3c64xx_spi0_set_platdata(&s3c64xx_spi0_pdata, 0, 1); >>> +     s3c64xx_spi

Re: [PATCH v2 2/6] spi: s3c64xx: move controller information into driver data

2012-05-24 Thread Thomas Abraham
On 24 May 2012 12:48, Kukjin Kim wrote: > Thomas Abraham wrote: >> >> Platform data is used to specify controller hardware specific information >> such as the tx/rx fifo level mask and bit offset of rx fifo level. Such >> information is not suitable to be supplied from

[PATCH v2 2/6] spi: s3c64xx: move controller information into driver data

2012-05-18 Thread Thomas Abraham
-by: Thomas Abraham Acked-by: Jaswinder Singh --- arch/arm/mach-exynos/clock-exynos4.c | 18 +- arch/arm/mach-exynos/setup-spi.c | 25 --- arch/arm/mach-s3c24xx/clock-s3c2416.c|2 +- arch/arm/mach-s3c24xx/clock-s3c2443.c|2 +- arch/arm

[PATCH v2 6/6] spi: s3c64xx: add device tree support

2012-05-18 Thread Thomas Abraham
Add support for device based discovery. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh --- .../devicetree/bindings/spi/spi-samsung.txt| 113 drivers/spi/spi-s3c64xx.c | 277 +--- 2 files changed, 358 insertions(+), 32

[PATCH v2 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-18 Thread Thomas Abraham
With the spi controller hardware configuration moved into the driver data, there are no more default hardware configuration data that is passed through platform data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to these changes. Signed-off-by: Thomas Abraham Acked-by

[PATCH v2 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-05-18 Thread Thomas Abraham
and replaced with call to gpio_set_value in the driver. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 -- drivers/spi/spi-s3c64xx.c|8 2 files changed, 4 insertions(+), 6 deletions(-) diff

[PATCH v2 3/6] ARM: Samsung: Remove pdev pointer paremeter from spi gpio setup functions

2012-05-18 Thread Thomas Abraham
The platform data pointer that is passed to the spi gpio setup functions is not used. Hence, this paremeter is removed from all the spi gpio setup functions. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh --- arch/arm/mach-exynos/setup-spi.c |8 +++- arch/arm

[PATCH v2 1/6] spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro

2012-05-18 Thread Thomas Abraham
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed. Signed-off-by: Thomas Abraham Acked-by: Jaswinder Singh --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index

[PATCH v2 0/6] spi: s3c64xx: add support for device tree

2012-05-18 Thread Thomas Abraham
with onboard spi nor flash device. Thomas Abraham (6): spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro spi: s3c64xx: move controller information into driver data ARM: Samsung: Remove pdev pointer paremeter from spi gpio setup functions ARM: Samsung: Modify s3c64xx_spi{

Re: [PATCH 10/10] spi: s3c64xx: add device tree support

2012-05-09 Thread Thomas Abraham
On 10 May 2012 00:47, Mark Brown wrote: > On Thu, May 10, 2012 at 12:39:29AM +0800, Thomas Abraham wrote: >> On 9 May 2012 22:32, Mark Brown wrote: > >> > Yeah, I know.  I'm saying we should try to come up with a binding for >> > this that can be used by

Re: [PATCH 05/10] ARM: Samsung: Update the device names for spi clock lookup

2012-05-09 Thread Thomas Abraham
On 9 May 2012 22:28, Mark Brown wrote: > On Wed, May 09, 2012 at 09:40:26PM +0800, Thomas Abraham wrote: >> On 9 May 2012 16:52, Mark Brown wrote: > >> > This should've been squashed into the patch that updated to use driver >> > data in order to avoid breaking

Re: [PATCH 10/10] spi: s3c64xx: add device tree support

2012-05-09 Thread Thomas Abraham
On 9 May 2012 22:32, Mark Brown wrote: > On Wed, May 09, 2012 at 10:13:28PM +0800, Thomas Abraham wrote: >> On 9 May 2012 17:07, Mark Brown wrote: >> > On Wed, May 09, 2012 at 03:34:54AM +0530, Thomas Abraham wrote: > >> >> +- gpios: The gpio specifier for clo

Re: [PATCH 06/10] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-09 Thread Thomas Abraham
On 9 May 2012 22:33, Mark Brown wrote: > On Wed, May 09, 2012 at 10:22:26PM +0800, Thomas Abraham wrote: >> On 9 May 2012 18:55, Mark Brown wrote: > >> > Yes, that's the normal way of handling this and is actually what the >> > code was originally doing - th

Re: [PATCH 06/10] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-09 Thread Thomas Abraham
On 9 May 2012 18:55, Mark Brown wrote: > On Wed, May 09, 2012 at 11:10:14AM +0200, Heiko Stübner wrote: > >> Similar to the adc and rtc driver, all Samsung platforms reuse a common >> platform-device definition for the s3c64xx-spi and simply will set the >> correct >> name when the machine type i

Re: [PATCH 10/10] spi: s3c64xx: add device tree support

2012-05-09 Thread Thomas Abraham
On 9 May 2012 17:07, Mark Brown wrote: > On Wed, May 09, 2012 at 03:34:54AM +0530, Thomas Abraham wrote: > >> +- gpios: The gpio specifier for clock, mosi and miso interface lines (in no >> +  particular order). The format of the gpio specifier depends on the gpio >> +  co

Re: [PATCH 05/10] ARM: Samsung: Update the device names for spi clock lookup

2012-05-09 Thread Thomas Abraham
On 9 May 2012 16:52, Mark Brown wrote: > On Wed, May 09, 2012 at 03:34:49AM +0530, Thomas Abraham wrote: >> With the addition of platform specific driver data in the spi-s3c64xx >> driver, the device name of spi controllers are changed. Accordingly, >> update the devi

[PATCH 10/10] spi: s3c64xx: add device tree support

2012-05-08 Thread Thomas Abraham
Add support for device based discovery. Cc: Jaswinder Singh Signed-off-by: Thomas Abraham --- .../devicetree/bindings/spi/spi-samsung.txt| 113 drivers/spi/spi-s3c64xx.c | 277 +--- 2 files changed, 358 insertions(+), 32 deletions

[PATCH 09/10] ARM: Exynos5: Add spi clock support

2012-05-08 Thread Thomas Abraham
Add support for clock instances for each spi controller. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/clock-exynos5.c | 98 arch/arm/mach-exynos/include/mach/regs-clock.h |4 + 2 files changed, 102 insertions(+), 0 deletions(-) diff --git a

[PATCH 07/10] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-05-08 Thread Thomas Abraham
and replaced with call to gpio_set_value in the driver. Cc: Jaswinder Singh Signed-off-by: Thomas Abraham --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 -- drivers/spi/spi-s3c64xx.c|8 2 files changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH 08/10] ARM: Exynos4: Fix the incorrect hierarchy of spi controller bus clock

2012-05-08 Thread Thomas Abraham
sclk_spi clock. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/clock-exynos4.c | 48 - 1 files changed, 40 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c index 57b5464..331186e 100644

[PATCH 04/10] ARM: Samsung: Remove pdev pointer paremeter from spi gpio setup functions

2012-05-08 Thread Thomas Abraham
The platform data pointer that is passed to the spi gpio setup functions is not used. Hence, this paremeter is removed from all the spi gpio setup functions. Cc: Jaswinder Singh Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/setup-spi.c |8 +++- arch/arm/mach

[PATCH 05/10] ARM: Samsung: Update the device names for spi clock lookup

2012-05-08 Thread Thomas Abraham
With the addition of platform specific driver data in the spi-s3c64xx driver, the device name of spi controllers are changed. Accordingly, update the device name of spi clocks instances. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/clock-exynos4.c | 18 +- arch/arm

[PATCH 02/10] spi: s3c64xx: move controller information into driver data

2012-05-08 Thread Thomas Abraham
: Jaswinder Singh Signed-off-by: Thomas Abraham --- drivers/spi/spi-s3c64xx.c | 180 ++--- 1 files changed, 153 insertions(+), 27 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 6a3d51a..f6bc0e3 100644 --- a/drivers/spi/spi

[PATCH 06/10] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-08 Thread Thomas Abraham
: Thomas Abraham --- arch/arm/mach-s3c64xx/mach-crag6410.c|2 +- arch/arm/plat-samsung/devs.c | 50 - arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |6 +- 3 files changed, 23 insertions(+), 35 deletions(-) diff --git a/arch/arm/mach

[PATCH 03/10] ARM: Samsung: Remove spi hardware controller information from platform data

2012-05-08 Thread Thomas Abraham
With the spi hardware controller information moved to spi driver data, this information can be removed from the spi platform data. Cc: Jaswinder Singh Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/setup-spi.c | 25 -- arch/arm/mach-s3c24xx/setup

[PATCH 00/10] spi: s3c64xx: add support for device tree

2012-05-08 Thread Thomas Abraham
http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg10494.html [PATCH 00/20] ARM: Samsung: Add support for Exynos5250 Rev1.0 [2] http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg09640.html [PATCH 0/6] S3C24XX: Add support for HSSPI on S3C2416/S3C2443 Thomas Abraha

[PATCH 01/10] spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro

2012-05-08 Thread Thomas Abraham
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed. Cc: Jaswinder Singh Signed-off-by: Thomas Abraham --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 972a94c