Re: [PATCH] pwm: add Exynos PWM driver

2013-01-09 Thread Thierry Reding
On Thu, Dec 13, 2012 at 07:16:36PM +0900, Joonyoung Shim wrote: This is PWM driver to support 4 pwm for Exynos SoCs. Also this supports device tree node. Maybe something like the following would read better: This is a PWM driver to support 4 PWM devices for Exynos SoCs. The

[PATCH 0/2] ARM: Exynos5 : Add Power domain device tree support for MFC and GSC

2013-01-09 Thread Prasanna Kumar
Hello all, This patch set adds device tree support for power domains (Gscaler and MFC) of exynos5 Prasanna Kumar (2): arm: exynos5: Enable PM generic domain support in Kconfig ARM: dts: exynos5: Set up power domain for MFC and G-scaler arch/arm/boot/dts/exynos5250.dtsi | 15

[PATCH 1/2] arm: exynos5: Enable PM generic domain support in Kconfig

2013-01-09 Thread Prasanna Kumar
This patch adds support to enable PM generic domains under Exynos5 family Signed-off-by: Prasanna Kumar prasanna...@samsung.com --- arch/arm/mach-exynos/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig

[PATCH 2/2] ARM: dts: exynos5: Set up power domain for MFC and G-scaler

2013-01-09 Thread Prasanna Kumar
This patch adds device tree nodes for MFC and G-scaler power domains of exynos5.It binds these power-domain nodes to repsective device tree nodes. Signed-off-by: Prasanna Kumar prasanna...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 15 +++ 1 files changed, 15

[PATCH 0/3] ARM:exynos5:power-domain: Save and restore CLK_TOP_SRC3 via clock framework.

2013-01-09 Thread Prasanna Kumar
After Suspend-Resume operation of exynos5, CLK_TOP_SRC3 register modified while power gating G-scaler and MFC power domains.This is seen only after suspend and resume. The solution to this problem is to save CLK_SRC_TOP3 register and restore it while powergating. But CLK_SRC_TOP3 register cannot

[PATCH 2/3] ARM:exynos5:dts: Bindings for clock definitions are added.

2013-01-09 Thread Prasanna Kumar
The details of samsung,exynos-pd-clks property is added. Signed-off-by: Prasanna Kumar prasanna...@samsung.com --- .../bindings/arm/exynos/power_domain.txt | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git

[PATCH 3/3] ARM: exynos5: Add clock save and restore

2013-01-09 Thread Prasanna Kumar
After Suspend-Resume operation, it is observed that CLK_TOP_SRC3 register gets modified if the G-Scaler/MFC devices are power gated. The clock for G-Scaler gets set to XXTI which results in the device running very slow.This issue also seen for MFC. To solve above issue, the existing clock

Re: [PATCH 3/3] ARM: exynos5: Add clock save and restore

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 06:24:41PM +0530, Prasanna Kumar wrote: After Suspend-Resume operation, it is observed that CLK_TOP_SRC3 register gets modified if the G-Scaler/MFC devices are power gated. The clock for G-Scaler gets set to XXTI which results in the device running very slow.This

Re: [PATCH 1/5 v2] Rename s5p-time to samsung-time

2013-01-09 Thread Kukjin Kim
On 01/08/13 13:00, Tomasz Figa wrote: Hi Romain, [...] What's wrong with this part of the patch ? I applied this patch today on linux-next tree, branch next-20121214. (with some hunk but no error) Patches that are supposed to go through Samsung (Kgene's) tree, should be based on for-next

Re: [PATCH 1/5 v2] Rename s5p-time to samsung-time

2013-01-09 Thread Romain Naour
Le 09/01/2013 20:26, Kukjin Kim a écrit : On 01/08/13 13:00, Tomasz Figa wrote: Hi Romain, [...] What's wrong with this part of the patch ? I applied this patch today on linux-next tree, branch next-20121214. (with some hunk but no error) Patches that are supposed to go through Samsung

