[PATCH 6/9] arm: samsung: register uart clocks to clock lookup list

2011-09-26 Thread Thomas Abraham
Samsung uart driver lookups the clock using the connectio id 'clk_uart_baud'. The uart clocks are reorganized to register them with the lookup name as required by the uart driver. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/clock.c

[PATCH 7/9] serial: samsung: merge all SoC specific port reset functions

2011-09-26 Thread Thomas Abraham
The SoC specific port reset functions is removed from SoC extensions of the Samsung serial driver and merged into a single port reset function. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- drivers/tty/serial/s3c2410.c | 18 -- drivers/tty/serial/s3c2412.c | 24

[PATCH 5/9] serial: samsung: remove all uses of get_clksrc and set_clksrc

2011-09-26 Thread Thomas Abraham
for uart baud generator, clock selection bit mask and shift values which is required by the clkdev support in samsung uart driver. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/init.c |4 +- arch/arm/plat-samsung/include/plat/regs-serial.h |7

[PATCH 8/9] serial: samsung: merge probe() function from all SoC specific extensions

2011-09-26 Thread Thomas Abraham
The driver probe() function is removed from the SoC specific extensions and a probe() is added to the common driver. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- arch/arm/plat-samsung/include/plat/regs-serial.h | 12 + drivers/tty/serial/Kconfig | 45 +--- drivers

[PATCH 9/9] serial: samsung: add device tree support

2011-09-26 Thread Thomas Abraham
Add device tree based discovery support for Samsung's uart controller. Cc: Ben Dooks Cc: Grant Likely Signed-off-by: Thomas Abraham --- drivers/tty/serial/samsung.c | 36 ++-- 1 files changed, 34 insertions(+), 2 deletions(-) diff --git a/drivers/tty/s

Re: [PATCH v3 2/2] input: samsung-keypad: Add device tree support

2011-09-27 Thread Thomas Abraham
Hi Grant, On 22 September 2011 23:10, Grant Likely wrote: > On Mon, Sep 19, 2011 at 03:49:13PM +0530, Thomas Abraham wrote: >> Add device tree based discovery support for Samsung's keypad controller. >> >> Cc: Joonyoung Shim >> Cc: Donghwa Lee >> Signed-of

Re: [PATCH v3 1/2] input: samsung-keypad: Add HAVE_SAMSUNG_KEYPAD config option

2011-09-27 Thread Thomas Abraham
Hi Grant, On 22 September 2011 23:05, Grant Likely wrote: > On Mon, Sep 19, 2011 at 03:49:12PM +0530, Thomas Abraham wrote: >> For platforms using device tree, the static keypad device instances >> are not required and SAMSUNG_DEV_KEYPAD is not selected. Since, >> sams

[PATCH v4 0/2] Add device tree support for Samsung's keypad controller driver

2011-09-27 Thread Thomas Abraham
eypad controller driver. The second patch adds device tree support for the keypad driver. Thomas Abraham (2): input: samsung-keypad: Add HAVE_SAMSUNG_KEYPAD config option input: samsung-keypad: Add device tree support .../devicetree/bindings/input/samsung-keypad.txt | 88 +++

[PATCH v4 1/2] input: samsung-keypad: Add HAVE_SAMSUNG_KEYPAD config option

2011-09-27 Thread Thomas Abraham
option 'HAVE_SAMSUNG_KEYPAD' is added which the device tree based platforms can select. This config option is added as an alternative dependency for keypad driver. Signed-off-by: Thomas Abraham --- drivers/input/keyboard/Kconfig |9 - 1 files changed, 8 insertions(+), 1

[PATCH v4 2/2] input: samsung-keypad: Add device tree support

2011-09-27 Thread Thomas Abraham
Add device tree based discovery support for Samsung's keypad controller. Cc: Joonyoung Shim Cc: Donghwa Lee Signed-off-by: Thomas Abraham Acked-by: Grant Likely --- .../devicetree/bindings/input/samsung-keypad.txt | 88 ++ drivers/input/keyboard/samsung-keypad.c|

[PATCH v5 0/6] Add device tree support for PL330 dma controller driver

2011-09-28 Thread Thomas Abraham
and pass it to the wrappers. The wrapper functions use the property value as the filter function parameter. Sixth patch restricts the usage of pl330 device and platform data instances to non-dt platforms. This patchset is based on Linux 3.1-rc7 and tested tested for both device-tree and non-device-t

[PATCH v5 1/6] DMA: PL330: move filter function into driver

2011-09-28 Thread Thomas Abraham
n a system with multiple types of DMA drivers). Suggested-by: Russell King Signed-off-by: Thomas Abraham Acked-by: Jassi Brar Acked-by: Grant Likely --- arch/arm/plat-samsung/dma-ops.c |6 -- drivers/dma/pl330.c | 15 +++ include/linux/amba/pl330.h |2 ++

[PATCH v5 2/6] DMA: PL330: Infer transfer direction from transfer request instead of platform data

2011-09-28 Thread Thomas Abraham
cannot be inferred any more. Hence, the dma controller capabilities is specified using platform data. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham Acked-by: Jassi Brar Acked-by: Grant Likely --- drivers/dma/pl330.c| 65 +++-

[PATCH v5 3/6] ARM: EXYNOS4: Modify platform data for pl330 driver

