[PATCH 04/20] ARM: EXYNOS: Modify the GIC physical address for static io-mapping

2012-04-30 Thread Thomas Abraham
From: Changhwan Youn Adapt to changes in GIC physical address in rev1 of EXYNOS5. Signed-off-by: Changhwan Youn Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/common.c |4 ++-- arch/arm/mach-exynos/include/mach/map.h |4 ++-- 2 files

[PATCH 03/20] ARM: EXYNOS: fix ctrlbit for exynos5_clk_pdma1

2012-04-30 Thread Thomas Abraham
From: Kukjin Kim It should be (1 << 2) for ctrlbit of exynos5_clk_pdma1. Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/clock-exynos5.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock-exynos5.c ind

[PATCH 02/20] ARM: EXYNOS: Support DMA for EXYNOS5250 SoC

2012-04-30 Thread Thomas Abraham
From: Boojin Kim mach-exynos/dma.c is updated to support both exynos4 and exynos5. Signed-off-by: Boojin Kim [kgene@samsung.com: re-worked on top of v3.4-rc3] Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/Kconfig |7 +- arch/arm/mach-exynos/Makefile

[PATCH 01/20] ARM: EXYNOS: Add watchdog timer clock instance

2012-04-30 Thread Thomas Abraham
Add watchdog timer clock instance for EXYNOS5 watchdog controller. Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/clock-exynos5.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach

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

2012-04-30 Thread Thomas Abraham
t mux clocks for bpll and mpll Kukjin Kim (2): ARM: EXYNOS: fix ctrlbit for exynos5_clk_pdma1 ARM: EXYNOS: update irqs for EXYNOS5250 evt1 Sangsu Park (1): ARM: EXYNOS: add GPC4 bank instance Thomas Abraham (13): ARM: EXYNOS: Add watchdog timer clock instance ARM: Exynos: Remove a new bus

[PATCH v5 2/2] regulator: add device tree support for max8997

2012-04-18 Thread Thomas Abraham
Add device tree based discovery support for max8997. Cc: Karol Lewandowski Cc: Rajendra Nayak Cc: Rob Herring Cc: Grant Likely Signed-off-by: Thomas Abraham Acked-by: MyungJoo Ham --- .../devicetree/bindings/regulator/max8997-pmic.txt | 147 +++ drivers/mfd/max8997.c

[PATCH v5 1/2] mfd: add irq domain support for max8997 interrupts

2012-04-18 Thread Thomas Abraham
max8997 driver private data are removed. Cc: Karol Lewandowski Cc: MyungJoo Ham Signed-off-by: Thomas Abraham Acked-by: Grant Likely --- arch/arm/mach-exynos/mach-nuri.c|4 -- arch/arm/mach-exynos/mach-origen.c |1 - drivers/mfd/max8997-irq.c | 70

[PATCH v5 0/2] regulator: add irq domain and device tree support for MAX8997

2012-04-18 Thread Thomas Abraham
hset has been tested on Origen board. Thomas Abraham (2): mfd: add irq domain support for max8997 interrupts regulator: add device tree support for max8997 .../devicetree/bindings/regulator/max8997-pmic.txt | 147 +++ arch/arm/mach-exynos/mach-nuri.c |4

Re: [PATCH v4 2/2] regulator: add device tree support for max8997

2012-04-18 Thread Thomas Abraham
Hi Mark, On 18 April 2012 00:08, Mark Brown wrote: > On Wed, Apr 18, 2012 at 12:05:59AM +0530, Thomas Abraham wrote: >> On 28 March 2012 22:33, Karol Lewandowski wrote: > >> >> +    For BUCK's: > > No 's here, BTW. Ok. > >> >  - EN32KHz_AP

Re: [PATCH v4 2/2] regulator: add device tree support for max8997

2012-04-17 Thread Thomas Abraham
On 28 March 2012 22:33, Karol Lewandowski wrote: > On 24.03.2012 10:49, Thomas Abraham wrote: > > Hi Thomas! > >> Add device tree based discovery support for max8997. > ... >> +Regulators: The regulators of max8997 that have to be instantiated should be >&

Re: [PATCH v4 1/2] mfd: add irq domain support for max8997 interrupts

2012-04-17 Thread Thomas Abraham
On 31 March 2012 03:36, Grant Likely wrote: > On Sat, 24 Mar 2012 15:19:49 +0530, Thomas Abraham > wrote: >> Add irq domain support for max8997 interrupts. The reverse mapping method >> used is linear mapping since the sub-drivers of max8997 such as regulator >> and cha

Re: [PATCH 06/12] rtc-s3c: Fix breakage introduced by S3C2443/S3C2416 support

2012-04-17 Thread Thomas Abraham
On 17 April 2012 13:55, Kyungmin Park wrote: > On 4/17/12, Thomas Abraham wrote: >> On 17 April 2012 12:00, Kyungmin Park wrote: >>> Hi, >>> >>> It's already merged with different patch, >> >> This is a repost of the patch from Heiko Stuebne

Re: [PATCH 08/12] gpio/samsung: add GPC4 bank instance

2012-04-17 Thread Thomas Abraham
On 17 April 2012 12:03, Kyungmin Park wrote: > On 4/17/12, Thomas Abraham wrote: >> From: Sangsu Park >> >> Add GPC4 bank instance which is included in rev1 of Exynos5. >> >> Cc: Grant Likely >> Signed-off-by: Sangsu Park >> --- >&g