[PATCH 0/5 v3] S3C / S5PC100: add clockevent/clocksource support

2013-01-09 Thread Romain Naour
This series of patches converts the s3c and s5pc100 timer driver to the clocksource/clockevent API. I made some test on a mini2440 board and I had to reduce timers frequency to 1MHz in order to produce a timer's overflow every 64ms. Initial timer's frequency (8,45MHz) provide only 7ms between

[PATCH 1/5 v3] Rename s5p-time to samsung-time

2013-01-09 Thread Romain Naour
Signed-off-by: Naour Romain romain.na...@openwide.fr --- arch/arm/mach-exynos/Kconfig | 2 +- arch/arm/mach-exynos/mach-universal_c210.c | 6 +- arch/arm/mach-s5p64x0/Kconfig | 4 +- arch/arm/mach-s5p64x0/mach-smdk6440.c |

[PATCH 2/5 v3] Add samsung-time support for s3c24xx

2013-01-09 Thread Romain Naour
Signed-off-by: Naour Romain romain.na...@openwide.fr --- arch/arm/Kconfig | 3 ++- arch/arm/mach-s3c24xx/Kconfig | 6 ++ arch/arm/mach-s3c24xx/mach-amlm5900.c | 5 - arch/arm/mach-s3c24xx/mach-anubis.c |

[PATCH 3/5 v3] Add samsung-time support for s3c64xx

2013-01-09 Thread Romain Naour
Signed-off-by: Naour Romain romain.na...@openwide.fr --- arch/arm/Kconfig | 3 ++- arch/arm/mach-s3c64xx/Kconfig | 2 ++ arch/arm/mach-s3c64xx/mach-anw6410.c | 4 +++- arch/arm/mach-s3c64xx/mach-crag6410.c | 4 +++- arch/arm/mach-s3c64xx/mach-hmt.c | 4 +++-

[PATCH 4/5 v3] Add samsung-time support for s5pc100

2013-01-09 Thread Romain Naour
Signed-off-by: Naour Romain romain.na...@openwide.fr --- arch/arm/Kconfig | 3 ++- arch/arm/mach-s5pc100/Kconfig | 1 + arch/arm/mach-s5pc100/mach-smdkc100.c | 4 +++- arch/arm/plat-samsung/include/plat/samsung-time.h | 2 +- 4

[PATCH 5/5 v3] Remove unused plat-samsung/time.c

2013-01-09 Thread Romain Naour
Signed-off-by: Naour Romain romain.na...@openwide.fr --- arch/arm/plat-samsung/Makefile | 1 - arch/arm/plat-samsung/include/plat/cpu.h | 5 - arch/arm/plat-samsung/time.c | 285 --- 3 files changed, 291 deletions(-) delete mode 100644

[RFC PATCH 0/7] Initial Device Tree support for S3C64xx

2013-01-09 Thread Tomasz Figa
This series is an initial proposal of Device Tree support for Samsung S3C64xx SoC series. It fixes several problems preventing from booting an S3C64xx-based system using Device Tree, adds all the infrastructure for Device Tree-based board support, including mach-s3c64xx-dt and dts include files

[RFC PATCH 1/7] ARM: common: vic: Parse interrupt and resume masks from device tree

2013-01-09 Thread Tomasz Figa
This patch extends vic_of_init to parse valid interrupt sources and resume sources masks from device tree. If mask values are not specified in device tree, all sources are assumed to be valid, as before this patch. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com ---

[RFC PATCH 2/7] ARM: common: vic: Fix invalid first IRQ number in OF-based registration

2013-01-09 Thread Tomasz Figa
Without this patch, vic_of_init passed -1 as first IRQ number to __vic_init (as signed int), then to vic_register (now as unsigned int equals to 0x) and finally to irq_domain_add_simple (again as unsigned 0x), which tries to allocate irq descriptors starting from IRQ 0x,

[RFC PATCH 3/7] ARM: s3c64xx: Add support for OF-based VIC initialization