2011-09-28 Thread Thomas Abraham
With the 'struct dma_pl330_peri' removed, the platfrom data for dma driver can be simplified to a simple list of peripheral request ids. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham Acked-by: Kukjin Kim Acked-by: Grant Likely --- arch/arm/mach-exynos4/dm

[PATCH v5 4/6] DMA: PL330: Add device tree support

2011-09-28 Thread Thomas Abraham
match is found, the request id from the client node and the 'chan_id' of the channel is matched. A channel is found if both the values match. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham Reviewed-by: Rob Herring Acked-by: Jassi Brar Acked-by: Grant Likely --- .../de

[PATCH v5 5/6] ARM: SAMSUNG: Add device tree support for pl330 dma engine wrappers

2011-09-28 Thread Thomas Abraham
y value as the value for the filter parameter. Signed-off-by: Thomas Abraham Acked-by: Kukjin Kim Acked-by: Grant Likely --- arch/arm/plat-samsung/dma-ops.c|9 - arch/arm/plat-samsung/include/plat/dma-ops.h |1 + arch/arm/plat-samsung/include/plat/dma-pl330.h

[PATCH v5 6/6] ARM: EXYNOS4: Limit usage of pl330 device instance to non-dt build

2011-09-28 Thread Thomas Abraham
amba device registrations is applicable to only non-dt platforms. Cc: Kukjin Kim Cc: Kyungmin Park Signed-off-by: Thomas Abraham Acked-by: Grant Likely --- arch/arm/mach-exynos4/Kconfig | 12 arch/arm/mach-exynos4/Makefile |3 ++- arch/arm/mach-exynos4/dma.c|4 3

[PATCH 0/3] mmc: sdhci-s3c: Remove 'clk_type' member from platform data

2011-10-04 Thread Thomas Abraham
ng tree https://github.com/kgene/linux-samsung.git branch: for-next and tested on smdkv310, smdkv210 and smdk2416. Thomas Abraham (3): mmc: sdhci-s3c: Remove usage of clk_type member in platform data arm: exynos4: use 'exynos4-sdhci' as device name for sdhci controllers arm: samsun

[PATCH 2/3] arm: exynos4: use 'exynos4-sdhci' as device name for sdhci controllers

2011-10-04 Thread Thomas Abraham
With the addition of platform specific driver data in the sdhci driver for exynos4, the device name of sdhci controllers on exynos4 is changed accordingly. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/clock.c | 16 arch/arm/mach-exynos4

[PATCH 1/3] mmc: sdhci-s3c: Remove usage of clk_type member in platform data

2011-10-04 Thread Thomas Abraham
n platform data is removed and the sdhci quirk is used. In addition to that, since this qurik is SoC specific, driver data is introduced to represent controllers on SoC's that require this quirk. Cc: Ben Dooks Cc: Jeongbae Seo Signed-off-by: Thomas Abraham --- In the function 'sdhci_cmu_

[PATCH 3/3] arm: samsung: remove all uses of clk_type member in sdhci platform data

2011-10-04 Thread Thomas Abraham
The sdhci driver is modified to be independent of clk_type member in the sdhci platform data. Hence, all usage of clk_type in platform code is removed. Cc: Kyungmin Park Cc: JeongHyeon Kim Cc: Kukjin Kim Cc: Changhwan Youn Cc: Alim Akhtar Signed-off-by: Thomas Abraham --- arch/arm/mach

Re: [PATCH 1/3] mmc: sdhci-s3c: Remove usage of clk_type member in platform data

2011-10-04 Thread Thomas Abraham
Hi Mr. Park, On 4 October 2011 13:23, Kyungmin Park wrote: > Hi, > > On Tue, Oct 4, 2011 at 4:28 PM, Thomas Abraham > wrote: >> SDHCI controllers on Exynos4 do not include the sdclk divider as per the >> sdhci controller specification. This case can be represented

[PATCH 0/3] mmc: sdhci-s3c: Add device tree support for Samsung's sdhci controller driver

2011-10-05 Thread Thomas Abraham
kv310 board. Thomas Abraham (3): mmc: sdhci-s3c: Keep a copy of platform data and use it mmc: Add OF bindings support for mmc host controller capabilities mmc: sdhci-s3c: Add device tree support .../devicetree/bindings/mmc/linux-mmc-host.txt | 11 ++ .../devicetree/bindings/mmc/sa

[PATCH 1/3] mmc: sdhci-s3c: Keep a copy of platform data and use it

2011-10-05 Thread Thomas Abraham
The platform data is copied into driver's private data and the copy is used for all access to the platform data. This simpifies the addition of device tree support for the sdhci-s3c driver. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- drivers/mmc/host/sdhci-s3c.c | 11 +-- 1

[PATCH 2/3] mmc: Add OF bindings support for mmc host controller capabilities

2011-10-05 Thread Thomas Abraham
Device nodes representing sd/mmc controllers in a device tree would include mmc host controller capabilities. Add support for parsing of mmc host controller capabilities included in device nodes. Signed-off-by: Thomas Abraham --- .../devicetree/bindings/mmc/linux-mmc-host.txt | 11

[PATCH 3/3] mmc: sdhci-s3c: Add device tree support