Re: [PATCH 07/12] ARM: Exynos5: Modify the GIC physical address for static io-mapping

2012-04-17 Thread Thomas Abraham
On 17 April 2012 12:01, Kyungmin Park wrote: > Hi, > > On 4/17/12, Thomas Abraham wrote: >> From: Changhwan Youn >> >> Adapt to changes in GIC physical address in rev1 of Exynos5. > > Does it different from rev0 and rev1? and does it support the rev1 only? The

Re: [PATCH 06/12] rtc-s3c: Fix breakage introduced by S3C2443/S3C2416 support

2012-04-17 Thread Thomas Abraham
_data_array[TYPE_S3C2443], >        }, { >                .compatible = "samsung,s3c6410-rtc", >                .data = &s3c_rtc_drv_data_array[TYPE_S3C64XX], >        }, >        {}, > }; > MODULE_DEVICE_TABLE(of, s3c_rtc_dt_match); > #else > #define s3c_rtc_dt_match NULL > #en

Re: [PATCH 03/12] ARM: Exynos5: Add watchdog timer clock instance

2012-04-17 Thread Thomas Abraham
On 17 April 2012 11:44, Kyungmin Park wrote: > On 4/17/12, Thomas Abraham wrote: >> Add watchdog timer clock instance for Exynos5 watchdog controller. >> >> Signed-off-by: Thomas Abraham >> --- >>  arch/arm/mach-exynos/clock-exynos5.c |    5 + >&g

[PATCH 12/12] ARM: Exynos5: Update device tree enabled machine file

2012-04-16 Thread Thomas Abraham
Add AUXDATA for i2c and MDMA controllers of Exynos5. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/mach-exynos5-dt.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c index

[PATCH 11/12] ARM: Exynos5: Update device tree source files

2012-04-16 Thread Thomas Abraham
Updated 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 --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 52 + arch

[PATCH 10/12] ARM: Exynos: Redefine IRQ_MCT_L0,1 definition

2012-04-16 Thread Thomas Abraham
From: Changhwan Youn Redefine IRQ_MCT_L0,1 irq definition as it is changed in rev1 of Exynos5. Signed-off-by: Changhwan Youn --- arch/arm/mach-exynos/include/mach/irqs.h |4 ++-- arch/arm/mach-exynos/mct.c | 17 +++-- 2 files changed, 13 insertions(+), 8 deletio

[PATCH 09/12] ARM: Exynos5: Add pre-divider and fout mux clocks for bpll and mpll

2012-04-16 Thread Thomas Abraham
From: Kisoo Yu The fout clock of BPLL and MPLL have a selectable source in rev1 of Exynos5. The clock options are a fixed divided by 2 clock and the output of the PLL itself. Add support for these new clock instances. Signed-off-by: Kisoo Yu --- arch/arm/mach-exynos/clock-exynos5.c |

[PATCH 08/12] gpio/samsung: add GPC4 bank instance

2012-04-16 Thread Thomas Abraham
From: Sangsu Park Add GPC4 bank instance which is included in rev1 of Exynos5. Cc: Grant Likely Signed-off-by: Sangsu Park --- arch/arm/mach-exynos/include/mach/gpio.h |9 ++--- drivers/gpio/gpio-samsung.c |8 2 files changed, 14 insertions(+), 3 deletions(-)

[PATCH 07/12] ARM: Exynos5: Modify the GIC physical address for static io-mapping

2012-04-16 Thread Thomas Abraham
From: Changhwan Youn Adapt to changes in GIC physical address in rev1 of Exynos5. Signed-off-by: Changhwan Youn --- arch/arm/mach-exynos/common.c |4 ++-- arch/arm/mach-exynos/include/mach/map.h |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/

[PATCH 06/12] rtc-s3c: Fix breakage introduced by S3C2443/S3C2416 support

2012-04-16 Thread Thomas Abraham
From: Heiko Stuebner Commits 7006ee4f (rtc-s3c: make room for more variants in devicetree block) and 6c0a2365 (rtc-s3c: add variants for S3C2443 and S3C2416) introduced build-failures with enabled CONFIG_USE_OF option. This patch fixes missing "," in s3c_rtc_dt_match and wrong handling of the of

[PATCH 05/12] ARM: Exynos5: Add MDMA0 clock instance

2012-04-16 Thread Thomas Abraham
Add clock instance for MDMA0 controller. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/clock-exynos5.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock-exynos5.c index fb95e9b..0230ba8

[PATCH 04/12] ARM: Exynos5: Remove duplicated instantiation of pdma clock

2012-04-16 Thread Thomas Abraham
The clock of both the peripheral dma controllers is controlled by a single clock gate. Hence remove the duplicate instantiation of the pdma clock. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/clock-exynos5.c | 17 - 1 files changed, 4 insertions(+), 13 deletions

[PATCH 03/12] ARM: Exynos5: Add watchdog timer clock instance

2012-04-16 Thread Thomas Abraham
Add watchdog timer clock instance for Exynos5 watchdog controller. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/clock-exynos5.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock-exynos5.c

[PATCH 02/12] ARM: Exynos5: Fix incorrect initialization of GIC

