[PATCH 5/7] ARM: S5PV210: add support for s3c-fb driver on Aquila machine

2010-05-16 Thread Marek Szyprowski
This patch adds required platform definitions to enable s3c-fb driver. Two framebuffer windows in 480x800x16bpp mode are defined. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig |2 + arch/arm/mach-s5pv210/mach-aquila.c | 49 +++

[PATCH 4/7] ARM: S5PV210: add framebuffer platform helpers for s5pv210 based machines

2010-05-16 Thread Marek Szyprowski
This patch adds common framebuffer device helpers and register defines for S5PV210 based machines. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig |5 ++ arch/arm/mach-s5pv210/Makefile |4 ++ arch/arm/mach

[PATCH v2] Add support for Samsung Aquila board (S5PC110 based)

2010-05-16 Thread Marek Szyprowski
Hello, This patch series add basic support for Samsung Aquila board. The board is based on Samsung S5PC110 SoC. This patch series also add platform device helpers for i2c, fb and hsmmc drivers. The patches are prepared with assumption that my previous patch series 'Common plat-s5p fixes' has been

[PATCH 7/7] ARM: S5PV210: add common HSMMC device helpers

2010-05-16 Thread Marek Szyprowski
This patch adds sdhci platform helpers required by sdhci-s3c driver. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig | 11 +++ arch/arm/mach-s5pv210/Makefile |2 + arch/arm/mach-s5pv210/cpu.c|6 ++

[PATCH 6/7] ARM: S5PV210: add common I2C device helpers

2010-05-16 Thread Marek Szyprowski
This patch adds I2C platform helpers required by s3c2440-i2c driver. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig | 10 arch/arm/mach-s5pv210/Makefile|2 + arch/arm/mach-s5pv210/cpu.c

[PATCH 3/7] ARM: Samsung: move common framebuffer regs to common platform directory

2010-05-16 Thread Marek Szyprowski
From: Pawel Osciak The framebuffer register blocks on S5PC100 and S5PV210/S5PC110 differ only slightly. This patch extracts all register definitions that are common to S5PC100 and S5PC110 into plat-samsung/plat/regs-fb-v5.h and adds a new file with C110-specific register definitions to the mach-s

[PATCH 2/7] ARM: S5PV210: add Aquila board

2010-05-16 Thread Marek Szyprowski
Add basic support for Samsung Aquila board. This board is based on S5PC110 SoC. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig | 12 ++-- arch/arm/mach-s5pv210/Makefile |1 + arch/arm/mach-s5pv210/mach-aquila.c | 100

[PATCH 1/7] ARM: S5PV210: add support for software reset

2010-05-16 Thread Marek Szyprowski
Add missing call for software reset (system reboot). Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/include/mach/regs-clock.h |2 ++ arch/arm/mach-s5pv210/include/mach/system.h |7 ++- 2 files changed, 8 insertions(+), 1 deletions(-) diff

[PATCH 2/3] ARM: Samsung: move common I2C0 device helpers to machine directories

2010-05-16 Thread Marek Szyprowski
I2C0 device helper depend on GPIO pin defines that are SoC specific. This patch copies the dummy i2c0 setup code to the respective mach-s5p* directories, so each SoC will be able to implement using its own defines. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/mach-s

[PATCH 3/3] ARM: Samsung: move driver strength gpio configuration helper to common dir

2010-05-16 Thread Marek Szyprowski
Driver strength parameter can be changed not only on S5PC100 but also on S5PV210/S5PC110 platforms, so move the helper functions to the common plat-samsung directory. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/plat-s5p/Kconfig |1 + ar

Common plat-s5p fixes

2010-05-16 Thread Marek Szyprowski
Hello, This patch series contains some core plat-s5p fixes, required for both plat-s5pc1xx cleanup series as well as patches that add Samsung Aquila board support. This patch series has been rebase onto next-samsung git tree. This is a resend of these patches. They were already posted as a part o

[PATCH 1/3] ARM: Samsung: fix broken timer irq base

2010-05-16 Thread Marek Szyprowski
Timer interrupts range was defined as 43-47, what overlaps with VIC0 range (32-64). This was caused probably by a typo while the common interrupts definition was refactored. This patch moves timer interrupt range to safe area of 11-15 (just before uart range). Signed-off-by: Marek Szyprowski Sign

[PATCH v3 10/10] Input: s3c24xx_ts - Changes TYPEs for Samsung touchscreen driver

2010-05-16 Thread Kukjin Kim
From: Naveen Krishna The Touchscreen driver now uses only 2 TYPEs based on the variations of TSADC module in the respective SoCs. TYPE_S3C24XX supports for S3C2410, S3C2440 TYPE_S3C64XX supports for S3C6410, S5P6440, S5PVV210/S5PC110 Signed-off-by: Naveen Krishna Ch Signed-off-by: Kukjin Kim

