Re: [PATCH 0/2] Add missing fixed regulators on Origen board

2012-12-29 Thread Olof Johansson
Hi, On Fri, Dec 28, 2012 at 12:34 AM, Tushar Behera wrote: > This patchset adds vmmc and hdmi-en regulators for Origen board. > > Tushar Behera (2): > ARM: EXYNOS: Add vmmc regulator for Origen board > ARM: EXYNOS: Add hdmi-en regulator for Origen board The vmmc one seems to already be there

Re: [PATCH v5 00/12] clk: exynos4: migrate to common clock framework

2012-12-29 Thread Olof Johansson
On Sat, Dec 29, 2012 at 04:33:29PM -0800, Thomas Abraham wrote: > Changes since v4: > - Rebased to linux-3.8-rc1. > > Changes since v3: > - Includes changes suggested by Tomasz Figa > > This patch series migrates the Samsung Exynos4 SoC clock code to adopt the > common clock framework. The use o

Re: [PATCH v3 0/5] ARM: Exynos: Enable device tree support for MCT controller

2012-12-29 Thread Olof Johansson
On Sat, Dec 29, 2012 at 12:50:33PM -0800, Thomas Abraham wrote: > Changes since v2: > - Rebased to linux 3.8-rc1 > > Changes since v1: > - Includes changes suggested by Sylwester Nawrocki > > > This patch series adds device tree support for Exynos4/5 MCT controller. > This patch series has been

[PATCH v5 05/12] ARM: Exynos4: Migrate clock support to common clock framework

2012-12-29 Thread Thomas Abraham
Remove Samsung specific clock support in Exynos4 and migrate to use common clock framework. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/Makefile |3 - arch/arm/mach-exynos/clock-exynos4.h | 3

[PATCH v5 12/12] ARM: Exynos: add support for mct clock setup

2012-12-29 Thread Thomas Abraham
Add support for mct clock lookup and setup to ensure that the mct clock is has been turned on. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/mct.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-exynos/mct.c b/arch/arm/mach-ex

[PATCH v5 11/12] ARM: Exynos: use fin_pll clock as the tick clock source for mct

2012-12-29 Thread Thomas Abraham
With the migration of Exynos4 clocks to use common clock framework, the old styled 'xtal' clock is not used anymore. Instead, the clock 'fin_pll' is used as the tick clock for mct controller. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/mct.c | 14 +- 1 fi

[PATCH v5 10/12] ARM: Exynos4: remove auxdata table from machine file

2012-12-29 Thread Thomas Abraham
With support for device tree based clock lookup now available, remove the auxdata table from exynos4 dt-enabled machine file. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/mach-exynos4-dt.c | 69 +--- 1 files changed, 2 insertions(+), 67 del

[PATCH v5 09/12] ARM: dts: add clock provider information for all controllers in Exynos4 SoC

2012-12-29 Thread Thomas Abraham
For all supported peripheral controllers on Exynos4, add clock lookup information. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/exynos4.dtsi | 50 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/e

[PATCH v5 08/12] ARM: Exynos4: allow legacy board support to specify xxti and xusbxti clock speed

2012-12-29 Thread Thomas Abraham
The clock speed of xxti and xusbxti clocks depends on the oscillator used on the board to generate these clocks. For non-dt platforms, allow the board support for those platforms to set the clock frequency of xxti and xusbxti clocks. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mac

[PATCH v5 07/12] ARM: dts: add xxti and xusbxti fixed rate clock nodes for exynos4 based platforms

2012-12-29 Thread Thomas Abraham
The clock frequency of xxti and xusbxti clocks is dependent on the frequency of the on-board oscillator that is used to generate these clocks. So allow the frequency of these clocks to be specfied from device tree. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/exynos4210-

[PATCH v5 06/12] ARM: dts: add exynos4 clock controller nodes

2012-12-29 Thread Thomas Abraham
Add clock controller nodes for Exynos4210 and Exynos4x12 SoC's. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/exynos4210.dtsi |6 ++ arch/arm/boot/dts/exynos4x12.dtsi |6 ++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/ex

[PATCH v5 04/12] ARM: Exynos: Rework timer initialization sequence

2012-12-29 Thread Thomas Abraham
A seperate timer initialization function for all exynos based platforms is created. This new initialization function will help to identify the type of timer used and call their corresponding initialization function. Since the clock initialization should be completed prior to the mct timer initializ