2012-04-16 Thread Thomas Abraham
Use the of_irq_init() call to setup the gic which also properly registers the gic device node pointer with gic irq domain, without which all interrupt specifier translations for gic fail. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/common.c |4 +++- 1 files changed, 3 insertions

[PATCH 01/12] ARM: Exynos: Remove a new bus_type instance for Exynos5

2012-04-16 Thread Thomas Abraham
: Thomas Abraham --- arch/arm/mach-exynos/common.c | 19 ++- 1 files changed, 2 insertions(+), 17 deletions(-) diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index e9e353b..636d5f8 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos

[PATCH 00/12] Updates for Exynos5250 Rev1.0 and device tree support

2012-04-16 Thread Thomas Abraham
static io-mapping ARM: Exynos: Redefine IRQ_MCT_L0,1 definition Heiko Stuebner (1): rtc-s3c: Fix breakage introduced by S3C2443/S3C2416 support Kisoo Yu (1): ARM: Exynos5: Add pre-divider and fout mux clocks for bpll and mpll Sangsu Park (1): gpio/samsung: add GPC4 bank instance Thomas

Re: [PATCH v4 2/2] regulator: add device tree support for max8997

2012-04-16 Thread Thomas Abraham
On 17 April 2012 00:21, Mark Brown wrote: > On Sat, Mar 24, 2012 at 03:19:50PM +0530, Thomas Abraham wrote: >> Add device tree based discovery support for max8997. > > I tried to apply this but it's collided with some other changes in the > driver which have arrived

[PATCH v2] video: s3c-fb: Add device tree support

2012-03-29 Thread Thomas Abraham
Add device tree based discovery support for Samsung's display controller framebuffer driver. Cc: Jingoo Han Cc: Grant Likely Cc: Rob Herring Signed-off-by: Thomas Abraham --- .../devicetree/bindings/fb/samsung-fb.txt | 148 + drivers/video/s3c

Re: [PATCH] ARM: Samsung: Make PM_GENERIC_DOMAINS config depend on CONFIG_PM

2012-03-28 Thread Thomas Abraham
On 28 March 2012 17:04, Mark Brown wrote: > On Wed, Mar 28, 2012 at 04:51:32PM +0530, Thomas Abraham wrote: >> On 28 March 2012 16:21, Mark Brown >> wrote: > >> > What's the underlying issue here?  This seems like something the PM core >> > shou

Re: [PATCH] ARM: Samsung: Make PM_GENERIC_DOMAINS config depend on CONFIG_PM

2012-03-28 Thread Thomas Abraham
On 28 March 2012 16:21, Mark Brown wrote: > On Tue, Mar 27, 2012 at 03:46:43PM +0530, Thomas Abraham wrote: >> For s3c64xx and exynos platforms, make the selection of PM_GENERIC_DOMAINS >> depend on the CONFIG_PM. > > What's the underlying issue here?  This seems

Re: [PATCH] of/irq: of_irq_init: Call initialization function for all controllers

2012-03-27 Thread Thomas Abraham
On 26 March 2012 21:06, Thomas Abraham wrote: > On 26 March 2012 18:34, Rob Herring wrote: >> Your fix doesn't really guarantee the proper order either. It's still a >> side effect of the implementation. Perhaps a retry mechanism would work. >> Then the init for w

[PATCH] ARM: Samsung: Make PM_GENERIC_DOMAINS config depend on CONFIG_PM

2012-03-27 Thread Thomas Abraham
For s3c64xx and exynos platforms, make the selection of PM_GENERIC_DOMAINS depend on the CONFIG_PM. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/Kconfig |2 +- arch/arm/mach-s3c64xx/Kconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach

[PATCH] ARM: Samsung: Make PM_GENERIC_DOMAINS config depend on CONFIG_PM

2012-03-27 Thread Thomas Abraham
For s3c64xx and exynos platforms, make the selection of PM_GENERIC_DOMAINS depend on the CONFIG_PM. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/Kconfig |2 +- arch/arm/mach-s3c64xx/Kconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach

[PATCH 4/4] ARM: Exynos5: Add PDMA and MDMA physical base address defines

2012-03-27 Thread Thomas Abraham
Add PDMA and MDMA physical base address macros which is require for Exynos5 of_dev_auxdata setup. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/include/mach/map.h |5 + arch/arm/mach-exynos/mach-exynos5-dt.c |3 ++- 2 files changed, 7 insertions(+), 1 deletions(-) diff

[PATCH 3/4] ARM: Exynos5: Fix incorrect initialization of GIC

2012-03-27 Thread Thomas Abraham
Use the of_irq_init() call to setup the gic which also properly registers the gic device node pointer with gic irq domain, without which all interrupt specifier translations for gic fail. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/common.c |2 +- 1 files changed, 1 insertions

[PATCH 2/4] ARM: Exynos: Remove a new bus_type instance for Exynos5

2012-03-27 Thread Thomas Abraham
: Thomas Abraham --- arch/arm/mach-exynos/common.c | 19 ++- 1 files changed, 2 insertions(+), 17 deletions(-) diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index a750a5d..f265dc4 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos

[PATCH 1/4] ARM: Exynos: Use CHIP_ID to detect cpu type during decompression setup

2012-03-27 Thread Thomas Abraham
the chip id to determine the cpu type and setup the uart_base accordingly. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/include/mach/uncompress.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-exynos/include/mach/uncompress.h b/arch/arm