Re: approaching last call for updatyes

2010-05-16 Thread Ben Dooks
On Thu, May 13, 2010 at 11:37:30AM +0200, christian pellegrin wrote: > The fix for NAND clock stop on idle is missing. Without it I suggest > to mark the option CONFIG_MTD_NAND_S3C2410_CLKSTOP broken. this is something for the relevant mtd maintainer to merge. -- Ben Q: What's a light-year

Re: [PATCH v5] ARM: S5PV210: Add Ext interrupt support.

2010-05-16 Thread Ben Dooks
On Mon, May 17, 2010 at 12:21:25PM +0900, Kyungmin Park wrote: > On Mon, May 17, 2010 at 11:22 AM, Ben Dooks wrote: > > On Mon, May 17, 2010 at 10:16:56AM +0900, Kukjin Kim wrote: > >> From: Jongpill Lee > >> > >> Add support for external interrupts on v210. > >> > >> Signed-off-by: Jongpill Lee

Re: [PATCH v5] ARM: S5PV210: Add Ext interrupt support.

2010-05-16 Thread Kyungmin Park
On Mon, May 17, 2010 at 11:22 AM, Ben Dooks wrote: > On Mon, May 17, 2010 at 10:16:56AM +0900, Kukjin Kim wrote: >> From: Jongpill Lee >> >> Add support for external interrupts on v210. >> >> Signed-off-by: Jongpill Lee >> Signed-off-by: Pannaga Bhushan >> Signed-off-by: Kukjin Kim >> --- >>  

Re: [PATCH v5] ARM: S5PV210: Add Ext interrupt support.

2010-05-16 Thread Ben Dooks
On Mon, May 17, 2010 at 10:16:56AM +0900, Kukjin Kim wrote: > From: Jongpill Lee > > Add support for external interrupts on v210. > > Signed-off-by: Jongpill Lee > Signed-off-by: Pannaga Bhushan > Signed-off-by: Kukjin Kim > --- > arch/arm/mach-s5pv210/Kconfig |1 + > ar

[PATCH v5] ARM: S5PV210: Add Ext interrupt support.

2010-05-16 Thread Kukjin Kim
From: Jongpill Lee Add support for external interrupts on v210. Signed-off-by: Jongpill Lee Signed-off-by: Pannaga Bhushan Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/Kconfig |1 + arch/arm/mach-s5pv210/include/mach/irqs.h | 31 ++-- arch/arm/mach-s5pv210/

Re: [PATCH 17/18] ARM: S5PV210: Add 'clock source gate' clock definitions

2010-05-16 Thread Ben Dooks
On Mon, May 17, 2010 at 09:39:05AM +0900, Kukjin Kim wrote: > From: Thomas Abraham > > The non-glitch-free clock muxes can suffer from glitches when changing > clock sources. It is recommended to disable the output of non-glitch- > free muxes before trying to change the clock source. After clock

[PATCH 18/18] ARM: S5PV210: Add clocks of type 'struct clk'

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham Add peripheral device clocks of type of type 'struct clk' Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/clock.c | 104 - 1 files changed, 103 insertions(+), 1 deletions(-) diff --git a/arch/arm/

[PATCH 04/18] ARM: S5PV210: Add armclk of clksrc_clk clock type

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham This patch modifies the following. 1. Adds arm clock 'clk_armclk' of type clksrc_clk clock type. 2. Adds arm clock to the list of system clocks 'sysclks' for registering it along with other system clocks. 3. Modifies the armclk clock rate calculation procedure to be ba

[PATCH 16/18] ARM: S5PV210: Add sclk clocks of type 'struct clksrc_clk' clock

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham Add sclk clocks of type 'struct clksrc_clk' clock. The 'group2' of clock clock sources is also added. This patch also changes the the 'id' member value of the uclk1 clock for instance instance 0 since there are 4 instances of the uclk1 clock. Signed-off-by: Thomas Abraham S

[PATCH 06/18] ARM: S5PV210: Remove usage of clk_h166 and add clk_hclk_dsys clock

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham The clk_h166 clock, which is the HCLK clock for DSYS domain, is of type 'struct clk' whereas on S5PV210, this clock is suitable to be of type clksrc_clk clock (since it has a choice of clock source and a pre-divider). So this patch replaces the 'struct clk' type clock to 'str

[PATCH 12/18] ARM: S5PV210: Add support for VPLL

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham This patch adds the following. 1. Adds 'clk_sclk_hdmi27m' clock to represent the HDMI 27MHz clock. 2. Adds 'clk_vpllsrc; clock of type clksrc_clk to represent the input clock for VPLL. 3. Adds 'clk_sclk_vpll' clock of type clksrc_clk to represent the output of the MUX_