[PATCH v5 03/12] clk: exynos4: register clocks using common clock framework

2012-12-29 Thread Thomas Abraham
The Exynos4 clocks are statically listed and registered using the Samsung specific common clock helper functions. Both device tree based clock lookup and clkdev based clock lookups are supported. Cc: Mike Turquette Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- .../devicetree/bindings/clock/

[PATCH v5 02/12] clk: samsung: add pll clock registration helper functions

2012-12-29 Thread Thomas Abraham
There are several types of pll clocks used in Samsung SoC's and these pll clocks can be represented as Samsung specific pll clock types and registered with the common clock framework. Add support for pll35xx, pll36xx, pll45xx and pll46xx clock types and helper functions to register them. Cc: Mike

[PATCH v5 01/12] clk: samsung: add common clock framework helper functions for Samsung platforms

2012-12-29 Thread Thomas Abraham
All Samsung platforms include different types of clock including fixed-rate, mux, divider and gate clock types. There are typically hundreds of such clocks on each of the Samsung platforms. To enable Samsung platforms to register these clocks using the common clock framework, a bunch of utility fun

[PATCH v5 00/12] clk: exynos4: migrate to common clock framework

2012-12-29 Thread Thomas Abraham
Changes since v4: - Rebased to linux-3.8-rc1. Changes since v3: - Includes changes suggested by Tomasz Figa This patch series migrates the Samsung Exynos4 SoC clock code to adopt the common clock framework. The use of Samsung specific clock structures has been removed and all board support code

[PATCH] ARM: dts: add board dts file for EXYNOS4412 based Origen board

2012-12-29 Thread Thomas Abraham
Add a minimal board dts file for EXYNOS4412 based Insignal Origen board. Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/exynos4412-origen.dts | 45 +++ 2 files changed, 46 insertions(+), 0 deletions(-) create m

[PATCH v3 0/5] ARM: Exynos: Enable device tree support for MCT controller

2012-12-29 Thread Thomas Abraham
Changes since v2: - Rebased to linux 3.8-rc1 Changes since v1: - Includes changes suggested by Sylwester Nawrocki This patch series adds device tree support for Exynos4/5 MCT controller. This patch series has been tested on Exynos4210 based Origen board, Exynos4412 based Origen board and Exynos

[PATCH v3 5/5] ARM: dts: add mct device tree node for all supported Exynos SoC's

2012-12-29 Thread Thomas Abraham
Add MCT device tree node for Exynos4210, Exynos4212, Exynos4412 and Exynos5250. Cc: Changhwan Youn Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/exynos4210.dtsi |8 arch/arm/boot/dts/exynos4212.dtsi | 10 ++ arch/arm/boot/dts/exynos4412.dtsi |8 arch/ar

[PATCH v3 4/5] ARM: Exynos: remove static io-remapping of mct registers for Exynos5

2012-12-29 Thread Thomas Abraham
With device tree support enabled for MCT controller, the static io-remapping of the MCT controller address space is removed for Exynos5 platforms (which supports only device tree based boot). Cc: Changhwan Youn Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/common.c |5 ---

[PATCH v3 3/5] ARM: Exynos: add device tree support for MCT controller driver

2012-12-29 Thread Thomas Abraham
Allow the MCT controller base address and interrupts to be obtained from device tree and remove unused static definitions of these. The non-dt support for Exynos5250 is removed but retained for Exynos4210 based platforms. Cc: Changhwan Youn Signed-off-by: Thomas Abraham --- .../bindings/timer/s

[PATCH v3 2/5] ARM: Exynos: prepare an array of MCT interrupt numbers and use it

2012-12-29 Thread Thomas Abraham
Instead of using soc_is_xxx macro at more than one place in the MCT controller driver to decide the MCT interrpt number to be setup, populate a table of known MCT global and local timer interrupts and use the values in table to setup the MCT interrupts. This also helps in adding device tree suppor

[PATCH v3 1/5] ARM: Exynos: add a register base address variable in mct controller driver

2012-12-29 Thread Thomas Abraham
All the MCT register read/writes use a fixed remapped address S5P_VA_SYSTIMER. With device tree support for MCT controller, it is possible to remove the static remap of the MCT controller address space and do the remap during the initialization of the MCT controller with the physical address obtain