[PATCH 0/4] ARM: Exynos: Fixes for Exynos5 device tree support

2012-03-27 Thread Thomas Abraham
This series includes general fixes for Exynos5 device tree support. This is based on the following tree. Both Exynos4 and Exynos5 device tree support have been tested when this series. http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git [for-next] Thomas Abraham (4): ARM

Re: [PATCH] of/irq: of_irq_init: Call initialization function for all controllers

2012-03-26 Thread Thomas Abraham
On 26 March 2012 18:34, Rob Herring wrote: > On 03/25/2012 11:16 AM, Thomas Abraham wrote: >> On 25 March 2012 20:50, Rob Herring wrote: >>> On 03/25/2012 07:38 AM, Thomas Abraham wrote: >>>> The of_irq_init function stops processing the interrupt controller >

Re: [PATCH v4 05/12] ARM: EXYNOS: add support uart for EXYNOS4 and EXYNOS5

2012-03-26 Thread Thomas Abraham
2012/3/22 Kukjin Kim : > On 03/21/12 03:45, Marek Szyprowski wrote: >> >> Hello, >> >> On Wednesday, March 21, 2012 10:14 AM Thomas Abraham wrote: >> >>> On 14 March 2012 20:12, Kukjin Kim  wrote: >>>> >>>> Actually, the base addr

[PATCH v3 2/2] ARM: Exynos: Use lcd power control driver for lcd panel

2012-03-26 Thread Thomas Abraham
The Hydis hv070wsa lcd panel used with the Origen board uses a gpio for reset and the Vcc supply to the panel can be controlled using a voltage regulator. Switch to using the lcd power control driver for controlling the power to the lcd panel. Signed-off-by: Thomas Abraham --- arch/arm/mach

[PATCH v3 1/2] backlight: lcd: add driver for raster-type lcd's with gpio controlled panel reset

2012-03-26 Thread Thomas Abraham
pport for lcd panels that use a serial command interface or direct memory mapped IO interface. Suggested-by: Lars-Peter Clausen Signed-off-by: Thomas Abraham --- .../devicetree/bindings/lcd/lcd-pwrctrl.txt| 36 +++ drivers/video/backlight/Kconfig|7 + drivers/

[PATCH v3 0/2] Add lcd driver for panels with gpio controlled panel reset

2012-03-26 Thread Thomas Abraham
use this driver for lcd power control. The first patch adds driver for passive raster-type lcd's with gpio controlled panel reset. It includes support for both dt and non-dt platforms. The second patch adds support for using this driver on Origen board. Thomas Abraham (2): backlight: lcd

Re: [PATCH] of/irq: of_irq_init: Call initialization function for all controllers

2012-03-25 Thread Thomas Abraham
On 25 March 2012 20:50, Rob Herring wrote: > On 03/25/2012 07:38 AM, Thomas Abraham wrote: >> The of_irq_init function stops processing the interrupt controller hierarchy >> when there are no more interrupt controller parents identified. Though this >> condition suffices

[PATCH v2] of/irq: add empty irq_of_parse_and_map() for non-dt builds

2012-03-25 Thread Thomas Abraham
config option that makes the irq_of_parse_and_map() function definition available. While at it, fix a typo as well. Suggested-by: Grant Likely Signed-off-by: Thomas Abraham Acked-by: Rob Herring Acked-by: Grant Likely --- Changes since v1: - Moved irq_of_parse_and_map() function declaration under

[PATCH] of/irq: of_irq_init: Call initialization function for all controllers

2012-03-25 Thread Thomas Abraham
rrupt controller node's descriptor can be identified and its 'logical' parent in the descriptor is set as NULL. The processing of interrupt hierarchy is then restarted by looking for descriptors which have a NULL interrupt parent. Cc: Rob Herring Cc: Grant Likely Signed-off-by: Thomas Abra

Re: Device node for a controller with two interrupt parents

2012-03-25 Thread Thomas Abraham
On 25 March 2012 00:37, Grant Likely wrote: > On Fri, 23 Mar 2012 16:18:09 +0530, Thomas Abraham > wrote: >> Hi Grant, >> >> On 21 March 2012 20:43, Grant Likely wrote: >> > Okay, so you're saying there are three important aspects to this >> >

[PATCH v3 4/4] ARM: Samsung: Rework platform data of s3c-fb driver

2012-03-24 Thread Thomas Abraham
on Kim Cc: Kukjin Kim Cc: Heiko Stuebner Cc: Ben Dooks Cc: Kwangwoo Lee Cc: Mark Brown Cc: Peter Korsgaard Cc: Darius Augulis Cc: Maurus Cuelenaere Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/mach-nuri.c | 26 -- arch/arm/mach-exynos/mach-origen.c

[PATCH v3 3/4] ARM: s3c64xx: Decouple lcd type from display controller window data

2012-03-24 Thread Thomas Abraham
Signed-off-by: Thomas Abraham --- arch/arm/mach-s3c64xx/mach-mini6410.c | 82 +--- arch/arm/mach-s3c64xx/mach-real6410.c | 82 +--- 2 files changed, 88 insertions(+), 76 deletions(-) diff --git a/arch/arm/mach-s3c64xx/mach-mini6410.c b