2013-01-09 Thread Tomasz Figa
This patch modifies IRQ initialization code of S3C64xx to support Device Tree-based initialization of VICs. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-s3c64xx/common.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git

[RFC PATCH 4/7] ARM: s3c64xx: Fix build error with CONFIG_S3C_DEV_FB disabled

2013-01-09 Thread Tomasz Figa
If there is no board selecting CONFIG_S3C_DEV_FB enabled, build will fail on arch/arm/mach-s3c64xx/pm.c, where s3c_device_fb is referenced. This patch adds ifdef guard around the code making it compile only when CONFIG_S3C_DEV_FB is enabled. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com ---

[RFC PATCH 6/7] ARM: dts: Add basic dts include files for Samsung S3C64xx SoCs

2013-01-09 Thread Tomasz Figa
This patch adds basic device tree definitions for Samsung S3C64xx SoCs. Since all the SoCs in the series are very similar, the files are created hierarchically - one file for the whole series and then separate files for particular SoCs including the common one. Signed-off-by: Tomasz Figa

Re: [PATCH 0/5 v3] S3C / S5PC100: add clockevent/clocksource support

2013-01-09 Thread Tomasz Figa
Hi Romain, Kukjin, On Wednesday 09 of January 2013 23:43:35 Romain Naour wrote: This series of patches converts the s3c and s5pc100 timer driver to the clocksource/clockevent API. I made some test on a mini2440 board and I had to reduce timers frequency to 1MHz in order to produce a timer's

RE: [RFC PATCH 5/7] ARM: s3c64xx: Add board file for boot using Device Tree

2013-01-09 Thread Kukjin Kim
Tomasz Figa wrote: This patch adds board file that will be used to boot S3C64xx-based boards using Device Tree. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-s3c64xx/Kconfig | 13 + arch/arm/mach-s3c64xx/Makefile | 1 +

Re: [RFC PATCH 4/7] ARM: s3c64xx: Fix build error with CONFIG_S3C_DEV_FB disabled

2013-01-09 Thread Tomasz Figa
Hi Kukjin, On Wednesday 09 of January 2013 16:15:23 Kukjin Kim wrote: Tomasz Figa wrote: If there is no board selecting CONFIG_S3C_DEV_FB enabled, build will fail on arch/arm/mach-s3c64xx/pm.c, where s3c_device_fb is referenced. This patch adds ifdef guard around the code making it

RE: [PATCH 0/5 v3] S3C / S5PC100: add clockevent/clocksource support

2013-01-09 Thread Kukjin Kim
Tomasz Figa wrote: Hi Romain, Kukjin, On Wednesday 09 of January 2013 23:43:35 Romain Naour wrote: This series of patches converts the s3c and s5pc100 timer driver to the clocksource/clockevent API. I made some test on a mini2440 board and I had to reduce timers frequency to 1MHz in

[PATCH] ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled

2013-01-09 Thread Tomasz Figa
Recently the regs-syscon-power.h header was moved from mach-s3c64xx/include/mach to mach-s3c64xx/, but cpuidle.c was not updated to include the header from its new location, which caused build error with CONFIG_CPU_IDLE enabled. This patch fixed the problem by updating the include line with

RE: [PATCH] ARM: s3c64xx: cpuidle: Fix missing header error with CONFIG_CPU_IDLE enabled

2013-01-09 Thread Kukjin Kim
Tomasz Figa wrote: Recently the regs-syscon-power.h header was moved from mach-s3c64xx/include/mach to mach-s3c64xx/, but cpuidle.c was not updated to include the header from its new location, which caused build error with CONFIG_CPU_IDLE enabled. This patch fixed the problem by updating

RE: [PATCH 0/5 v3] S3C / S5PC100: add clockevent/clocksource support