2011-10-05 Thread Thomas Abraham
Add device tree based discovery support for Samsung's sdhci controller Cc: Ben Dooks Signed-off-by: Thomas Abraham --- .../devicetree/bindings/mmc/samsung-sdhci.txt | 75 ++ drivers/mmc/host/sdhci-s3c.c | 150 +++- 2 files changed

Re: [PATCH 2/3] mmc: Add OF bindings support for mmc host controller capabilities

2011-10-05 Thread Thomas Abraham
Hi Rob, On 5 October 2011 18:59, Rob Herring wrote: > Thomas, > > On 10/05/2011 05:13 AM, Thomas Abraham wrote: >> Device nodes representing sd/mmc controllers in a device tree would include >> mmc host controller capabilities. Add support for parsing of mmc host >&

[PATCH 0/2] arm: samsung: add device tree support for gic and interrupt combiner

2011-10-06 Thread Thomas Abraham
The concept of irq domain for interrupt combiner controller is based on Grant's 'simple' irq converter Thomas Abraham (2): arm: samsung: move timer irq numbers to end of linux irq space arm: exynos4: add support for dt irq specifier to linux virq conversion arch/arm/mach-exynos4/cpu.c

[PATCH 1/2] arm: samsung: move timer irq numbers to end of linux irq space

2011-10-06 Thread Thomas Abraham
ro is consolidated for all the s5p platforms in this process. Cc: Ben Dooks Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/include/mach/entry-macro.S |1 - arch/arm/mach-exynos4/include/mach/irqs.h|3 +-- arch/arm/mach-s5p64x0/include/mach/irqs.h|

[PATCH 2/2] arm: exynos4: add support for dt irq specifier to linux virq conversion

2011-10-06 Thread Thomas Abraham
Add support for conversion of device tree interrupt specifier to linux virq domain for GIC and Interrupt combiner controllers. Cc: Rob Herring Cc: Grant Likely Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/cpu.c | 20 ++- arch/arm/mach-exynos4/irq-combiner.c

Re: [PATCH 1/2] arm: samsung: move timer irq numbers to end of linux irq space

2011-10-06 Thread Thomas Abraham
Hi Russell, On 7 October 2011 03:45, Russell King - ARM Linux wrote: > On Fri, Oct 07, 2011 at 02:41:42AM +0530, Thomas Abraham wrote: >> All of Samsung's s5p platforms have timer irqs statically mapped from linux >> irq numbers 11 to 15. These timer irqs are moved to e

Re: [PATCH 1/2] arm: samsung: move timer irq numbers to end of linux irq space

2011-10-06 Thread Thomas Abraham
On 7 October 2011 05:26, Thomas Abraham wrote: > Hi Russell, > > On 7 October 2011 03:45, Russell King - ARM Linux > wrote: >> On Fri, Oct 07, 2011 at 02:41:42AM +0530, Thomas Abraham wrote: >>> All of Samsung's s5p platforms have timer irqs statically mapped fro

Re: [PATCH 2/3] mmc: Add OF bindings support for mmc host controller capabilities

2011-10-08 Thread Thomas Abraham
On 5 October 2011 21:25, Stephen Warren wrote: > Thomas Abraham wrote at Wednesday, October 05, 2011 8:28 AM: >> On 5 October 2011 18:59, Rob Herring wrote: >> > On 10/05/2011 05:13 AM, Thomas Abraham wrote: >> >> Device nodes representing sd/mmc controllers in a de

[PATCH] gpio/samsung: Fix incorrect gpio pull up/down callback for Exynos4

2011-10-09 Thread Thomas Abraham
get_pull callbacks set to exynos4 specific callbacks The new default gpio configs can then be used for exynos4 gpio chips. Signed-off-by: Thomas Abraham --- drivers/gpio/gpio-samsung.c | 31 +++ 1 files changed, 19 insertions(+), 12 deletions(-) diff --git a/drivers/gpio

[RESEND][PATCH] gpio/samsung: Fix incorrect gpio pull up/down callback for Exynos4

2011-10-09 Thread Thomas Abraham
get_pull callbacks set to exynos4 specific callbacks The new default gpio configs can then be used for exynos4 gpio chips. Signed-off-by: Thomas Abraham --- drivers/gpio/gpio-samsung.c | 31 +++ 1 files changed, 19 insertions(+), 12 deletions(-) diff --git a/drivers/gpio

Re: [RESEND][PATCH] gpio/samsung: Fix incorrect gpio pull up/down callback for Exynos4

2011-10-09 Thread Thomas Abraham
Hi Grant, On 10 October 2011 04:40, Grant Likely wrote: > On Sun, Oct 9, 2011 at 12:35 PM, Thomas Abraham > wrote: >> Some of the gpio chips of exynos4 are assigned a default gpio config without >> the exynos4 specific pull up/down callbacks which resulted in incorrect >

[PATCH 1/3] ARM: Samsung: Move timer irq numbers to end of linux irq space

2011-10-10 Thread Thomas Abraham
ro is consolidated for all the s5p platforms in this process. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/include/mach/entry-macro.S |1 - arch/arm/mach-exynos4/include/mach/irqs.h|3 +-- arch/arm/mach-s5p64x0/include/mach/irqs.h|4 +--- arch/arm/mach-s5pc100/include

[PATCH 3/3] ARM: Exynos4: Add support for dt irq specifier to linux virq conversion