[PATCH v3 2/4] video: s3c-fb: remove 'default_win' element from platform data

2012-03-24 Thread Thomas Abraham
Ben Dooks Signed-off-by: Jingoo Han Signed-off-by: Thomas Abraham --- arch/arm/plat-samsung/include/plat/fb.h |2 -- drivers/video/s3c-fb.c | 25 + 2 files changed, 5 insertions(+), 22 deletions(-) diff --git a/arch/arm/plat-samsung/include/plat/fb.h

[PATCH v3 1/4] video: s3c-fb: move video interface timing out of window setup data

2012-03-24 Thread Thomas Abraham
also removes the restriction that atleast one window should have the same resolution as that of the panel attached. Cc: Ben Dooks Signed-off-by: Thomas Abraham Acked-by: Jingoo Han --- arch/arm/plat-samsung/include/plat/fb.h |9 ++- drivers/video/s3c-fb.c | 112

[PATCH v3 0/4] video: s3c-fb: Rearrange the elements in platform data

2012-03-24 Thread Thomas Abraham
l patches merged from https://github.com/schandinat/linux-2.6.git [fbdev-next] and tested one Exynos4210 based Origen board (only compile tested for other boards) Thomas Abraham (4): video: s3c-fb: move video interface timing out of window setup data video: s3c-fb: remove 'default_win' e

[PATCH v4 2/2] regulator: add device tree support for max8997

2012-03-24 Thread Thomas Abraham
Add device tree based discovery support for max8997. Cc: MyungJoo Ham Cc: Rajendra Nayak Cc: Rob Herring Cc: Grant Likely Signed-off-by: Thomas Abraham --- .../devicetree/bindings/regulator/max8997-pmic.txt | 133 ++ drivers/mfd/max8997.c | 73

[PATCH v4 1/2] mfd: add irq domain support for max8997 interrupts

2012-03-24 Thread Thomas Abraham
max8997 driver private data are removed. Cc: MyungJoo Ham Signed-off-by: Thomas Abraham Acked-by: Grant Likely --- arch/arm/mach-exynos/mach-nuri.c|4 -- arch/arm/mach-exynos/mach-origen.c |1 - drivers/mfd/max8997-irq.c | 61 -- drivers/mfd

[PATCH v4 0/2] regulator: add irq domain and device tree support for MAX8997

2012-03-24 Thread Thomas Abraham
xt] http://git.secretlab.ca/git/linux-2.6.git [irqdomain/next] and depends on the following patchset. [PATCH v4 0/4] ARM: Exynos4: Add irq domain and device tree support for wakeup interrupts. This patchset has been tested on Origen board. Thomas Abraham (2): mfd: add irq domain support for max8997 in

[PATCH v4 4/4] ARM: Exynos: Add device tree support for gpio wakeup interrupt controller

2012-03-24 Thread Thomas Abraham
Add device tree support for gpio wakeup source interrupt controller for Exynos platforms. Cc: Rob Herring Cc: Grant Likely Signed-off-by: Thomas Abraham --- .../bindings/arm/samsung/wakeup-eint.txt | 152 arch/arm/mach-exynos/common.c

[PATCH v4 3/4] ARM: Exynos: Remove arch_initcall for wakeup interrupt initialization

2012-03-24 Thread Thomas Abraham
the exynos4_init_irq for non-dt case. Moreover, with single kernel image build, the exynos4_init_irq_eint has no checks to ensure that it is running on a exynos4 platform. So it would be appropriate to invoke it from exynos4_init_irq. Signed-off-by: Thomas Abraham Acked-by: Rob Herring

[PATCH v4 2/4] ARM: Exynos: Add irq_domain support for gpio wakeup interrupts

2012-03-24 Thread Thomas Abraham
Likely Signed-off-by: Thomas Abraham Acked-by: Rob Herring --- arch/arm/mach-exynos/common.c | 67 + arch/arm/mach-exynos/include/mach/regs-gpio.h |4 +- 2 files changed, 48 insertions(+), 23 deletions(-) diff --git a/arch/arm/mach-exynos/common.c b

[PATCH v4 1/4] ARM: Exynos: Simplify the wakeup interrupt setup code

2012-03-24 Thread Thomas Abraham
Simplify the wakeup interrupt setup code in order to add irq domain and device tree support. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/common.c | 32 +++- 1 files changed, 11 insertions(+), 21 deletions(-) diff --git a/arch/arm/mach

[PATCH v4 0/4] ARM: Exynos4: Add irq domain and device tree support for wakeup interrupts

2012-03-24 Thread Thomas Abraham
with all patches merged from http://git.secretlab.ca/git/linux-2.6.git [irqdomain/next] This patchset should be applied after applying the following patch. [PATCH v5] ARM: Exynos: Add irq domain and device tree support for interrupt combiner Thomas Abraham (4): ARM: Exynos: Simplify the w

[PATCH v5 2/2] ARM: Exynos: Add device tree support for interrupt combiner

2012-03-24 Thread Thomas Abraham
Add device tree based instantiation of the interrupt combiner controller. Signed-off-by: Thomas Abraham Acked-by: Rob Herring Acked-by: Grant Likely --- .../bindings/arm/samsung/interrupt-combiner.txt| 52 + arch/arm/mach-exynos/common.c | 61

[PATCH v5 1/2] ARM: Exynos: Add irq_domain support for interrupt combiner