2013-01-09 Thread Kukjin Kim
Heiko Stübner wrote: Am Mittwoch, 9. Januar 2013, 23:43:35 schrieb Romain Naour: This series of patches converts the s3c and s5pc100 timer driver to the clocksource/clockevent API. I made some test on a mini2440 board and I had to reduce timers frequency to 1MHz in order to produce a

RE: [PATCH] spi/s3c64xx: Complain if we fail to set a transfer speed

2013-01-09 Thread Kukjin Kim
Mark Brown wrote: Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Acked-by: Kukjin Kim kgene@samsung.com --- drivers/spi/spi-s3c64xx.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index ad93231..6495352

RE: [PATCH 1/3] pinctrl: exynos: add exynos5250 SoC specific data

2013-01-09 Thread Kukjin Kim
Linus Walleij wrote: On Thu, Dec 27, 2012 at 5:58 PM, Kukjin Kim kgene@samsung.com wrote: And I think, would be clear if the config could be changed like following. 8-- From: Kukjin Kim kgene@samsung.com

RE: [PATCH 2/2] ARM: dts: fix compatible value for exynos pinctrl

2013-01-09 Thread Kukjin Kim
Olof Johansson wrote: On Wed, Jan 2, 2013 at 4:20 PM, Kukjin Kim kgene@samsung.com wrote: Fix the incorrect compatible property value of pinctrl for EXYNOS4 SoCs. Ah, this answers my question from the previous patch. So, why do 5450 as a separate patch? OK, let me create one patch

RE: [PATCH] ARM: dts: exynos5250: Set HDMI version to v1.4

2013-01-09 Thread Kukjin Kim
Sean Paul wrote: On Mon, Jan 7, 2013 at 4:00 PM, Sean Paul seanp...@chromium.org wrote: Set the HDMI version to v1.4 for all exynos5250 targets. This property was previously being inferred by the existence of the hdmi node. Signed-off-by: Sean Paul seanp...@chromium.org --- The

RE: [PATCH] ARM: Samsung: Export MIPI CSIS/DSIM PHY control functions

2013-01-09 Thread Kukjin Kim
Sylwester Nawrocki wrote: The s5p_csis_phy_enable/s5p_dsim_phy_enable functions are now used directly by corresponding drivers and thus need to be exported so the drivers can be built as modules. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park

RE: [PATCH] ARM: DTS: exynos4210-origen: Add MAX8997 node entry

2013-01-09 Thread Kukjin Kim
Tushar Behera wrote: On 01/04/2013 10:51 PM, Thomas Abraham wrote: On 4 January 2013 00:23, Tushar Behera tushar.beh...@linaro.org wrote: The node entry is added as per documentation and legacy board file. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- The patch is

RE: [PATCH] ARM: DTS: exynos4210-origen: Add MAX8997 node entry

2013-01-09 Thread Kukjin Kim
Thomas Abraham wrote: On 4 January 2013 00:23, Tushar Behera tushar.beh...@linaro.org wrote: The node entry is added as per documentation and legacy board file. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- The patch is rebased on v3.8-rc1.

RE: [PATCH] ARM: dts: correct the dw-mshc timing properties as per binding

2013-01-09 Thread Kukjin Kim
Alim Akhtar wrote: [...] Signed-off-by: Alim Akhtar alim.akh...@samsung.com Tested-by: Doug Anderson diand...@chromium.org Acked-by: Doug Anderson diand...@chromium.org Looks OK to me, applied. Thanks. - Kukjin -- To unsubscribe from this list: send the line unsubscribe

RE: [PATCH 2/5 v3] Add samsung-time support for s3c24xx

2013-01-09 Thread Kukjin Kim
Romain Naour wrote: [...] diff --git a/arch/arm/mach-s3c24xx/mach-osiris.c b/arch/arm/mach- s3c24xx/mach-osiris.c index 1e4..c9bd133 100644 --- a/arch/arm/mach-s3c24xx/mach-osiris.c +++ b/arch/arm/mach-s3c24xx/mach-osiris.c @@ -44,6 +44,7 @@ #include plat/devs.h #include