[PATCH 11/18] ARM: S5PV210: Remove usage of clk_p66 and add clk_pclk_psys clock

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham The clk_p83 clock, which is the PCLK clock for PSYS domain, is of type 'struct clk' whereas on S5PV210, this clock is suitable to be of type clksrc_clk clock (since it has a clock divider). So this patch replaces the 'struct clk' type clock to 'struct clksrc_clk' type clock f

[PATCH 05/18] ARM: S5PV210: Remove usage of clk_h200 clock and add clk_hclk_msys clock

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham The clk_h200 represents the HCLK for the MSYS domain. This clock is of type 'struct clk' but on V210, it is more suitable to be of type 'struct clksrc_clk' (since it is a divided version of the armclk). The replacement clock is renamed as clk_hclk_msys to indicate that it rep

[PATCH 15/18] ARM: S5PV210: Add sclk_audio and sclk_spdif clocks.

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham Add the sclk_audio(0/1/2) clocks and sclk_spdif clock of type 'struct clksrc_clk' clock. Also, add clk_pcmcdclk(0/1/2) clocks of type 'struct clk' clock. Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/clock.c | 125 +

[PATCH 10/18] ARM: S5PV210: Remove usage of clk_p83 and add clk_pclk_dsys clock\

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham The clk_p83 clock, which is the PCLK clock for DSYS domain, is of type 'struct clk' whereas on S5PV210, this clock is suitable to be of type clksrc_clk clock (since it has a clock divider). So this patch replaces the 'struct clk' type clock to 'struct clksrc_clk' type clock f

[PATCH 17/18] ARM: S5PV210: Add 'clock source gate' clock definitions

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham The non-glitch-free clock muxes can suffer from glitches when changing clock sources. It is recommended to disable the output of non-glitch- free muxes before trying to change the clock source. After clock change is complete, the non-glitch-free clock can be re-enabled. Thes

[PATCH 07/18] ARM: S5PV210: Remove usage of clk_h133 and add clk_hclk_psys clock

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham The clk_h133 clock, which is the HCLK clock for PSYS domain, is of type 'struct clk' whereas on S5PV210, this clock is suitable to be of type clksrc_clk clock (since it has a choice of clock source and a pre-divider). So this patch replaces the 'struct clk' type clock to 'str

[PATCH 08/18] ARM: S5PV210: Remove usage of clk_p100 and add clk_pclk_msys clock

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham The clk_p100 clock, which is the PCLK clock for MSYS domain, is of type 'struct clk' whereas on S5PV210, this clock is suitable to be of type clksrc_clk clock (since it has a choice of clock source and a pre-divider). So this patch replaces the 'struct clk' type clock to 'str

[PATCH 01/18] ARM: S5PV210: Rearrange the system clock definitions

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham The system clock definitions are currently defined below the peripheral clock definitions in the V210 clock code. For the V210 clock updates that follow this patch, it is required that the system clock definitions such as the mout_apll and mout_mpll be defined prior to the de

[PATCH 09/18] ARM: S5PV210: Fix clk_get_rate issue with the clk_h100 clock

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham The clk_h100 clock represents the IMEM clock for the MSYS domain. This clock rate of this clock is always half of the hclk_msys clock. There is an issue when getting the clock rate of the clk_h100 clock (clock get_rate hclk_h100 always returns clock rate that is equal to the

[PATCH 14/18] ARM: S5PV210: Add sclk_dac, sclk_mixer and sclk_hdmi clocks

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham Add sclk_dac, sclk_mixer and sclk_hdmi clocks. These clocks are of type 'struct clksrc_clk' and so have a corresponding clock list. These clocks are also added to the list of clocks to be registered at boot time. Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim ---

[PATCH 03/18] ARM: S5PV210: Rearrange assignment of clock for fout apll/mpll/epll clocks

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham The assignment of clock rates for fout apll/mpll/epll is moved further up in the s5pv210_setup_clocks function because the subsequent patches require the clock rate of fout clocks to be setup. Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv2

[PATCH 13/18] ARM: S5PV210: Add new system clocks

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham This patch adds the following system clocks. 1. clk_sclk_hdmiphy 2. clk_sclk_usbphy0 3. clk_sclk_usbphy1 4. sclk_dmc (dram memory controller clock) 5. sclk_onenand Signed-off-by: Thomas Abraham Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/clock.c | 56 ++

[PATCH 02/18] ARM: S5PV210: Register apll/mpll/epll clksrc_clk clocks

2010-05-16 Thread Kukjin Kim
From: Thomas Abraham This patch modifies the following. 1. Registers the mout_apll clksrc_clk clock. 2. The mout_mpll and mout_epll clocks were registered as 'struct clk' types and then their parents were setup using the s3c_set_clksrc function. This patch reduces the two steps into one b