2012-03-24 Thread Thomas Abraham
Add irq_domain support for hardware interrupts of the interrupt combiner. The hardware interrupts of all the instances of the combiner are grouped in a single irq_domain. Cc: Grant Likely Signed-off-by: Thomas Abraham Acked-by: Rob Herring --- arch/arm/mach-exynos/common.c | 87

[PATCH v5 0/2] ARM: Exynos: Add irq_domain and device tree support for combiner

2012-03-24 Thread Thomas Abraham
rupt specifiers for device nodes which use combiner as their interrupt parent. This patchset is based on http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git [for-next] with all patches merged from http://git.secretlab.ca/git/linux-2.6.git [irqdomain/next] Thomas Abraham (2): A

Re: Device node for a controller with two interrupt parents

2012-03-23 Thread Thomas Abraham
Hi Grant, On 21 March 2012 20:43, Grant Likely wrote: > Okay, so you're saying there are three important aspects to this > device: > 1) it terminates interrupts from other devices (therefore needs an >   interrupt controller driver) > 2) it passes some interrupts through untouched (interrupt cont

Re: Device node for a controller with two interrupt parents

2012-03-21 Thread Thomas Abraham
Hi David, On 21 March 2012 09:11, David Gibson wrote: > On Wed, Mar 21, 2012 at 07:55:43AM +0530, Thomas Abraham wrote: >> Hi, >> >> Exynos5 includes a gpio wakeup interrupt controller that generates 32 >> interrupts. The first 16 interrupts are routed to the inter

Re: [PATCH v4 05/12] ARM: EXYNOS: add support uart for EXYNOS4 and EXYNOS5

2012-03-21 Thread Thomas Abraham
On 14 March 2012 20:12, Kukjin Kim wrote: > Actually, the base address of uart is different between EXYNOS4 > and EXYNOS5 and this patch enables to support uart for EXYNOS4 > and EXYNOS5 SoCs at runtime. > > Signed-off-by: Kukjin Kim > --- [...] > diff --git a/arch/arm/mach-exynos/include/mach/

Device node for a controller with two interrupt parents

2012-03-20 Thread Thomas Abraham
Hi, Exynos5 includes a gpio wakeup interrupt controller that generates 32 interrupts. The first 16 interrupts are routed to the interrupt combiner controller. The last 16 are muxed into one interrupt and this interrupt line is connected to the GIC interrupt controller. So, the wakeup interrupt co

Re: [PATCH v2 3/3] ARM: Samsung: Rework platform data of s3c-fb driver

2012-03-19 Thread Thomas Abraham
On 19 March 2012 13:10, Darius Augulis wrote: > Hi, > > On Mon, Mar 19, 2012 at 9:29 AM, Thomas Abraham > wrote: >> Hi Darius, >> >> On 19 March 2012 05:16, Jingoo Han wrote: >> [...] >> >>> >>> Because there are not multiple win

Re: [PATCH v2 3/3] ARM: Samsung: Rework platform data of s3c-fb driver

2012-03-19 Thread Thomas Abraham
Hi Darius, On 19 March 2012 05:16, Jingoo Han wrote: [...] > > Because there are not multiple windows and driver sees only single window as > you mentiond, > Only 'struct s3c_fb_pd_win mini6410_fb_win[0]' should be used and > 'struct s3c_fb_pd_win mini6410_fb_win[1]' should not be used. > s3c_f

Re: [PATCH v3 0/4] ARM: Exynos4: Add irq domain and device tree support for wakeup interrupts

