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

2012-05-08 Thread Thomas Abraham
://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 Abraham (10

[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 jaswinder.si...@linaro.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi

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

2012-05-08 Thread Thomas Abraham
: Jaswinder Singh jaswinder.si...@linaro.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- 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

[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 jaswinder.si...@linaro.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/setup-spi.c | 25

[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 jaswinder.si...@linaro.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/setup

[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 thomas.abra...@linaro.org --- arch/arm/mach-exynos/clock-exynos4.c | 18

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

2012-05-08 Thread Thomas Abraham
...@linaro.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- 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

[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 jaswinder.si...@linaro.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 -- drivers/spi/spi-s3c64xx.c|8 2 files

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

2012-05-08 Thread Thomas Abraham
for the sclk_spi clock. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- 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

[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 thomas.abra...@linaro.org --- arch/arm/mach-exynos/clock-exynos5.c | 98 arch/arm/mach-exynos/include/mach/regs-clock.h |4 + 2 files changed, 102 insertions(+), 0

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

2012-05-08 Thread Thomas Abraham
Add support for device based discovery. Cc: Jaswinder Singh jaswinder.si...@linaro.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../devicetree/bindings/spi/spi-samsung.txt| 113 drivers/spi/spi-s3c64xx.c | 277 +--- 2

[PATCH] mtd: m25p80: Add support for Winbond W25Q80BW

2012-05-08 Thread Thomas Abraham
Winbond W25Q80BW is a 8Mbit serial flash memory device. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/mtd/devices/m25p80.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 1924d24

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 broo...@opensource.wolfsonmicro.com 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

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

2012-05-09 Thread Thomas Abraham
On 9 May 2012 17:07, Mark Brown broo...@opensource.wolfsonmicro.com 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

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 broo...@opensource.wolfsonmicro.com 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

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 broo...@opensource.wolfsonmicro.com wrote: On Wed, May 09, 2012 at 10:22:26PM +0800, Thomas Abraham wrote: On 9 May 2012 18:55, Mark Brown broo...@opensource.wolfsonmicro.com wrote: Yes, that's the normal way of handling this and is actually what the code

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

2012-05-09 Thread Thomas Abraham
On 9 May 2012 22:32, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, May 09, 2012 at 10:13:28PM +0800, Thomas Abraham wrote: On 9 May 2012 17:07, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, May 09, 2012 at 03:34:54AM +0530, Thomas Abraham wrote: +- gpios

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

2012-05-09 Thread Thomas Abraham
On 10 May 2012 00:47, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Thu, May 10, 2012 at 12:39:29AM +0800, Thomas Abraham wrote: On 9 May 2012 22:32, Mark Brown broo...@opensource.wolfsonmicro.com wrote: Yeah, I know.  I'm saying we should try to come up with a binding

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 broo...@opensource.wolfsonmicro.com wrote: On Wed, May 09, 2012 at 09:40:26PM +0800, Thomas Abraham wrote: On 9 May 2012 16:52, Mark Brown broo...@opensource.wolfsonmicro.com wrote: This should've been squashed into the patch that updated to use driver data

Re: [PATCH 1/7] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-05-10 Thread Thomas Abraham
On 2 May 2012 14:47, Will Newton will.new...@gmail.com wrote: On Wed, May 2, 2012 at 6:07 AM, Thomas Abraham thomas.abra...@linaro.org wrote: Some platforms allow for clock gating and control of bus interface unit clock and card interface unit clock. Add support for clock lookup of optional

Re: [PATCH 1/7] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-05-10 Thread Thomas Abraham
On 2 May 2012 15:23, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, May 01, 2012 at 10:07:40PM -0700, Thomas Abraham wrote: Some platforms allow for clock gating and control of bus interface unit clock and card interface unit clock. Add support for clock lookup of optional biu

Re: [PATCH 1/7] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-05-10 Thread Thomas Abraham
On 2 May 2012 20:23, James Hogan ja...@albanarts.com wrote: Hi On 2 May 2012 06:07, Thomas Abraham thomas.abra...@linaro.org wrote: Some platforms allow for clock gating and control of bus interface unit clock and card interface unit clock. Add support for clock lookup of optional biu

Re: [PATCH 3/7] mmc: dw_mmc: add device tree support

2012-05-10 Thread Thomas Abraham
Dear Mr. Park, On 2 May 2012 12:25, Kyungmin Park kmp...@infradead.org wrote: Hi, On 5/2/12, Thomas Abraham thomas.abra...@linaro.org wrote: Add device tree based discovery support. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---  .../devicetree/bindings/mmc/synposis-dw

Re: [PATCH 3/7] mmc: dw_mmc: add device tree support

2012-05-10 Thread Thomas Abraham
On 10 May 2012 15:29, Kyungmin Park kmp...@infradead.org wrote: On 5/10/12, Thomas Abraham thomas.abra...@linaro.org wrote: Dear Mr. Park, On 2 May 2012 12:25, Kyungmin Park kmp...@infradead.org wrote: Hi, [...] I googled the Synopsis Designware Mobile Storage Host Controller and Synopsis

Re: [PATCH 3/7] mmc: dw_mmc: add device tree support

2012-05-10 Thread Thomas Abraham
Hi Olof, On 2 May 2012 23:37, Olof Johansson o...@lixom.net wrote: Hi, [...] +# Slots: The slot specific information are contained within child-nodes with +  each child-node representing a supported slot. There should be atleast one +  child node representing a card slot. The name of the

Re: [PATCH 4/7] mmc: dw_mmc: add samsung exynos5250 specific extentions

2012-05-10 Thread Thomas Abraham
Dear Mr. Park, On 2 May 2012 12:31, Kyungmin Park kmp...@infradead.org wrote: Hi, On 5/2/12, Thomas Abraham thomas.abra...@linaro.org wrote: The instantiation of the Synopsis Designware controller on Exynos5250 include extension for SDR and DDR specific tx/rx phase shift timing and CIU

Re: [PATCH 3/7] mmc: dw_mmc: add device tree support

2012-05-10 Thread Thomas Abraham
On 10 May 2012 16:02, James Hogan ja...@albanarts.com wrote: Hi On 2 May 2012 06:07, Thomas Abraham thomas.abra...@linaro.org wrote: Add device tree based discovery support. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---  .../devicetree/bindings/mmc/synposis-dw-mshc.txt

Re: [PATCH 4/7] mmc: dw_mmc: add samsung exynos5250 specific extentions

2012-05-10 Thread Thomas Abraham
On 2 May 2012 13:19, Jaehoon Chung jh80.ch...@samsung.com wrote: On 05/02/2012 04:01 PM, Kyungmin Park wrote: Hi, On 5/2/12, Thomas Abraham thomas.abra...@linaro.org wrote: The instantiation of the Synopsis Designware controller on Exynos5250 include extension for SDR and DDR specific tx/rx

Re: [PATCH 4/7] mmc: dw_mmc: add samsung exynos5250 specific extentions

2012-05-10 Thread Thomas Abraham
On 2 May 2012 23:40, Olof Johansson o...@lixom.net wrote: Hi, On Tue, May 1, 2012 at 10:07 PM, Thomas Abraham thomas.abra...@linaro.org wrote: The instantiation of the Synopsis Designware controller on Exynos5250 include extension for SDR and DDR specific tx/rx phase shift timing and CIU

Re: [PATCH 3/7] mmc: dw_mmc: add device tree support

2012-05-12 Thread Thomas Abraham
On 4 May 2012 04:18, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: What do you think about this patch http://www.spinics.net/lists/linux-sh/msg11259.html and about using mmc-generic OF properties instead of creating yet another copy of proprietary ones? Hi Guennadi, This patch does

Re: [PATCH 3/7] mmc: dw_mmc: add device tree support

2012-05-12 Thread Thomas Abraham
On 12 May 2012 12:37, Olof Johansson o...@lixom.net wrote: Hi, On Thu, May 10, 2012 at 3:15 AM, Thomas Abraham thomas.abra...@linaro.org wrote: Hi Olof, On 2 May 2012 23:37, Olof Johansson o...@lixom.net wrote: Hi, [...] +# Slots: The slot specific information are contained within

Re: [PATCH 00/20] ARM: Samsung: Add support for Exynos5250 Rev1.0

2012-05-15 Thread Thomas Abraham
On 15 May 2012 14:11, Kukjin Kim kgene@samsung.com wrote: Hi, Looks ok to me but some patches, #10 and #11 patches need to get the ack from Grant. And the #14 to #17 and #19 patches have a dependency on that. However now other patches which are including my re-work can be applied, so I

Re: [PATCH 18/20] ARM: dts: Update device tree source files for EXYNOS5250

2012-05-15 Thread Thomas Abraham
On 3 May 2012 01:25, Olof Johansson o...@lixom.net wrote: Hi, On Mon, Apr 30, 2012 at 12:14 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Updated EXYNOS5 device tree source files to reflect changes in rev1 of EXYNOS5 SoC. This includes new additions to the EXYNOS5 dtsi and SMDK5250

[PATCH v2 18/20] ARM: dts: Update device tree source files for EXYNOS5250

2012-05-15 Thread Thomas Abraham
Update EXYNOS5 device tree source files to reflect changes in rev1 of EXYNOS5 SoC. This includes new additions to the EXYNOS5 dtsi and SMDK5250 dts files and few minor fixes. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 48

[PATCH v2 0/6] mmc: dw_mmc: add support for device tree based instantiation

2012-05-17 Thread Thomas Abraham
discovery support for the dw_mmc driver. The sixth patch add Samsung Exynos5250 specific extentions to the driver. Thomas Abraham (6): mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference mmc: dw_mmc: allow probe to succeed even if one slot is initialized mmc: dw_mmc

[PATCH 3/3] ARM: dts: Add nodes for dw_mmc controllers for Samsung Exynos5250 platforms

2012-05-17 Thread Thomas Abraham
Add device nodes for the four instances of dw_mmc controllers in Exynos5250 and enable instance 0 and 2 for the smdk5250 board. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 59 + arch/arm/boot/dts/exynos5250

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/spi

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

2012-05-18 Thread Thomas Abraham
-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- 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

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- arch/arm/mach-exynos

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 -- drivers/spi/spi-s3c64xx.c|8 2

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- .../devicetree/bindings/spi/spi-samsung.txt| 113 drivers/spi/spi-s3c64xx.c | 277

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

2012-05-18 Thread Thomas Abraham
for the sclk_spi clock. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- arch/arm/mach-exynos/clock-exynos4.c | 48 - 1 files changed, 40 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-exynos/clock

[PATCH 3/6] ARM: Exynos4: Enable platform support for SPI controllers

2012-05-18 Thread Thomas Abraham
Add the platform bits which are required to support SPI controllers. The OF based partition parsing is also enabled to allow usage of SPI nor flash on smdkv310 board. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach

[PATCH 6/6] ARM: dts: Add nodes for spi controllers for Samsung Exynos5 platforms

2012-05-18 Thread Thomas Abraham
Add device nodes for the three instances of spi controllers in Exynos5 platforms and enable instance spi 1 for smdk5250 board. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 47 - arch/arm/boot/dts/exynos5250

[PATCH 0/3] pinctrl: add support for samsung pinctrl driver

2012-05-23 Thread Thomas Abraham
the existing gpiolib driver to skip the gpio pin registrations if pinctrl driver support is found to be enabled. Thomas Abraham (3): pinctrl: add samsung pinctrl and gpiolib driver pinctrl: add exynos4210 specific driver data for samsung pinctrl driver gpio: exynos4: skip gpiolib registration

[PATCH 1/3] pinctrl: add samsung pinctrl and gpiolib driver

2012-05-23 Thread Thomas Abraham
devices with the pinctrl subsystem and gpiolib interface registers gpio chips with the gpiolib subsystem. The information about the pins, pin groups, pin functions and gpio chips, which are SoC specific, are parsed from device tree node. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org

[PATCH 3/3] gpio: exynos4: skip gpiolib registration if pinctrl driver is used

2012-05-23 Thread Thomas Abraham
Pinctrl driver, when enabled, registers all the gpio pins and hence the registration of gpio pins by this driver can be skipped. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/gpio/gpio-samsung.c | 21 + 1 files changed, 21 insertions(+), 0 deletions

[PATCH 2/3] pinctrl: add exynos4210 specific driver data for samsung pinctrl driver

2012-05-23 Thread Thomas Abraham
Add information about the Exynos4210 pin banks, SoC specific configuration callbacks and driver data which is used by the Samsung pinctrl driver. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/pinctrl/Kconfig |7 ++ drivers/pinctrl/Makefile |1

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 kgene@samsung.com 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 device tree

Re: [PATCH 1/6] ARM: Exynos4: Fix the incorrect hierarchy of spi controller bus clock

2012-05-24 Thread Thomas Abraham
On 24 May 2012 12:57, Kukjin Kim kgene@samsung.com wrote: Thomas Abraham wrote: The sclk_spi clock is derived currently from the first level divider (MMCx_RATIO) which is incorrect. The output of the first level clock is divided by a second level divider (MMCx_PRE_RATIO), the output

Re: [PATCH 2/6] ARM: Exynos5: Add spi clock support

2012-05-24 Thread Thomas Abraham
On 24 May 2012 13:00, Kukjin Kim kgene@samsung.com wrote: Thomas Abraham wrote: Add support for clock instances for each spi controller. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- +static struct clksrc_clk

Re: [PATCH 6/6] ARM: dts: Add nodes for spi controllers for Samsung Exynos5 platforms

2012-05-24 Thread Thomas Abraham
On 24 May 2012 13:19, Kukjin Kim kgene@samsung.com wrote: Thomas Abraham wrote: Add device nodes for the three instances of spi controllers in Exynos5 platforms and enable instance spi 1 for smdk5250 board. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---  arch/arm/boot/dts

Re: [PATCH 10/20] of/irq: fix interrupt parent lookup procedure

2012-05-26 Thread Thomas Abraham
On 16 May 2012 00:11, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, 15 May 2012 17:29:14 +0900, Kukjin Kim kgene@samsung.com wrote: Thomas Abraham wrote: The interrupt parent lookup fails for a node that is a interrupt-controller but does not have an explict interrupt-parent

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 o...@lixom.net wrote: On Sun, May 20, 2012 at 2:21 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Fri, May 18, 2012 at 03:03:31PM +0530, Thomas Abraham wrote: -     s3c64xx_spi0_set_platdata(s3c64xx_spi0_pdata, 0, 1

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 o...@lixom.net wrote: Hi, Some comments below. On Tue, May 8, 2012 at 3:04 PM, Thomas Abraham thomas.abra...@linaro.org 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 17:34, Mark Brown broo...@opensource.wolfsonmicro.com 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.

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 broo...@opensource.wolfsonmicro.com wrote: On Wed, May 30, 2012 at 06:05:31PM +0800, Thomas Abraham wrote: On 30 May 2012 17:34, Mark Brown broo...@opensource.wolfsonmicro.com wrote: Right, and there's no problem at all with using the name.  The thing

Re: [PATCH 1/3] pinctrl: add samsung pinctrl and gpiolib driver

2012-05-31 Thread Thomas Abraham
On 1 June 2012 09:36, Linus Walleij linus.wall...@linaro.org wrote: On Thu, May 24, 2012 at 7:47 AM, Thomas Abraham thomas.abra...@linaro.org wrote: diff --git a/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt

Re: [PATCH 0/3] pinctrl: add support for samsung pinctrl driver

2012-05-31 Thread Thomas Abraham
On 1 June 2012 09:40, Linus Walleij linus.wall...@linaro.org wrote: On Thu, May 24, 2012 at 7:47 AM, Thomas Abraham thomas.abra...@linaro.org wrote: Note that, the Samsung pinctrl driver is usable only on device tree enabled Samsung platforms. Legacy platforms would still continue to use

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 broo...@opensource.wolfsonmicro.com wrote: On Thu, May 31, 2012 at 10:05:42AM +0800, Thomas Abraham wrote: On 30 May 2012 18:13, Mark Brown broo...@opensource.wolfsonmicro.com wrote: No there isn't.  You've got things like s3c64xx_device_spi0 in arch/arm

[PATCH] gpio: samsung: fix typo in name of exynos5 gpio chip list

2012-06-03 Thread Thomas Abraham
Commit 30b842889eea (Merge tag 'soc2' of git://git.kernel.org/pub/scm/ linux/kernel/git/arm/arm-soc) introduced a typo in the name of the list of gpio chips for Exynos5 gpio controller. Fix this typo. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/gpio/gpio-samsung.c |2

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 broo...@opensource.wolfsonmicro.com 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/plat-samsung/devs.c

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

2012-06-03 Thread Thomas Abraham
Singh jaswinder.si...@linaro.org. 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

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0

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

2012-06-03 Thread Thomas Abraham
-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/mach-exynos/clock-exynos4.c | 18 ++-- arch/arm/mach-exynos/setup-spi.c | 25 arch/arm/mach-s3c24xx

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 -- drivers/spi/spi

[PATCH v2 1/6] ARM: Exynos4: Fix the incorrect hierarchy of spi controller bus clock

2012-06-03 Thread Thomas Abraham
for the sclk_spi clock. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- arch/arm/mach-exynos/clock-exynos4.c | 48 - 1 files changed, 40 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-exynos/clock

[PATCH v2 2/6] ARM: Exynos5: Add spi clock support

2012-06-03 Thread Thomas Abraham
Add support for clock instances for each spi controller. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- arch/arm/mach-exynos/clock-exynos5.c | 98 ++ 1 files changed, 98 insertions(+), 0 deletions

[PATCH v2 3/6] ARM: Exynos4: Enable platform support for SPI controllers

2012-06-03 Thread Thomas Abraham
Add the platform bits which are required to support SPI controllers. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/include/mach/irqs.h |4 arch/arm/mach-exynos/mach-exynos4-dt.c |6 ++ 2 files changed, 10 insertions(+), 0 deletions(-) diff

[PATCH v2 4/6] ARM: Exynos5: Enable platform support for SPI controllers

2012-06-03 Thread Thomas Abraham
Add the platform bits which are required to support SPI controllers. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/include/mach/map.h |3 +++ arch/arm/mach-exynos/mach-exynos5-dt.c |6 ++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git

[PATCH] ARM: S3C64XX: Add a new dma request id for device tree based dma channel lookup

2012-06-03 Thread Thomas Abraham
-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-s3c64xx/include/mach/dma.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s3c64xx/include/mach/dma.h b/arch/arm/mach-s3c64xx/include/mach/dma.h index fe1a98c..57b1ff4 100644 --- a/arch/arm/mach-s3c64xx

Re: [PATCH 05/20] ARM: EXYNOS: Redefine IRQ_MCT_L0,1 definition

2012-06-04 Thread Thomas Abraham
Dear Mr. Park, On 27 May 2012 06:59, Kyungmin Park kmp...@infradead.org wrote: Hi, On Tue, May 1, 2012 at 4:14 AM, Thomas Abraham thomas.abra...@linaro.org wrote: From: Changhwan Youn chaos.y...@samsung.com Redefine IRQ_MCT_L0,1 irq definition as it is changed in rev1 of EXYNOS5. Signed

Re: [PATCH] ARM: EXYNOS: add FIMD1 support for EXYNOS5

2012-06-04 Thread Thomas Abraham
Dear Mr. Han, On 4 June 2012 16:11, Jingoo Han jg1@samsung.com wrote: This patch adds platform device s5p_device_fimd1 for EXYNOS FIMD1. EXYNOS has two FIMDs(FIMD0, FIMD1). Some definitions used to enable EXYNOS FIMD1 are added. This patch also adds resource definitions for EXYNOS5

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- arch/arm/mach-exynos

[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 thomas.abra

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 -- drivers/spi/spi

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 broo...@opensource.wolfsonmicro.com 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

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 broo...@opensource.wolfsonmicro.com 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

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 - drivers/spi/spi

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- .../devicetree/bindings/spi/spi-samsung.txt| 113 +++ drivers/spi/spi-s3c64xx.c

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 broo...@opensource.wolfsonmicro.com 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

[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: -

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0

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

2012-07-11 Thread Thomas Abraham
-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/mach-exynos/clock-exynos4.c | 18 ++-- arch/arm/mach-exynos/setup-spi.c | 25 arch/arm/mach-s3c24xx

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org --- arch/arm/mach-exynos

[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 thomas.abra

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |2 - drivers/spi/spi

[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 thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- .../devicetree/bindings/spi/spi-samsung.txt| 113 drivers/spi/spi-s3c64xx.c

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 broo...@opensource.wolfsonmicro.com 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 patches

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 broo...@opensource.wolfsonmicro.com 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

[PATCH] ARM: Exynos: Add device tree node for Exynos4 interrupt combiner controller

2012-07-11 Thread Thomas Abraham
Add node for Exynos4 interrupt combiner controller. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos4210.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210

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 thomas.abra...@linaro.org wrote: On 11 July 2012 23:19, Mark Brown broo...@opensource.wolfsonmicro.com 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

[PATCH v3 0/6] mmc: dw_mmc: add support for device tree based instantiation

2012-07-12 Thread Thomas Abraham
. The sixth patch add Samsung Exynos5250 specific extentions to the driver. This patchset is based on Samsung kernel tree's for-next branch with the mmc tree's mmc-next branch merged. Thomas Abraham (6): mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference mmc: dw_mmc: allow

[PATCH v3 1/6] mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference

2012-07-12 Thread Thomas Abraham
this by converting the copy of 'struct device' in 'struct dw_mci' to a reference. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/mmc/host/dw_mmc-pci.c |2 +- drivers/mmc/host/dw_mmc-pltfm.c |2 +- drivers/mmc/host/dw_mmc.c | 56 +++--- include

[PATCH v3 4/6] mmc: dw_mmc: add quirk to indicate missing write protect line

2012-07-12 Thread Thomas Abraham
, but with device tree support enabled, such platform callbacks cannot be supported. Add a new quirk for notifying the driver about the missing write protect line so the driver can assume that the card write protection is disabled. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked

[PATCH v3 6/6] mmc: dw_mmc: add samsung exynos5250 specific extentions

2012-07-12 Thread Thomas Abraham
extenstions. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../devicetree/bindings/mmc/synposis-dw-mshc.txt | 38 ++- drivers/mmc/host/dw_mmc-pltfm.c| 15 +++ drivers/mmc/host/dw_mmc.c

[PATCH v3 3/6] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-07-12 Thread Thomas Abraham
Some platforms allow for clock gating and control of bus interface unit clock and card interface unit clock. Add support for clock lookup of optional biu and ciu clocks for clock gating and clock speed determination. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas

[PATCH v3 2/6] mmc: dw_mmc: allow probe to succeed even if one slot is initialized

2012-07-12 Thread Thomas Abraham
Instead of aborting the probe in case a slot initialization fails, allow initialization of as many slots as possible. If there are atleast one instance of slot that is successfully initialized, allow the driver probe to succeed. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers

ARM: Exynos5: Enable support for DW-MMC controllers

2012-07-12 Thread Thomas Abraham
This patch set enables device tree based support for the four dw-mmc controllers on Samsung's Exynos5250 SoC. Thomas Abraham (3): ARM: Samsung: Add support for MSHC controller clocks ARM: Exynos5: Add AUXDATA support for MSHC controllers ARM: dts: Add nodes for dw_mmc controllers

[PATCH v2 1/3] ARM: Samsung: Add support for MSHC controller clocks

2012-07-12 Thread Thomas Abraham
Add clock instances for bus interface unit clock and card interface unit clock of the all four MSHC controller instances. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/clock-exynos5.c | 45

  1   2   3   4   5   6   7   8   9   10   >