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

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

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
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 > ++

[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

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

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 >

[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

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

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

[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

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

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

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

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

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

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

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

[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

[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 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 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 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 4/9] serial: samsung: remove struct 's3c24xx_uart_clksrc' and all uses of it

2011-09-26 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 can be removed. Cc: Ben Dooks Cc: Ramax Lo Cc: Vasily Khoruzhick Signed-off-by: Thomas Abraham --- arch/arm/mach-exyn

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

2011-09-26 Thread Thomas Abraham
t clock as baud rate clock is reworked. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- arch/arm/plat-samsung/include/plat/regs-serial.h |5 + drivers/tty/serial/samsung.c | 207 +- drivers/tty/serial/samsung.h |4 + 3 files ch

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

2011-09-26 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 1/9] serial: samsung: Keep a copy of the location of platform data in driver's private data

2011-09-26 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

serial: samsung: add clkdev based clock lookup and device tree support

2011-09-26 Thread Thomas Abraham
ng from plaform code and tested on the following boards. SMDK2440, SMDK2416, SMDK6410, SMDK6440, SMDK6450, SMDKC100, SMDKV210, SMDKV310. Thomas Abraham (9): serial: samsung: Keep a copy of the location of platform data in driver's private data serial: samsung: move handling of fclk/n cl

Re: [PATCH v2 0/2] Move sdhci-s3c platform helper into driver

2011-09-21 Thread Thomas Abraham
On 21 September 2011 16:21, Kukjin Kim wrote: > Thomas Abraham wrote: >> >> Changes since v1: >> - Rebased with 'for-next' branch of >>   http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git >>   (tested with commit id a08b7e1981118130

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

2011-09-20 Thread Thomas Abraham
ed not determine clock rate of fclk/n. Cc: Ben Dooks Cc: Vasily Khoruzhick Signed-off-by: Thomas Abraham --- In order to add clkdev based clock lookup (moving away from passing clock names in platform data) for the Samsung UART driver, some portions of this driver have to be first simplified.

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

2011-09-19 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 --- .../devicetree/bindings/input/samsung-keypad.txt | 88 ++ drivers/input/keyboard/samsung-keypad.c| 179 ++

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

2011-09-19 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 v3 0/2] Add device tree support for Samsung's keypad controller driver

2011-09-19 Thread Thomas Abraham
ig option to be used by 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 d

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

2011-09-18 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 5/6] ARM: SAMSUNG: Add device tree support for pl330 dma engine wrappers

2011-09-18 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 4/6] DMA: PL330: Add device tree support

2011-09-18 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 3/6] ARM: EXYNOS4: Modify platform data for pl330 driver

2011-09-18 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 2/6] DMA: PL330: Infer transfer direction from transfer request instead of platform data

2011-09-18 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 1/6] DMA: PL330: move filter function into driver

2011-09-18 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 v4 0/6] Add device tree support for PL330 dma controller driver

2011-09-18 Thread Thomas Abraham
MA clock. * ARM: SAMSUNG: register the second instance of PL330 DMAC (3 patches) This patchset has been tested for both device-tree and non-device-tree based linux 3.1-rc6 kernel. Thomas Abraham (6): DMA: PL330: move filter function into driver DMA: PL330: Infer transfer direction from tra

Re: [PATCH v3 0/2] Add device tree support for Samsung's I2C driver

2011-09-14 Thread Thomas Abraham
Hi Ben, On 15 September 2011 02:43, Ben Dooks wrote: > On Tue, Sep 13, 2011 at 09:46:03AM +0530, Thomas Abraham wrote: >> This patchset adds device tree support for Samsung's I2C driver. > > I've applied these after a brief review. I'll give them a better > revie

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

2011-09-14 Thread Thomas Abraham
On 15 September 2011 00:40, Grant Likely wrote: > On Wed, Sep 14, 2011 at 12:09 PM, Thomas Abraham > wrote: >> On 14 September 2011 22:43, Grant Likely wrote: >>> On Wed, Sep 14, 2011 at 10:19:22PM +0530, Thomas Abraham wrote: >>>> On 14 September 2011 21:41, G

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

2011-09-14 Thread Thomas Abraham
Hi Grant, On 14 September 2011 22:43, Grant Likely wrote: > On Wed, Sep 14, 2011 at 10:19:22PM +0530, Thomas Abraham wrote: >> Hi Grant, >> >> On 14 September 2011 21:41, Grant Likely wrote: >> > On Tue, Sep 13, 2011 at 05:56:19PM +0530, Thomas Abraham wrot

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