2011-10-10 Thread Thomas Abraham
Add support for conversion of device tree interrupt specifier to linux virq domain for GIC and Interrupt combiner controllers. Signed-off-by: Thomas Abraham --- .../devicetree/bindings/irq/samsung-combiner.txt | 24 ++ arch/arm/mach-exynos4/cpu.c| 20

[PATCH 2/3] ARM: Exynos4: Add ioremap interceptor for statically remapped regions

2011-10-10 Thread Thomas Abraham
ioremap() request for statically remapped regions are intercepted and the statically assigned virtual address is returned. For requests for which there are no statically remapped regions, the requests are let through. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/cpu.c

[PATCH 0/3] ARM: Samsung: Add device tree support for GIC and Interrupt Combiner

2011-10-10 Thread Thomas Abraham
following tree: https://github.com/kgene/linux-samsung.git branch: for-next Patch 1 is tested on smdk6450, smdkc100, smdkv210. Patch 1 to 3 are tested on smdkv310. Thomas Abraham (3): arm: samsung: move timer irq numbers to end of linux irq space ARM: Exynos4: Add ioremap interceptor for st

[PATCH v2 0/9] serial: samsung: rework clock lookup and add device tree support

2011-10-10 Thread Thomas Abraham
tches applied [PATCH] serial: samsung: Add unified interrupt handler for s3c64xx and later SoC's [PATCH] ARM: SAMSUNG: Remove uart irq handling from plaform code and tested on the following boards. SMDK2440, SMDK2416, SMDK6410, SMDK6440, SMDK6450, SMDKC100, SMDKV210, SMDKV310. This pat

[PATCH v2 1/9] serial: samsung: Keep a copy of the location of platform data in driver's private data

2011-10-10 Thread Thomas Abraham
set to pdev->dev->platform_data or platform data instance created from device tree. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- drivers/tty/serial/s5pv210.c | 12 ++-- drivers/tty/serial/samsung.c | 16 drivers/tty/serial/samsung.h |4 +++- 3 files change

[PATCH v2 3/9] serial: samsung: switch to clkdev based clock lookup

2011-10-10 Thread Thomas Abraham
source clock. If a bit at any bit position is set, that clock is looked up to participate in the selection of the baud clock source. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- arch/arm/plat-samsung/include/plat/regs-serial.h |5 + drivers/tty/serial/samsun

[PATCH v2 4/9] serial: samsung: remove struct 's3c24xx_uart_clksrc' and all uses of it

2011-10-10 Thread Thomas Abraham
With clkdev based clock lookup added to samsung serial driver, the use of 'struct s3c24xx_uart_clksrc' to supply clock names in platform data is removed from all the Samsung platform code. Cc: Ben Dooks Cc: Ramax Lo Cc: Vasily Khoruzhick Signed-off-by: Thomas Abraham --- arc

[PATCH v2 6/9] arm: samsung: register uart clocks to clock lookup list

2011-10-10 Thread Thomas Abraham
Samsung uart driver lookups the clock using the connection id 'clk_uart_baud'. The uart clocks for all Samsung platforms are reorganized to register them with the lookup name as required by the uart driver. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- arch/arm/mach-exyno

[PATCH v2 9/9] serial: samsung: add device tree support

2011-10-10 Thread Thomas Abraham
Add device tree based discovery support for Samsung's uart controller. Cc: Ben Dooks Cc: Grant Likely Signed-off-by: Thomas Abraham --- .../devicetree/bindings/serial/samsung_uart.txt| 14 drivers/tty/serial/samsung.c | 36 ++- 2

[PATCH v2 2/9] serial: samsung: move handling of fclk/n clock to platform code

2011-10-10 Thread Thomas Abraham
ed not determine clock rate of fclk/n. Cc: Ben Dooks Cc: Vasily Khoruzhick Signed-off-by: Thomas Abraham --- arch/arm/mach-s3c2440/clock.c | 37 +++ arch/arm/mach-s3c2440/mach-rx1950.c |4 +- arch/arm/mach-s3c2440/mach-rx3715.c |4 +- drivers/tty/

[PATCH v2 5/9] serial: samsung: remove all uses of get_clksrc and set_clksrc

2011-10-10 Thread Thomas Abraham
e does not specify the same. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/init.c |4 +- arch/arm/plat-samsung/include/plat/regs-serial.h |7 ++- drivers/tty/serial/s3c2410.c | 31 ++-- drivers/tty/serial

[PATCH v2 7/9] serial: samsung: merge all SoC specific port reset functions

2011-10-10 Thread Thomas Abraham
-off-by: Thomas Abraham --- drivers/tty/serial/s3c2410.c | 18 -- drivers/tty/serial/s3c2412.c | 24 drivers/tty/serial/s3c2440.c | 24 drivers/tty/serial/s3c6400.c | 24 drivers/tty/serial/s5pv210.c

[PATCH v2 8/9] serial: samsung: merge probe() function from all SoC specific extensions

2011-10-10 Thread Thomas Abraham
extentions are no longer required and they are deleted. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- arch/arm/plat-samsung/include/plat/regs-serial.h | 12 + drivers/tty/serial/Kconfig | 45 +--- drivers/tty/serial/Makefile |5 - drivers/tty