2012-03-14 Thread Thomas Abraham
Dear Mr. Kim, On 9 March 2012 22:02, Kukjin Kim wrote: > On 02/22/12 04:14, Thomas Abraham wrote: >> >> Changes since v2: >> - Reworked irq domain support based on v5 of the irq_domain generalization >>   patches. >> >> Changes since v1: (only patch 4/4

Re: [PATCH v3 07/12] ARM: EXYNOS: add interrupt definitions for EXYNOS5250

2012-03-13 Thread Thomas Abraham
On 13 March 2012 21:00, Kukjin Kim wrote: > ARM: EXYNOS: irqs.h for exynos4 and exynos5 - WIP > This patch adds the interrupt definitions for EXYNOS5250 at > file. Basically, now it is needed for EXYNOS5250 > interrupt and will be updated for single zImage next time. > > Signed-off-by: Kukjin Kim

Re: [PATCH 0/5] pinctrl: add new Samsung pinctrl driver and add Exynos4 support

2012-03-13 Thread Thomas Abraham
On 13 March 2012 15:43, Linus Walleij wrote: > On Sun, Mar 11, 2012 at 1:46 PM, Thomas Abraham > wrote: > >> This patch series adds new pinctrl driver for Samsung SoC's. The driver >> supports >> a gpiolib interface as well since Samsung SoC's have a co

Re: [PATCH v2 3/3] ARM: Samsung: Rework platform data of s3c-fb driver

2012-03-13 Thread Thomas Abraham
On 13 March 2012 15:17, Jingoo Han wrote: >> -Original Message- >> From: Thomas Abraham [mailto:thomas.abra...@linaro.org] >> Sent: Tuesday, March 13, 2012 6:00 AM >> To: linux-fb...@vger.kernel.org >> Cc: florianschandi...@gmx.de; linux-arm-ker...@lists.in

Re: [PATCH v3 1/2] mfd: add irq domain support for max8997 interrupts

2012-03-13 Thread Thomas Abraham
On 13 March 2012 11:35, Thomas Abraham wrote: > On 13 March 2012 08:58, Grant Likely wrote: >> On Thu, 23 Feb 2012 18:08:07 +0530, Thomas Abraham >> wrote: >>> Add irq domain support for max8997 interrupts. The reverse mapping method >>> used is linear mapping

Re: [PATCH v4 2/2] ARM: Exynos: Add device tree support for interrupt combiner

2012-03-12 Thread Thomas Abraham
On 13 March 2012 09:22, Grant Likely wrote: > On Tue, 21 Feb 2012 10:03:26 +0530, Thomas Abraham > wrote: >> Add device tree based instantiation of the interrupt combiner controller. >> >> Cc: Grant Likely >> Cc: Rob Herring >> Signed-off-by: Thomas A

Re: [PATCH v3 2/2] regulator: add device tree support for max8997

2012-03-12 Thread Thomas Abraham
On 13 March 2012 09:13, Grant Likely wrote: > On Thu, 23 Feb 2012 18:08:08 +0530, Thomas Abraham > wrote: >> Add device tree based discovery support for max8997. >> >> Cc: MyungJoo Ham >> Cc: Rajendra Nayak >> Cc: Rob Herring >> Cc: Gran

Re: [PATCH v3 1/2] mfd: add irq domain support for max8997 interrupts

2012-03-12 Thread Thomas Abraham
On 13 March 2012 08:58, Grant Likely wrote: > On Thu, 23 Feb 2012 18:08:07 +0530, Thomas Abraham > wrote: >> Add irq domain support for max8997 interrupts. The reverse mapping method >> used is linear mapping since the sub-drivers of max8997 such as regulator >> and cha

Re: [PATCH v3 0/2] regulator: add irq domain and device tree support for MAX8997

2012-03-12 Thread Thomas Abraham
Hi Rob/Grant, On 23 February 2012 18:08, Thomas Abraham wrote: > Changes since v2: > - Atleast one voltage level has to be specfied for Buck 1/2/5 even if GPIO >  DVS option is not used (suggested by MyungJoo Ham). > - Reworked the irq_domain support based the v5 of irq_domain ge

Re: [PATCH v4 0/2] ARM: Exynos: Add irq_domain and device tree support for combiner

2012-03-12 Thread Thomas Abraham
Hi Rob/Grant, On 21 February 2012 10:03, Thomas Abraham wrote: > Changes since v3: > - In dt case, the use of fixed gic linux irq number to map the combiner >  interrupt output is removed. This is replaced with the interrupt number >  obtained from the gic irq domain. (Thanks to Rob

[PATCH v2 3/3] ARM: Samsung: Rework platform data of s3c-fb driver

2012-03-12 Thread Thomas Abraham
on Kim Cc: Kukjin Kim Cc: Heiko Stuebner Cc: Ben Dooks Cc: Kwangwoo Lee Cc: Mark Brown Cc: Peter Korsgaard Cc: Darius Augulis Cc: Maurus Cuelenaere Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/mach-nuri.c | 26 ++--- arch/arm/mach-exynos/mach-origen.c

[PATCH v2 2/3] video: s3c-fb: remove 'default_win' element from platform data

2012-03-12 Thread Thomas Abraham
Dooks Cc: Jingoo Han Signed-off-by: Thomas Abraham --- arch/arm/plat-samsung/include/plat/fb.h |2 -- drivers/video/s3c-fb.c | 28 ++-- 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/arch/arm/plat-samsung/include/plat/fb.h b/arc

[PATCH v2 1/3] video: s3c-fb: move video interface timing out of window setup data

2012-03-12 Thread Thomas Abraham
also removes the restriction that atleast one window should have the same resolution as that of the panel attached. Cc: Ben Dooks Signed-off-by: Thomas Abraham Acked-by: Jingoo Han --- arch/arm/plat-samsung/include/plat/fb.h |9 ++- drivers/video/s3c-fb.c | 114

[PATCH v2 0/3] video: s3c-fb: Rearrange the elements in platform data

2012-03-12 Thread Thomas Abraham
nd tested one Exynos4210 based Origen board (only compile tested for other boards) Thomas Abraham (3): video: s3c-fb: move video interface timing out of window setup data video: s3c-fb: remove 'default_win' element from platform data ARM: Samsung: Rework platform data of s3c-fb d

Re: [PATCH 5/5] mmc: sdhci-s3c: setup pins using pinctrl interface

2012-03-12 Thread Thomas Abraham
On 12 March 2012 19:51, Mark Brown wrote: > On Sun, Mar 11, 2012 at 06:16:05PM +0530, Thomas Abraham wrote: >> The platform specific callback to setup the sdhci pin mux and pin config >> is removed and the pinctrl subsystem interface is used to setup the >> mux and config.

Re: [PATCH 1/2] i2c-s3c2410: Rework device type handling

2012-03-12 Thread Thomas Abraham
On 12 March 2012 18:46, Karol Lewandowski wrote: > On 12.03.2012 06:58, Thomas Abraham wrote: > > Hi Thomas! > >> On 9 March 2012 22:34, Karol Lewandowski wrote: >>> Reorganize driver a bit to better handle device tree-based systems: >>> >>>  - mo

Re: [PATCH 2/2] i2c-s3c2410: Add HDMIPHY quirk for S3C2440

2012-03-11 Thread Thomas Abraham
lave-addr", &pdata->slave_addr); >        of_property_read_u32(np, "samsung,i2c-max-bus-freq", > @@ -1103,6 +1134,9 @@ static struct platform_device_id s3c24xx_driver_ids[] = > { >        }, { >                .name           = "s3c2440-i2c", >                .driver_data    = TYPE_S3C2440, > +       }, { > +               .name           = "s3c2440-hdmiphy-i2c", > +               .driver_data    = TYPE_S3C2440 | FLAG_HDMIPHY | FLAG_NO_GPIO, >        }, { }, >  }; >  MODULE_DEVICE_TABLE(platform, s3c24xx_driver_ids); > -- > 1.7.9 > Reviewed-by: Thomas Abraham -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/2] i2c-s3c2410: Rework device type handling

2012-03-11 Thread Thomas Abraham
On 9 March 2012 22:34, Karol Lewandowski wrote: > Reorganize driver a bit to better handle device tree-based systems: > >  - move machine type to driver's private structure instead of >   quering platform device variants in runtime > >  - replace s3c24xx_i2c_type enum with plain unsigned int that

Re: [PATCH 5/5] mmc: sdhci-s3c: setup pins using pinctrl interface

2012-03-11 Thread Thomas Abraham
On 12 March 2012 08:08, Kyungmin Park wrote: > On 3/11/12, Thomas Abraham wrote: >> The platform specific callback to setup the sdhci pin mux and pin config >> is removed and the pinctrl subsystem interface is used to setup the >> mux and config. >> >&

Re: [PATCH 5/5] mmc: sdhci-s3c: setup pins using pinctrl interface

2012-03-11 Thread Thomas Abraham
2012/3/12 Kukjin Kim : > Thomas Abraham wrote: >> The platform specific callback to setup the sdhci pin mux and pin config >> is removed and the pinctrl subsystem interface is used to setup the >> mux and config. >> >> Signed-off-by: Thomas Abraham >> --- &

Re: [PATCH 3/5] ARM: Exynos4: Add pinctrl devices and pin maps

2012-03-11 Thread Thomas Abraham
2012/3/12 Kukjin Kim : > Thomas Abraham wrote: >> Add the three pinctrl platform devices and the pin maps for Exynos4. >> >> Signed-off-by: Thomas Abraham >> --- >>   arch/arm/mach-exynos/Kconfig              |    1 + >>   arch/arm/mach-exynos/Makefile

[PATCH 2/5] pinctrl: add exynos4 specific pins, groups, functions and gpio chip data

2012-03-11 Thread Thomas Abraham
Add Exynos4 specific information about pins, groups, functions and gpio chip data that will be used as driver data by the Samsung pinctrl driver. Signed-off-by: Thomas Abraham --- drivers/pinctrl/Kconfig |7 + drivers/pinctrl/Makefile |1 + drivers/pinctrl/pinctrl

[PATCH 3/5] ARM: Exynos4: Add pinctrl devices and pin maps

2012-03-11 Thread Thomas Abraham
Add the three pinctrl platform devices and the pin maps for Exynos4. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/Makefile |1 + arch/arm/mach-exynos/common.h |6 ++ arch/arm/mach-exynos/dev-pinctrl.c

[PATCH 4/5] ARM: Exynos: Enable pinctrl driver support for Origen board

2012-03-11 Thread Thomas Abraham
Add the pinctrl platform devices for static registration and add default pin maps. Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/mach-origen.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach

[PATCH 5/5] mmc: sdhci-s3c: setup pins using pinctrl interface

2012-03-11 Thread Thomas Abraham
The platform specific callback to setup the sdhci pin mux and pin config is removed and the pinctrl subsystem interface is used to setup the mux and config. Signed-off-by: Thomas Abraham --- drivers/mmc/host/sdhci-s3c.c | 15 +-- 1 files changed, 13 insertions(+), 2 deletions

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

2012-03-11 Thread Thomas Abraham
rl devices and gpio chips which are found in the driver data. Signed-off-by: Thomas Abraham --- arch/arm/plat-samsung/include/plat/pinctrl.h | 35 ++ drivers/pinctrl/Kconfig |3 + drivers/pinctrl/Makefile |1 + drivers/pinctrl/pinctrl

[PATCH 0/5] pinctrl: add new Samsung pinctrl driver and add Exynos4 support

2012-03-11 Thread Thomas Abraham
patchset is based on http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git with all patches merged from http://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git [for-next] and tested working of sdhci2 controller on Origen board. Thomas Abraham (5): pinctrl: add

Re: [PATCH v3 0/4] ARM: Exynos4: Add irq domain and device tree support for wakeup interrupts

2012-03-09 Thread Thomas Abraham
On 9 March 2012 22:02, Kukjin Kim wrote: > On 02/22/12 04:14, Thomas Abraham wrote: >> >> Changes since v2: >> - Reworked irq domain support based on v5 of the irq_domain generalization >>   patches. >> >> Changes since v1: (only patch 4/4 has changes) >

<    4   5   6   7   8   9   10   11   12   13   >