2011-09-14 Thread Thomas Abraham
Hi Grant, On 14 September 2011 21:56, Grant Likely wrote: > On Mon, Sep 12, 2011 at 11:59:25PM +0530, Thomas Abraham wrote: >> The pl330 device instances and associated platform data is required only >> for non-device-tree builds. With device tree enabled, the data about the

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

2011-09-14 Thread Thomas Abraham
Hi Grant, On 14 September 2011 21:54, Grant Likely wrote: > On Mon, Sep 12, 2011 at 11:59:23PM +0530, Thomas Abraham wrote: >> For PL330 dma controllers instantiated from device tree, the channel >> lookup is based on phandle of the dma controller and dma request id >> sp

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

2011-09-14 Thread Thomas Abraham
Hi Grant, On 14 September 2011 21:41, Grant Likely wrote: > On Tue, Sep 13, 2011 at 05:56:19PM +0530, Thomas Abraham wrote: >> Add device tree based discovery support for Samsung's keypad controller. >> >> Cc: Joonyoung Shim >> Cc: Donghwa Lee

[PATCH v2 2/2] arm: samsung: remove sdhci default configuration setup platform helper

2011-09-14 Thread Thomas Abraham
The sdhci platform helper function that sets up the default controller configuration is removed for all Samsung platforms since such default controller configuration can be handled by the driver. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/setup-sdhci.c| 47

[PATCH v2 1/2] mmc: sdhci-s3c: add default controller configuration

2011-09-14 Thread Thomas Abraham
The default controller configuration which was previously setup by platform helper functions is moved into the driver. Cc: Ben Dooks Signed-off-by: Thomas Abraham --- drivers/mmc/host/sdhci-s3c.c | 28 +--- 1 files changed, 17 insertions(+), 11 deletions(-) diff

[PATCH v2 0/2] Move sdhci-s3c platform helper into driver

2011-09-14 Thread Thomas Abraham
Changes since v1: - Rebased with 'for-next' branch of http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git (tested with commit id a08b7e19811181309da2306338027fe1d3f8001d at the tip of the for-next branch, not sure if there have been further commits after that). The platf

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

2011-09-13 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 --- .../devicetree/bindings/input/samsung-keypad.txt | 88 ++ drivers/input/keyboard/samsung-keypad.c| 177 ++

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

2011-09-13 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 v2 0/2] Add device tree support for Samsung's keypad controller driver

2011-09-13 Thread Thomas Abraham
evice 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 .../devi

[PATCH v3 2/2] i2c: s3c2410: Add device tree support

2011-09-12 Thread Thomas Abraham
Add device tree probe support for Samsung's s3c2410 i2c driver. Cc: Ben Dooks Signed-off-by: Thomas Abraham Acked-by: Grant Likely --- .../devicetree/bindings/i2c/samsung-i2c.txt| 39 +++ drivers/i2c/busses/i2c-s3c2410.c | 110 +++- 2

[PATCH v3 1/2] i2c: s3c2410: Keep a copy of platform data and use it

2011-09-12 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 i2c-s3c2410 driver. Cc: Ben Dooks Signed-off-by: Thomas Abraham Acked-by: Grant Likely --- drivers/i2c/busses/i2c-s3

[PATCH v3 0/2] Add device tree support for Samsung's I2C driver

2011-09-12 Thread Thomas Abraham
x settings using the pinmux api. Thomas Abraham (2): i2c: s3c2410: Keep a copy of platform data and use it i2c: s3c2410: Add device tree support .../devicetree/bindings/i2c/samsung-i2c.txt| 39 ++ drivers/i2c/busses/i2c-s3c2410.c | 128 ++-

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

2011-09-12 Thread Thomas Abraham
amba device registrations is applicable to only non-dt platforms. Cc: Kukjin Kim Cc: Kyungmin Park Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos4/Kconfig | 10 ++ arch/arm/mach-exynos4/Makefile |3 ++- arch/arm/mach-exynos4/dma.c|6 ++ 3 files changed, 18

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

2011-09-12 Thread Thomas Abraham
y value as the value for the filter parameter. Signed-off-by: Thomas Abraham Acked-by: Kukjin Kim --- 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 |3 ++- 3 files changed,

<    7   8   9   10   11   12   13   14   15   >