Re: [PATCH 2/3] ARM: plat-samsung: use Kconfig choice for debug UART selection

2011-10-10 Thread Thomas Abraham
Hi Will, On 17 August 2011 03:11, Will Deacon wrote: > Now that the DEBUG_LL UART can be selected by a Kconfig choice, convert > the Samsung UART selection to use a set of bools rather than an int. > > Signed-off-by: Will Deacon > --- >  arch/arm/Kconfig.debug        |   45 > ++

Re: [PATCH 2/3] ARM: plat-samsung: use Kconfig choice for debug UART selection

2011-10-10 Thread Thomas Abraham
On 10 October 2011 17:53, Will Deacon wrote: > On Mon, Oct 10, 2011 at 12:56:24PM +0100, Thomas Abraham wrote: >> Hi Will, > > Hi Thomas, >> >> What is your opinion about the following diff instead of the above one? >> >> >> diff --git a/arch/arm/Kc

Re: [PATCH 2/3] ARM: plat-samsung: use Kconfig choice for debug UART selection

2011-10-10 Thread Thomas Abraham
On 10 October 2011 19:04, Will Deacon wrote: > On Mon, Oct 10, 2011 at 01:35:54PM +0100, Thomas Abraham wrote: >> There are no difficulties with the original patch. But that was not >> how Samsung boards have been selecting the low level debug uart port >> number. The pr

[PATCH v5 0/2] Add device tree support for Samsung's keypad controller driver

2011-10-10 Thread Thomas Abraham
device tree enabled platforms for selecting the samsung's keypad controller driver. The second patch adds device tree support for the keypad driver. Thomas Abraham (2): input: samsung-keypad: Add HAVE_SAMSUNG_KEYPAD config option input: samsung-keypad: Add device tree support ..

[PATCH v5 1/2] input: samsung-keypad: Add HAVE_SAMSUNG_KEYPAD config option

2011-10-10 Thread Thomas Abraham
option 'HAVE_SAMSUNG_KEYPAD' is added which the device tree based platforms can select. This config option is added as an alternative dependency for keypad driver. Signed-off-by: Thomas Abraham --- drivers/input/keyboard/Kconfig |9 - 1 files changed, 8 insertions(+), 1

[PATCH v5 2/2] input: samsung-keypad: Add device tree support

2011-10-10 Thread Thomas Abraham
Add device tree based discovery support for Samsung's keypad controller. Cc: Joonyoung Shim Cc: Donghwa Lee Signed-off-by: Thomas Abraham Acked-by: Grant Likely --- .../devicetree/bindings/input/samsung-keypad.txt | 88 ++ drivers/input/keyboard/samsung-keypad.c|

[PATCH v6 01/10] DMA: PL330: move filter function into driver

2011-10-10 Thread Thomas Abraham
n a system with multiple types of DMA drivers). Suggested-by: Russell King Signed-off-by: Thomas Abraham Acked-by: Jassi Brar Acked-by: Grant Likely --- arch/arm/plat-samsung/dma-ops.c |6 -- drivers/dma/pl330.c | 15 +++ include/linux/amba/pl330.h |2 ++

[PATCH v6 02/10] DMA: PL330: Infer transfer direction from transfer request instead of platform data

2011-10-10 Thread Thomas Abraham
cannot be inferred any more. Hence, the dma controller capabilities is specified using platform data. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham Acked-by: Jassi Brar Acked-by: Grant Likely --- drivers/dma/pl330.c| 65 +++-

[PATCH v6 03/10] ARM: EXYNOS4: Modify platform data for pl330 driver

2011-10-10 Thread Thomas Abraham
With the 'struct dma_pl330_peri' removed, the platfrom data for dma driver can be simplified to a simple list of peripheral request ids. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham Acked-by: Kukjin Kim Acked-by: Grant Likely --- arch/arm/mach-exynos4/dm

[PATCH v6 04/10] DMA: PL330: Add device tree support

2011-10-10 Thread Thomas Abraham
match is found, the request id from the client node and the 'chan_id' of the channel is matched. A channel is found if both the values match. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham Reviewed-by: Rob Herring Acked-by: Jassi Brar Acked-by: Grant Likely --- .../de

[PATCH v6 05/10] ARM: SAMSUNG: Add device tree support for pl330 dma engine wrappers

2011-10-10 Thread Thomas Abraham
y value as the value for the filter parameter. Signed-off-by: Thomas Abraham Acked-by: Kukjin Kim Acked-by: Grant Likely --- arch/arm/plat-samsung/dma-ops.c|9 - arch/arm/plat-samsung/include/plat/dma-ops.h |1 + arch/arm/plat-samsung/include/plat/dma-pl330.h

[PATCH v6 06/10] ARM: EXYNOS4: Limit usage of pl330 device instance to non-dt build

2011-10-10 Thread Thomas Abraham
amba device registrations is applicable to only non-dt platforms. Cc: Kukjin Kim Cc: Kyungmin Park Signed-off-by: Thomas Abraham Acked-by: Grant Likely --- arch/arm/mach-exynos4/Kconfig | 10 ++ arch/arm/mach-exynos4/Makefile |3 ++- arch/arm/mach-exynos4/dma.c|4 3

[PATCH v6 08/10] ARM: S5P64x0: Modify platform data for pl330 driver

2011-10-10 Thread Thomas Abraham
With the 'struct dma_pl330_peri' removed, the platfrom data for dma driver can be simplified to a simple list of peripheral request ids. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-s5p64x0/dma.c | 227 -

[PATCH v6 10/10] ARM: S5PV210: Modify platform data for pl330 driver

2011-10-10 Thread Thomas Abraham
With the 'struct dma_pl330_peri' removed, the platfrom data for dma driver can be simplified to a simple list of peripheral request ids. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-s5pv210/dma.c | 241 -

[PATCH v6 00/10] Add device tree support for PL330 dma controller driver

2011-10-10 Thread Thomas Abraham
on the following tree: https://github.com/kgene/linux-samsung.git branch: for-next and tested tested for both device-tree and non-device-tree kernel on smdkv310. This patchset has dependency on the following patchset. [PATCH V2 0/2] Add a common macro for creating struct clk_lookup entries. Thomas

[PATCH v6 07/10] ARM: Exynos4: Add a alias for pdma clocks

2011-10-10 Thread Thomas Abraham
' but amba_device_register() looks up the clock using the name 'apb_pclk'. Hence, alias clocks with name 'apb_pclk' clock are created for clocks with name 'dma'. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/clock.c | 35 +-

[PATCH v6 09/10] ARM: S5PC100: Modify platform data for pl330 driver

2011-10-10 Thread Thomas Abraham
With the 'struct dma_pl330_peri' removed, the platfrom data for dma driver can be simplified to a simple list of peripheral request ids. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-s5pc100/dma.c | 247 --

Re: [PATCH] rtc: rtc-s3c: Add device tree support

2011-10-11 Thread Thomas Abraham
On 3 September 2011 21:19, Thomas Abraham wrote: > Add device tree based discovery support for Samsung's rtc controller. > > Cc: Ben Dooks > Signed-off-by: Thomas Abraham > --- >  Documentation/devicetree/bindings/rtc/s3c-rtc.txt |   20 &

[PATCH] gpio: exynos4: Add device tree support

2011-10-11 Thread Thomas Abraham
: Thomas Abraham --- This patch is based on the latest consolidated Samsung GPIO driver available in the following tree: https://github.com/kgene/linux-samsung.git branch: for-next .../devicetree/bindings/gpio/gpio-samsung.txt | 30 +++ drivers/gpio/gpio-samsung.c

[PATCH 0/2] ARM: Samsung: Add basic device tree support for Exynos4 boards

2011-10-11 Thread Thomas Abraham
samsung.git branch: for-next Thomas Abraham (2): ARM: Samsung: Add Exynos4 device tree enabled board file ARM: dts: Add intial dts file for Exynos4210 SoC, SMDKV310 and Origen board .../devicetree/bindings/arm/insignal-boards.txt|8 + .../devicetree/bindings/arm/samsung-boards.txt

[PATCH 1/2] ARM: Samsung: Add Exynos4 device tree enabled board file

2011-10-11 Thread Thomas Abraham
the kernel. Signed-off-by: Thomas Abraham --- .../devicetree/bindings/arm/insignal-boards.txt|8 ++ .../devicetree/bindings/arm/samsung-boards.txt |8 ++ arch/arm/mach-exynos4/Kconfig | 14 +++ arch/arm/mach-exynos4/Makefile |2 + arc

[PATCH 2/2] ARM: dts: Add intial dts file for Exynos4210 SoC, SMDKV310 and Origen board

2011-10-11 Thread Thomas Abraham
Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/exynos4210-origen.dts | 137 ++ arch/arm/boot/dts/exynos4210-smdkv310.dts | 182 + arch/arm/boot/dts/exynos4210.dtsi | 403 + 3 files changed, 722 insertions(+), 0 deletions(-) create m

Re: [PATCH v6 00/10] Add device tree support for PL330 dma controller driver

2011-10-11 Thread Thomas Abraham
Hi Vinod, On 11 October 2011 17:36, Kukjin Kim wrote: > Thomas Abraham wrote: >> >> Changes since v5: >> - Added alias clocks for pdma clocks on Exynos4. >> - Modified platform data for s5p64x0, s5pc100 and s5pv210. >> - Rebased on the tip of for-next branch of

Re: [PATCH] gpio: exynos4: Add device tree support

2011-10-11 Thread Thomas Abraham
Hi Rob, On 11 October 2011 20:41, Rob Herring wrote: > Thomas, > > On 10/11/2011 03:16 AM, Thomas Abraham wrote: >> As gpio chips get registered, a device tree node which represents the >> gpio chip is searched and attached to it. A translate function is also >> p

Re: [PATCH] gpio: exynos4: Add device tree support

2011-10-11 Thread Thomas Abraham
On 11 October 2011 21:00, Rob Herring wrote: > On 10/11/2011 10:19 AM, Thomas Abraham wrote: >> Hi Rob, >> >> On 11 October 2011 20:41, Rob Herring wrote: >>> Thomas, >>> >>> On 10/11/2011 03:16 AM, Thomas Abraham wrote: >>>> As gpio c

Re: [PATCH 2/3] mmc: Add OF bindings support for mmc host controller capabilities

2011-10-11 Thread Thomas Abraham
On 11 October 2011 21:59, Stephen Warren wrote: > Thomas Abraham wrote at Sunday, October 09, 2011 12:58 AM: >> On 5 October 2011 21:25, Stephen Warren wrote: >> > Thomas Abraham wrote at Wednesday, October 05, 2011 8:28 AM: >> >> On 5 October 2011 18:59, Rob He

Re: [PATCH v6 09/10] ARM: S5PC100: Modify platform data for pl330 driver

2011-10-11 Thread Thomas Abraham
Hi Anca, On 12 October 2011 09:41, Anca Emanuel wrote: > On Mon, Oct 10, 2011 at 9:15 PM, Thomas Abraham > wrote: > > >> +u8 pdma1_peri[] = { >> +       DMACH_UART0_RX, >> +       DMACH_UART0_TX, >> +       DMACH_UART1_RX, >> +      

Re: [PATCH v6 03/10] ARM: EXYNOS4: Modify platform data for pl330 driver

2011-10-11 Thread Thomas Abraham
Dear Mr. Kim, On 10 October 2011 23:45, Thomas Abraham wrote: > With the 'struct dma_pl330_peri' removed, the platfrom data for dma > driver can be simplified to a simple list of peripheral request ids. > > Cc: Jassi Brar > Cc: Boojin Kim > Signed-off-by: Thomas Abr

Re: [PATCH v6 03/10] ARM: EXYNOS4: Modify platform data for pl330 driver

2011-10-12 Thread Thomas Abraham
Dear Boojin Kim, 2011/10/12 Boojin Kim : > Thomas Abraham wrote: >> >> Dear Mr. Kim, >> >> On 10 October 2011 23:45, Thomas Abraham >> wrote: >> > With the 'struct dma_pl330_peri' removed, the platfrom data for dma >> > driver

[PATCH v7 03/10] ARM: EXYNOS4: Modify platform data for pl330 driver

2011-10-12 Thread Thomas Abraham
With the 'struct dma_pl330_peri' removed, the platfrom data for dma driver can be simplified to a simple list of peripheral request ids. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham Acked-by: Kukjin Kim Acked-by: Grant Likely Acked-by: Boojin Kim --- arch/arm/ma

[PATCH v7 09/10] ARM: S5PC100: Modify platform data for pl330 driver

2011-10-12 Thread Thomas Abraham
With the 'struct dma_pl330_peri' removed, the platfrom data for dma driver can be simplified to a simple list of peripheral request ids. Cc: Jassi Brar Cc: Boojin Kim Signed-off-by: Thomas Abraham Acked-by: Boojin Kim --- arch/arm/mach-s5pc100/dm

Re: [PATCH] gpio: exynos4: Add device tree support

2011-10-12 Thread Thomas Abraham
On 12 October 2011 20:41, Rob Herring wrote: > On 10/11/2011 11:06 AM, Thomas Abraham wrote: >> On 11 October 2011 21:00, Rob Herring wrote: >>> On 10/11/2011 10:19 AM, Thomas Abraham wrote: >>>> Hi Rob, >>>> >>>> On 11 October 2011 20:41,

Re: [PATCH 1/3] ARM: Samsung: Move timer irq numbers to end of linux irq space

2011-10-12 Thread Thomas Abraham
On 12 October 2011 21:40, Rob Herring wrote: > On 10/10/2011 03:11 AM, Thomas Abraham wrote: >> All of Samsung's s5p platforms have timer irqs statically mapped from linux >> irq numbers 11 to 15. These timer irqs are moved to end of the statically >> mapped linux irq s

Re: [PATCH 2/3] ARM: Exynos4: Add ioremap interceptor for statically remapped regions

2011-10-12 Thread Thomas Abraham
On 12 October 2011 21:43, Rob Herring wrote: > On 10/10/2011 03:11 AM, Thomas Abraham wrote: >> ioremap() request for statically remapped regions are intercepted and the >> statically assigned virtual address is returned. For requests for which >> there are no statically

Re: [PATCH 2/3] ARM: Exynos4: Add ioremap interceptor for statically remapped regions

2011-10-12 Thread Thomas Abraham
On 12 October 2011 22:00, Thomas Abraham wrote: > On 12 October 2011 21:43, Rob Herring wrote: >> On 10/10/2011 03:11 AM, Thomas Abraham wrote: >>> ioremap() request for statically remapped regions are intercepted and the >>> statically assigned virtual address is

Re: [PATCH] gpio: exynos4: Add device tree support

2011-10-12 Thread Thomas Abraham
On 13 October 2011 06:31, Grant Likely wrote: > On Wed, Oct 12, 2011 at 09:45:25PM +0530, Thomas Abraham wrote: >> On 12 October 2011 20:41, Rob Herring wrote: >> > On 10/11/2011 11:06 AM, Thomas Abraham wrote: >> >> On 11 October 2011 21:00, Rob Herring wrote:

Re: [PATCH 1/3] ARM: Samsung: Move timer irq numbers to end of linux irq space

2011-10-21 Thread Thomas Abraham
the 3.2 merge window. Thanks, Thomas. > > Best regards, > Changhwan Youn > > On 10/10/2011 03:11 AM, Thomas Abraham wrote: >> All of Samsung's s5p platforms have timer irqs statically mapped from linux >> irq numbers 11 to 15. These timer irqs are moved to end

[PATCH v2] gpio/samsung: Add device tree support for Exynos4

2011-10-31 Thread Thomas Abraham
: Thomas Abraham Acked-by: Grant Likely --- Changes since v1: - As suggested by Rob and Grant, the gpio controller node lookup is based on the base address of the gpio controller instead of the unique per-controller compatible property value. This patch is based on the following tree and branch

ARM: Exynos4: Enable device tree support for GIC controller

2011-10-31 Thread Thomas Abraham
h 3 adds device tree support for GIC controllers on Exynos4. For GIC controller, this patch is based on Rob Herring's, "[PATCH 0/3] GIC OF bindings" patchset. This patchset is based on the following tree: git://git.linaro.org/git/people/arnd/arm-soc.git branch: for-next Thomas Abr

[PATCH v2 1/3] ARM: Exynos4: Move timer irq numbers to end of linux irq space

2011-10-31 Thread Thomas Abraham
for Exynos4. A new macro 'IRQ_TIMER_BASE' specifies a platform specific base of the linux virq number for the timer interrupts. For exynos4, this base is set to end of the linux virq space. For the other s5p platforms, the existing base '11' is retained. Signed-off-by: Thoma

[PATCH v2 2/3] ARM: Exynos4: Add ioremap interceptor for statically remapped regions

2011-10-31 Thread Thomas Abraham
ioremap() request for statically remapped regions are intercepted and the statically assigned virtual address is returned. For requests for which there are no statically remapped regions, the requests are let through. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/cpu.c

[PATCH v2 3/3] ARM: Exynos4: Enable conversion of GIC dt irq specifier to linux virq

2011-10-31 Thread Thomas Abraham
Enable conversion of device tree interrupt specifier to linux virq domain for GIC controller. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/cpu.c | 17 - 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-exynos4/cpu.c b/arch/arm/mach

[PATCH v2 0/2] ARM: Samsung: Add basic device tree support for Exynos4 boards

2011-10-31 Thread Thomas Abraham
port on these boards, migrate other existing Exynos4 based boards to use device tree and enable device tree based boot on new upcoming boards. This patchset has been tested on the following tree: git://git.linaro.org/git/people/arnd/arm-soc.git branch: for-next Thomas Abraham (2): ARM: Samsung: Add

[PATCH v2 1/2] ARM: Samsung: Add Exynos4 device tree enabled board file

2011-10-31 Thread Thomas Abraham
the kernel. Signed-off-by: Thomas Abraham Acked-by: Grant Likely --- .../devicetree/bindings/arm/insignal-boards.txt|8 ++ .../devicetree/bindings/arm/samsung-boards.txt |8 ++ arch/arm/mach-exynos4/Kconfig | 14 +++ arch/arm/mach-exynos

[PATCH v2 2/2] ARM: dts: Add intial dts file for Exynos4210 SoC, SMDKV310 and Origen board

2011-10-31 Thread Thomas Abraham
Signed-off-by: Thomas Abraham Acked-by: Grant Likely --- arch/arm/boot/dts/exynos4210-origen.dts | 137 ++ arch/arm/boot/dts/exynos4210-smdkv310.dts | 182 + arch/arm/boot/dts/exynos4210.dtsi | 397 + 3 files changed, 716 insert

Re: [PATCH v2] gpio/samsung: Add device tree support for Exynos4

2011-11-02 Thread Thomas Abraham
Hi Sylwester, On 1 November 2011 13:52, Sylwester Nawrocki wrote: > Hi Thomas, > > thanks for your work on this. > > On 11/01/2011 01:43 AM, Thomas Abraham wrote: >> As gpio chips get registered, a device tree node which represents the >> gpio chip is searched and

Re: [PATCH v2] gpio/samsung: Add device tree support for Exynos4

2011-11-02 Thread Thomas Abraham
Hi Mr. Kim, On 2 November 2011 17:25, Kukjin Kim wrote: > Thomas Abraham wrote: >> >> As gpio chips get registered, a device tree node which represents the >> gpio chip is searched and attached to it. A translate function is also >> provided to convert the gpio spe

[PATCH 1/6] mmc: sdhci-s3c: Remove usage of clk_type member in platform data

2011-11-02 Thread Thomas Abraham
n platform data is removed and the sdhci quirk is used. In addition to that, since this qurik is SoC specific, driver data is introduced to represent controllers on SoC's that require this quirk. Cc: Ben Dooks Cc: Jeongbae Seo Signed-off-by: Thomas Abraham --- drivers/mmc/host/sdh

[PATCH 0/6] mmc: sdhci-s3c: Rework platform data and add device tree support.

2011-11-02 Thread Thomas Abraham
sable across other platforms as well. The last patch adds device tree based discovery for the sdhci-s3c driver. In this patchset, the comments from Rob Herring for the fifth patch in this series has been addressed. This patchset is based on the following tree. https://github.com/kgene/linux-samsung.

[PATCH 2/6] arm: exynos4: use 'exynos4-sdhci' as device name for sdhci controllers

2011-11-02 Thread Thomas Abraham
With the addition of platform specific driver data in the sdhci driver for exynos4, the device name of sdhci controllers on exynos4 is changed accordingly. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/clock.c | 24 arch/arm/mach

<    1   2   3   4   5   6   7   8   9   10   >