Re: s3c24xx pinctrl help

2013-03-09 Thread Tomasz Figa
On Saturday 09 of March 2013 13:56:25 Heiko Stübner wrote: Am Freitag, 8. März 2013, 19:57:09 schrieb Tomasz Figa: Hi Heiko, On Friday 08 of March 2013 15:38:04 Heiko Stübner wrote: Hi Thomas, taking you up on your offer of helping, I would be cool if you could simply give me

Re: s3c24xx pinctrl help

2013-03-09 Thread Tomasz Figa
On Saturday 09 of March 2013 13:56:25 Heiko Stübner wrote: Am Freitag, 8. März 2013, 19:57:09 schrieb Tomasz Figa: Hi Heiko, On Friday 08 of March 2013 15:38:04 Heiko Stübner wrote: Hi Thomas, taking you up on your offer of helping, I would be cool if you could simply give me

[PATCH v3 00/12] ARM: samsung-time: Prepare for multiplatform support

2013-03-09 Thread Tomasz Figa
since v1: (http://thread.gmane.org/gmane.linux.kernel.samsung-soc/16005) - Addressed comments from Mark Rutland - Documented struct samsung_timer_variant - Dropped inactive mail addresses from CC Tomasz Figa (12): ARM: SAMSUNG: Move samsung-time to drivers/clocksource clocksource: samsung

[PATCH v3 01/12] ARM: SAMSUNG: Move samsung-time to drivers/clocksource

2013-03-09 Thread Tomasz Figa
This patch moves the Samsung PWM-based high resolution timer support code from arch/arm/plat-samsung to drivers/clocksource. This is a prerequisite for further work on making the driver more multiplatform and Device Tree friendly. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm

[PATCH v3 02/12] clocksource: samsung-time: Set platform-specific parameters at runtime

2013-03-09 Thread Tomasz Figa
This patch removes static platform-specific defines from samsung-time implementation and introduces an interface to configure platform-specific timer parameters from platform code. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-exynos/mach-universal_c210.c| 7

[PATCH v3 03/12] clocksource: samsung-time: Drop useless defines from public header

2013-03-09 Thread Tomasz Figa
This patch cleans up public header from useless definitions. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/plat-samsung/include/plat/samsung-time.h | 6 -- drivers/clocksource/samsung-time.c| 10 +- 2 files changed, 5 insertions(+), 11 deletions

[PATCH v3 04/12] ARM: SAMSUNG: Move samsung-time.h header to inlude/clocksource

2013-03-09 Thread Tomasz Figa
This patch moves the samsung-time.h header file to include/clocksource directory and fixes all references to it. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-exynos/mach-universal_c210.c| 2 +- arch/arm/mach-s3c24xx/common.c| 2 +- arch/arm

[PATCH v3 05/12] clocksource: samsung-time: Use local register definitions

2013-03-09 Thread Tomasz Figa
This patch copies PWM timer register definitions to samsung-time.c. The original header in plat is being kept for now, since it is also used by other code that also needs to be reworked to be multiplatform-friendly. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/clocksource/samsung

[PATCH v3 06/12] clocksource: samsung-time: Remove use of static register mapping

2013-03-09 Thread Tomasz Figa
to the driver. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-exynos/mach-universal_c210.c | 1 + arch/arm/mach-s3c24xx/common.c | 1 + arch/arm/mach-s3c64xx/common.c | 1 + arch/arm/mach-s5p64x0/common.c | 1 + arch/arm/mach-s5pc100/common.c

[PATCH v3 07/12] clocksource: samsung-time: Use clk_get_sys for getting clocks

2013-03-09 Thread Tomasz Figa
This patch removes the need to reference platform_device structs defined in platform code, by using clk_get_sys instead of clk_get for getting necessary clocks. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/clocksource/samsung-time.c | 17 - 1 file changed, 4

[PATCH v3 08/12] ARM: SAMSUNG: devs: Drop unnecessary IRQ resources of timer devices

2013-03-09 Thread Tomasz Figa
Devices from s3c_device_timer array are used only for PWM driver, which does not need interrupts. This patch removes IRQ resources of those devices. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/plat-samsung/devs.c | 28 1 file changed, 8 insertions

[PATCH v3 09/12] clocksource: samsung-time: Do not use static IRQ definition

2013-03-09 Thread Tomasz Figa
As another step towards multiplatform support, this patch modifies the samsung-time clocksource driver and its users to pass timer IRQ numbers through the samsung_timer_variant structure. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-exynos/mach-universal_c210.c | 4

[PATCH v3 10/12] clocksource: samsung-time: Move IRQ mask/ack handling to the driver

2013-03-09 Thread Tomasz Figa
-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/mach-exynos/include/mach/irqs.h | 3 +-- arch/arm/mach-exynos/mach-universal_c210.c | 5 +++-- arch/arm/mach-s3c24xx/common.c | 1 + arch/arm/mach-s3c64xx/common.c | 8 +++- arch/arm/mach-s3c64xx/include/mach

[PATCH v3 11/12] ARM: SAMSUNG: Remove unused PWM timer IRQ chip code

2013-03-09 Thread Tomasz Figa
As the need for an IRQ chip handling PWM timer interrupt chaining is gone now, this patch removes all the code made unnecessary. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/Kconfig | 1 - arch/arm/mach-s3c64xx/common.c | 1

[PATCH v3 12/12] clocksource: samsung-time: Add Device Tree support

2013-03-09 Thread Tomasz Figa
This patch adds support for parsing all platform-specific data from Device Tree and instantiation using clocksource_of_init to samsung-time clocksource driver. Cc: devicetree-disc...@lists.ozlabs.org Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- .../devicetree/bindings/timer/samsung

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

2013-03-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 --- Documentation/devicetree

[PATCH v4 2/4] ARM: s3c64xx: Add board file for boot using Device Tree

2013-03-09 Thread Tomasz Figa
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 | 14 ++ arch/arm/mach-s3c64xx/Makefile | 1 + arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c | 83

[PATCH v4 3/4] ARM: dts: Add basic dts include files for Samsung S3C64xx SoCs

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

[PATCH v4 4/4] ARM: dts: Add dts file for S3C6410-based Mini6410 board

2013-03-09 Thread Tomasz Figa
This patch adds basic device tree sources for FriendlyARM Mini6410 board based on Samsung S3C6410 SoC. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/s3c6410-mini6410.dts | 50 ++ 2 files

[PATCH v4 0/4] Initial Device Tree support for S3C64xx

2013-03-09 Thread Tomasz Figa
VIC interrupt specifiers - Adjusted CPU compatible values and dropped @id Tomasz Figa (4): ARM: common: vic: Parse interrupt and resume masks from device tree ARM: s3c64xx: Add board file for boot using Device Tree ARM: dts: Add basic dts include files for Samsung S3C64xx SoCs ARM: dts

[PATCH 0/6] pinctrl: Add support for pin control on S3C64xx

2013-03-18 Thread Tomasz Figa
. I will post appropriate enablement patches after all the dependencies get merged to Kgene's tree. See particular patches for more detailed description of all changes. Tomasz Figa (6): pinctrl: samsung: Protect bank registers with a spinlock pinctrl: samsung: Include pinctrl-exynos driver

[PATCH 5/6] pinctrl: samsung: Handle banks with two configuration registers

2013-03-18 Thread Tomasz Figa
This patch adds support for banks that have more than one function configuration registers, e.g. some of the banks of S3C64xx SoCs. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/pinctrl/pinctrl-samsung.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers

[PATCH 6/6] pinctrl: Add pinctrl-s3c64xx driver

2013-03-18 Thread Tomasz Figa
This patch adds pinctrl-s3c64xx driver which implements pin control interface for Samsung S3C64xx SoCs. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- .../bindings/pinctrl/samsung-pinctrl.txt | 3 + drivers/pinctrl/Kconfig| 5 + drivers/pinctrl

[PATCH 4/6] pinctrl: samsung: Remove hardcoded register offsets

2013-03-18 Thread Tomasz Figa
This patch replaces statically hardcoded register offsets of Exynos SoCs with an array of register offsets in samsung_pin_bank_type struct. Thanks to this change, support for SoCs with other set and order of registers can be added (e.g. S3C24xx and S3C64xx). Signed-off-by: Tomasz Figa tomasz.f

[PATCH 3/6] pinctrl: samsung: Split pin bank description into two structures

2013-03-18 Thread Tomasz Figa
removing the statically hardcoded register offsets, making it impossible to support SoCs with different set and order of pin control registers. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/pinctrl/pinctrl-exynos.c | 19 +++ drivers/pinctrl/pinctrl-exynos.h | 16

[PATCH 2/6] pinctrl: samsung: Include pinctrl-exynos driver data conditionally

2013-03-18 Thread Tomasz Figa
Since pinctrl-samsung is a common part of the pin control support for several Samsung SoCs, it can be compiled without Exynos support enabled. This patch surrounds Exynos-specific driver data with ifdefs to include them only when support for Exynos is enabled. Signed-off-by: Tomasz Figa tomasz.f

Re: [PATCH 2/6] pinctrl: samsung: Include pinctrl-exynos driver data conditionally

2013-03-18 Thread Tomasz Figa
On Monday 18 of March 2013 22:31:51 Tomasz Figa wrote: Since pinctrl-samsung is a common part of the pin control support for several Samsung SoCs, it can be compiled without Exynos support enabled. This patch surrounds Exynos-specific driver data with ifdefs to include them only when support

[PATCH 1/6] pinctrl: samsung: Protect bank registers with a spinlock

2013-03-18 Thread Tomasz Figa
-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/pinctrl/pinctrl-exynos.c | 11 +++ drivers/pinctrl/pinctrl-samsung.c | 24 drivers/pinctrl/pinctrl-samsung.h | 2 ++ 3 files changed, 37 insertions(+) diff --git a/drivers/pinctrl/pinctrl-exynos.c b/drivers/pinctrl

Re: [PATCH v3 00/12] ARM: samsung-time: Prepare for multiplatform support

2013-03-23 Thread Tomasz Figa
Hi, On Saturday 09 of March 2013 21:23:09 Tomasz Figa wrote: This series is an attempt to make the samsung-time clocksource driver ready for multiplatform kernels. It moves the driver to drivers/clocksource, cleans it up from uses of static platform-specific definitions, simplifies timer

Re: [PATCH v4 0/4] Initial Device Tree support for S3C64xx

2013-03-23 Thread Tomasz Figa
Hi, On Saturday 09 of March 2013 21:29:31 Tomasz Figa wrote: This series adds 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

Re: [PATCH] arm:exynos5250: Restore CLK_SRC_TOP3 register via CCF

2013-03-26 Thread Tomasz Figa
@@ static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on) cpu_relax(); usleep_range(80, 100); } + + if (!power_on soc_is_exynos5250()) + exynos_pdclk_restore(pd); return 0; } Best regards, -- Tomasz Figa Samsung Poland RD Center SW

[PATCH 0/6] Samsung USB PHY SoC support cleanup

2013-03-26 Thread Tomasz Figa
data and additional case in two switches. Tested on Exynos4210-based Trats board and Exynos4412-based internal Samsung board. Tomasz Figa (6): usb: phy: samsung: Select common driver part implicitly usb: phy: samsung: Use clk_get to get reference clock usb: phy: samsung: Consolidate reference

[PATCH 1/6] usb: phy: samsung: Select common driver part implicitly

2013-03-26 Thread Tomasz Figa
. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/usb/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 7e8fe0f..5fb0939 100644 --- a/drivers/usb/phy

[PATCH 2/6] usb: phy: samsung: Use clk_get to get reference clock

2013-03-26 Thread Tomasz Figa
There is no need to use devm_clk_get to get a clock that is being put at the end of the function. This patch changes the code getting reference clock to use clk_get instead of useless in this case devm_clk_get. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

[PATCH 3/6] usb: phy: samsung: Consolidate reference clock rate handling

2013-03-26 Thread Tomasz Figa
This patch cleans up handling of reference clock rate in Samsung USB PHY drivers. It is mostly a cosmetic change but improves error handling in case of failing to get reference clock or invalid clock rate. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

[PATCH 4/6] usb: phy: samsung: Pass set_isolation callback through driver data

2013-03-26 Thread Tomasz Figa
This patch extends driver data structure with set_isolation callback, which allows to remove the need for checking for SoC type in a switch statement. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/usb/phy/phy-samsung-usb.c | 36

[PATCH 5/6] usb: phy: samsung: Pass enable/disable callbacks through driver data

2013-03-26 Thread Tomasz Figa
To remove unnecessary if statements, this patch introduces phy_enable and phy_disable callbacks in driver data structure that implement SoC-specific PHY initialization and deinitialization. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[PATCH] tty: serial: samsung: Disable interrupts in a suspend-friendly way

2013-03-26 Thread Tomasz Figa
, a bug caused by multiple request_irq calls in port startup callback is fixed. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/tty/serial/samsung.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/tty/serial/samsung.c

[PATCH 00/21] Various fixes and extensions to Exynos4 clock driver

2013-03-27 Thread Tomasz Figa
Majewski (1): clk: samsung: exynos4: Export clocks used by exynos cpufreq drivers Sylwester Nawrocki (2): clk: samsung: exynos4: Correct sclk_mfc clock definition clk: samsung: exynos4: Add camera related clock definitions Tomasz Figa (17): clk: samsung: exynos4: Use mout_mpll_user_

[PATCH 01/21] clk: samsung: exynos4: Correct sclk_mfc clock definition

2013-03-27 Thread Tomasz Figa
From: Sylwester Nawrocki s.nawro...@samsung.com This clock must be exported to allow lookup using device tree. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation

[PATCH 02/21] clk: samsung: exynos4: Use mout_mpll_user_* on Exynos4x12

2013-03-27 Thread Tomasz Figa
Many clock muxes of Exynos 4x12 uses mout_mpll_user_* clocks instead of sclk_mpll as one of their parents. This patch moves such clocks from common array into SoC-specific arrays and adjusts their parent lists respectively. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin

[PATCH 03/21] clk: samsung: exynos4: Add missing mout_mipihsi clock

2013-03-27 Thread Tomasz Figa
This patch adds missing output of mux MIPIHSI which is needed for div_mipihsi clock. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/samsung

[PATCH 04/21] clk: samsung: exynos4: Add missing sclk_audio0 clock

2013-03-27 Thread Tomasz Figa
This clock is a parent of mout_spdif and sclk_pcm0. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk

[PATCH 05/21] clk: samsung: exynos4: Export sclk_pcm0

2013-03-27 Thread Tomasz Figa
This clock is used by PCM interface 0. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/devicetree/bindings/clock/exynos4-clock.txt | 1 + drivers/clk/samsung/clk-exynos4.c | 4 ++-- 2 files changed, 3

[PATCH 06/21] clk: samsung: exynos4: Move dac and mixer to Exynos4210-specific clocks

2013-03-27 Thread Tomasz Figa
The sclk_dac and sclk_mixer clocks are not present on Exynos4x12. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung

[PATCH 08/21] clk: samsung: pll: Remove unimplemented ops

2013-03-27 Thread Tomasz Figa
Unimplemented clock operations should be simply omitted instead of returning error values. This patch removes unimplemented PLL operations to fix problems caused by returning error code in round_rate callback. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p

[PATCH 09/21] clk: samsung: exynos4: Export mout_core clock of Exynos4210

2013-03-27 Thread Tomasz Figa
This patch enables clock lookup registration for mout_core clock used in Exynos4210 cpufreq driver. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 10/21] clk: samsung: exynos4: Add camera related clock definitions

2013-03-27 Thread Tomasz Figa
From: Sylwester Nawrocki s.nawro...@samsung.com This patch adds several gate and mux clocks related to camera and ISP blocks. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off

[PATCH 11/21] clk: samsung: exynos4: Add G3D clocks

2013-03-27 Thread Tomasz Figa
This patch adds clocks needed for G3D block present on Exynos 4 SoCs. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/clock/exynos4-clock.txt| 4 drivers/clk/samsung/clk-exynos4.c | 22

[PATCH 12/21] clk: samsung: exynos4: Add missing CMU_TOP and ISP clocks

2013-03-27 Thread Tomasz Figa
From: Andrzej Hajda a.ha...@samsung.com The patch adds missing clocks to TOP and ISP clock domains. It also adds clock gates for ISP sub-blocks. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[PATCH 13/21] clk: samsung: exynos4: Add missing mout_sata on Exynos4210

2013-03-27 Thread Tomasz Figa
This patch adds missing mout_sata that is a parent of div_sata clock. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/samsung/clk-exynos4.c

[PATCH 14/21] clk: samsung: exynos4: Define {E,V}PLL registers

2013-03-27 Thread Tomasz Figa
This patch adds preprocessor definitions of EPLL and VPLL registers and replaces all occurences of offsets of related registers with new definitions. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 16

[PATCH 15/21] clk: samsung: exynos4: Use SRC_MASK_PERIL{0,1} definitions

2013-03-27 Thread Tomasz Figa
There are definitions of SRC_MASK_PERIL0 and SRC_MASK_PERIL1 registers, but they are not used for clock definitions. This patch modifies related clock definitions to use defined macros instead of numeric offsets. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 16/21] clk: samsung: exynos4: Remove SoC-specific registers from save list

2013-03-27 Thread Tomasz Figa
be supported by separate SoC-specific lists. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung

[PATCH 17/21] clk: samsung: exynos4: Add E4210 prefix to LCD1 clock registers

2013-03-27 Thread Tomasz Figa
This patch adds E4210 prefix to all registers related to LCD1 clock domain, because they are present only on Exynos4210. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 22 +++--- 1 file

[PATCH 19/21] clk: samsung: exynos4: Remove E4X12 prefix from SRC_DMC register

2013-03-27 Thread Tomasz Figa
This register is present on all Exynos4 SoCs and so the prefix is misleading. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 20/21] clk: samsung: exynos4: Add missing registers to suspend save list

2013-03-27 Thread Tomasz Figa
This patch adds missing clock control registers to the list of registers that should be saved across system suspend. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 33

[PATCH 21/21] clk: samsung: exynos4: Add support for SoC-specific register save list

2013-03-27 Thread Tomasz Figa
This patch extends suspend/resume support for SoC-specific registers to handle differences in register sets on particular SoCs. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c| 30

linux-next build failures with ARCH_EXYNOS

2013-03-27 Thread Tomasz Figa
] Error 2 make: *** [drivers] Error 2 This seems to be caused by commit 6e6aac7590 removing definitions of mentioned registers from arch/arm/mach-exynos/include/mach/regs-clock.h header. Best regards, -- Tomasz Figa Samsung Poland RD Center SW Solution Development, Kernel and System Framework

Re: [PATCH 3/6] usb: phy: samsung: Consolidate reference clock rate handling

2013-03-27 Thread Tomasz Figa
Hi Felipe, On Wednesday 27 of March 2013 15:19:58 Felipe Balbi wrote: Hi, On Tue, Mar 26, 2013 at 03:53:12PM +0100, Tomasz Figa wrote: @@ -307,6 +310,7 @@ static int samsung_usb3phy_remove(struct platform_device *pdev) static struct samsung_usbphy_drvdata usb3phy_exynos5

Re: [PATCH 3/6] usb: phy: samsung: Consolidate reference clock rate handling

2013-03-27 Thread Tomasz Figa
On Wednesday 27 of March 2013 15:31:49 Felipe Balbi wrote: Hi, On Wed, Mar 27, 2013 at 02:26:08PM +0100, Tomasz Figa wrote: Hi Felipe, On Wednesday 27 of March 2013 15:19:58 Felipe Balbi wrote: Hi, On Tue, Mar 26, 2013 at 03:53:12PM +0100, Tomasz Figa wrote: @@ -307,6

Re: [PATCH v3 00/12] ARM: samsung-time: Prepare for multiplatform support

2013-03-28 Thread Tomasz Figa
On Saturday 09 of March 2013 21:23:09 Tomasz Figa wrote: This series is an attempt to make the samsung-time clocksource driver ready for multiplatform kernels. It moves the driver to drivers/clocksource, cleans it up from uses of static platform-specific definitions, simplifies timer interrupt

Re: [PATCH 00/21] Various fixes and extensions to Exynos4 clock driver

2013-03-30 Thread Tomasz Figa
On Saturday 30 of March 2013 15:33:00 Thomas Abraham wrote: Hi Tomasz, On 27 March 2013 16:32, Tomasz Figa t.f...@samsung.com wrote: This series is a collection of various fixes and extensions to Exynos4 clock driver, which improve coverage of clocks present on Exynos4 SoCs and fix

Re: [PATCH 0/6] pinctrl: Add support for pin control on S3C64xx

2013-04-02 Thread Tomasz Figa
Hi, On Monday 18 of March 2013 22:31:49 Tomasz Figa wrote: This series makes necessary preparations to add support for pin controller available on Samsung S3C64xx using pinctrl-samsung driver and then adds pinctrl-s3c64xx driver which implements SoC-specific part of the code. It has been

[PATCH 0/2] input: touchscreen: atmel_mxt_ts: Add Device Tree support

2013-04-04 Thread Tomasz Figa
for the driver and adds respective documentation. Tested on Universal C210 board. Tomasz Figa (2): input: touchscreen: atmel_mxt_ts: Add support for voltage regulator input: touchscreen: atmel_mxt_ts: Add support for Device Tree .../bindings/input/touchscreen/atmel_mxt_ts.txt| 51 arch

[PATCH 1/2] input: touchscreen: atmel_mxt_ts: Add support for voltage regulator

2013-04-04 Thread Tomasz Figa
This patch removes the voltage field from platform data of the atmel_mxt_ts driver and replaces it with regulator support. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos/mach-nuri.c | 29

[PATCH 2/2] input: touchscreen: atmel_mxt_ts: Add support for Device Tree

2013-04-04 Thread Tomasz Figa
This patch adds support for Device Tree-based instantation to the atmel_mxt_ts driver. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../bindings/input/touchscreen/atmel_mxt_ts.txt| 51 +++ drivers/input/touchscreen

[PATCH 0/2] regulator: max8952: Add support for Device Tree

2013-04-04 Thread Tomasz Figa
. Tomasz Figa (2): regulator: max8952: Separate constraints from platform data struct regulator: max8952: Add Device Tree support .../devicetree/bindings/regulator/max8952.txt | 52 +++ arch/arm/mach-exynos/mach-universal_c210.c | 27 drivers/regulator/max8952.c

[PATCH 2/2] regulator: max8952: Add Device Tree support

2013-04-04 Thread Tomasz Figa
This patch adds Device Tree support to max8952 regulator driver. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/regulator/max8952.txt | 52 drivers/regulator/max8952.c

[PATCH 1/3] mfd: Add irq domain support for max8998 interrupts

2013-04-04 Thread Tomasz Figa
in platform data and max8997 driver private data are removed. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/mfd/Kconfig | 1 + drivers/mfd/max8998-irq.c | 61 ++--- drivers/mfd

[PATCH 0/3] regulator: max8998: Add support for Device Tree

2013-04-04 Thread Tomasz Figa
documentation. Tested on Universal C210 board. Tomasz Figa (3): mfd: Add irq domain support for max8998 interrupts regulator: max8998: Use arrays for specifying voltages in platform data mfd: max8998: Add support for Device Tree Documentation/devicetree/bindings/mfd/max8998.txt | 111

[PATCH 2/3] regulator: max8998: Use arrays for specifying voltages in platform data

2013-04-04 Thread Tomasz Figa
. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos/mach-universal_c210.c | 8 +-- arch/arm/mach-s5pv210/mach-aquila.c| 8 +-- arch/arm/mach-s5pv210/mach-goni.c | 8 +-- drivers/regulator/max8998.c

[PATCH 3/3] mfd: max8998: Add support for Device Tree

2013-04-04 Thread Tomasz Figa
This patch adds Device Tree support to max8998 driver. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/devicetree/bindings/mfd/max8998.txt | 111 +++ drivers/mfd/max8998.c | 75

[PATCH v4 01/14] ARM: SAMSUNG: Move samsung-time to drivers/clocksource

2013-04-04 Thread Tomasz Figa
This patch moves the Samsung PWM-based high resolution timer support code from arch/arm/plat-samsung to drivers/clocksource. This is a prerequisite for further work on making the driver more multiplatform and Device Tree friendly. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off

[PATCH v4 03/14] clocksource: samsung-time: Use local register definitions

2013-04-04 Thread Tomasz Figa
This patch copies PWM timer register definitions to samsung-time.c. The original header in plat is being kept for now, since it is also used by other code that also needs to be reworked to be multiplatform-friendly. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park

[PATCH v4 06/14] ARM: SAMSUNG: Add new PWM platform device

2013-04-04 Thread Tomasz Figa
This patch adds new samsung_device_pwm platform device that represents the whole PWM/timer block and includes memory and IRQ resources. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/devs.c | 16

[PATCH v4 07/14] ARM: SAMSUNG: Set PWM platform data

2013-04-04 Thread Tomasz Figa
This patch adds PWM platform data needed for legacy (non-DT) platforms to handle SoC-specific bits of the PWM/timer block. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos/common.c | 10 ++ arch/arm/mach

[PATCH v4 08/14] clocksource: samsung-time: Use Samsung PWM/timer master driver

2013-04-04 Thread Tomasz Figa
This patch modifies the samsung-time clocksource driver to use the interface provided by Samsung PWM/timer master driver to get platform data. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/devs.c

[PATCH v4 09/14] clocksource: samsung-time: Use variant data to get SoC-specific bits

2013-04-04 Thread Tomasz Figa
This patch modifies the driver to calculate SoC-specific parameters from variant data received from PWM/timer master driver. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/plat-samsung/include/plat/samsung-time.h | 17

[PATCH v4 10/14] clocksource: samsung-time: Use master driver to configure dividers

2013-04-04 Thread Tomasz Figa
This patch modifies the driver to use functions provided by master driver to configure PWM frequency dividers. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clocksource/samsung-time.c | 61

[PATCH v4 11/14] clocksource: samsung-time: Use clk_prepare_enable

2013-04-04 Thread Tomasz Figa
This patch modifies the driver to use clk_prepare_enable instead of clk_enable, as required to be compliant with Common Clock Framework. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clocksource/samsung-time.c | 2 +- 1 file

[PATCH v4 12/14] clocksource: samsung-time: Use master driver to control PWM channels

2013-04-04 Thread Tomasz Figa
This patch modifies the driver to use functions provided by the master driver to control status of PWM channels instead of modifying shared registers directly. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clocksource/samsung

[PATCH v4 13/14] clocksource: samsung-time: Move IRQ mask/ack handling to the driver

2013-04-04 Thread Tomasz Figa
-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos/include/mach/irqs.h | 3 +-- arch/arm/mach-s3c24xx/include/mach/irqs.h | 6 ++ arch/arm/mach-s3c64xx/common.c| 3 --- arch/arm/mach-s3c64xx/include/mach/irqs.h

[PATCH v4 14/14] ARM: SAMSUNG: Remove unused PWM timer IRQ chip code

2013-04-04 Thread Tomasz Figa
As the need for an IRQ chip handling PWM timer interrupt chaining is gone now, this patch removes all the code made unnecessary. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/Kconfig | 1

[PATCH 0/3] ARM: EXYNOS: DT-enabled support for Universal C210

2013-04-04 Thread Tomasz Figa
support (http://thread.gmane.org/gmane.linux.kernel.samsung-soc/17464) Tested on Universal C210 board. Tomasz Figa (3): ARM: dts: exynos4: Add node for PWM device ARM: EXYNOS: Add support for Exynos4210 EVT0 SoC ARM: dts: exynos4210: Add basic dts file for universal_c210 board arch/arm/boot/dts

[PATCH 1/3] ARM: dts: exynos4: Add node for PWM device

2013-04-04 Thread Tomasz Figa
This patch adds device tree node for PWM block present on Exynos 4 SoCs. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos4.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/exynos4

[PATCH 2/3] ARM: EXYNOS: Add support for Exynos4210 EVT0 SoC

2013-04-04 Thread Tomasz Figa
This patch extends mach-exynos4-dt generic board file with support for Exynos4210 EVT0 SoC, which differs in availability of system timers and needs different time initialization. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm

Re: [PATCH v4 00/14] ARM: samsung-time: Prepare for multiplatform support

2013-04-05 Thread Tomasz Figa
Hi Heiko, On Friday 05 of April 2013 01:15:02 Heiko Stübner wrote: Am Donnerstag, 4. April 2013, 18:36:57 schrieb Tomasz Figa: This series is an attempt to make the samsung-time clocksource driver ready for multiplatform kernels. It moves the driver to drivers/clocksource, cleans it up

Re: [PATCH v4 04/14] mfd: Add Samsung PWM/timer master driver

2013-04-05 Thread Tomasz Figa
Hi Samuel, On Friday 05 of April 2013 18:39:58 Samuel Ortiz wrote: Hi Tomasz, On Thu, Apr 04, 2013 at 06:37:01PM +0200, Tomasz Figa wrote: This patch adds master driver for PWM/timer block available on many Samsung SoCs providing clocksource and PWM output capabilities. Signed-off

Re: [PATCH v4 04/14] mfd: Add Samsung PWM/timer master driver

2013-04-05 Thread Tomasz Figa
On Friday 05 of April 2013 21:54:21 Arnd Bergmann wrote: On Friday 05 April 2013, Tomasz Figa wrote: I don't think anyone ever suggested using a private API though. I must have gotten the last paragraph of http://article.gmane.org/gmane.linux.kernel.samsung-soc/16638 wrong

Re: [PATCH v4 00/14] ARM: samsung-time: Prepare for multiplatform support

2013-04-05 Thread Tomasz Figa
On Thursday 04 of April 2013 18:36:57 Tomasz Figa wrote: This series is an attempt to make the samsung-time clocksource driver ready for multiplatform kernels. It moves the driver to drivers/clocksource, cleans it up from uses of static platform-specific definitions, simplifies timer interrupt

Re: [PATCH v4 04/14] mfd: Add Samsung PWM/timer master driver

2013-04-08 Thread Tomasz Figa
On Saturday 06 of April 2013 00:24:18 Tomasz Figa wrote: On Friday 05 of April 2013 21:54:21 Arnd Bergmann wrote: On Friday 05 April 2013, Tomasz Figa wrote: I don't think anyone ever suggested using a private API though. I must have gotten the last paragraph of http

Re: [PATCH] ARM: dts: fix bad merge of display timing node to exynos5250-smdk5250.dts

2013-04-08 Thread Tomasz Figa
Hi Doug, On Monday 08 of April 2013 12:21:32 Doug Anderson wrote: Kukjin, On Mon, Apr 8, 2013 at 11:29 AM, Kukjin Kim kgene@gmail.com wrote: BTW, if any problems on current for-next, please kindly let me know. I usually try to check linux-next at least once a week, but sometimes

Re: [GIT PULL 08/10] secure-exynos for v3.10

2013-04-10 Thread Tomasz Figa
bring-up (2013-04-09 01:52:30 +0900) add support secure firmware for exynos Tomasz Figa (5): ARM: Add interface for registering and calling

Re: [PATCH] pinctrl: Add pinctrl-s3c24xx driver

2013-04-10 Thread Tomasz Figa
-off-by: Heiko Stuebner he...@sntech.de --- Depends on the s3c64xx pinctrl work from Tomasz Figa. It also does not yet contain the pin-definitions for all s3c24xx SoCs, as I don't have datasheets for them. Tested on a s3c2416 based board. .../bindings/pinctrl/samsung-pinctrl.txt

Re: [PATCH] pinctrl: Add pinctrl-s3c24xx driver

2013-04-10 Thread Tomasz Figa
On Wednesday 10 of April 2013 14:20:22 Heiko Stübner wrote: Hi Tomasz, thanks for your comments, more inline. Am Mittwoch, 10. April 2013, 12:36:39 schrieb Tomasz Figa: Hi Heiko, Basically looks good to me, but please see my inline comments about handling of EINT0-3

Re: [PATCH] pinctrl: Add pinctrl-s3c24xx driver

2013-04-10 Thread Tomasz Figa
On Wednesday 10 of April 2013 15:45:48 Heiko Stübner wrote: Am Mittwoch, 10. April 2013, 14:31:29 schrieb Tomasz Figa: On Wednesday 10 of April 2013 14:20:22 Heiko Stübner wrote: Hi Tomasz, thanks for your comments, more inline. Am Mittwoch, 10. April 2013, 12:36:39 schrieb

Re: [PATCH] pinctrl: Add pinctrl-s3c24xx driver

2013-04-10 Thread Tomasz Figa
On Wednesday 10 of April 2013 22:11:03 Heiko Stübner wrote: Am Mittwoch, 10. April 2013, 21:51:11 schrieb Tomasz Figa: On Wednesday 10 of April 2013 15:45:48 Heiko Stübner wrote: Am Mittwoch, 10. April 2013, 14:31:29 schrieb Tomasz Figa: On Wednesday 10 of April 2013 14:20:22 Heiko

Re: [PATCH v2] pinctrl: Add pinctrl-s3c24xx driver

2013-04-11 Thread Tomasz Figa
the only use-case. But it can be expaned if other SoCs gain special handling requirements later on. Signed-off-by: Heiko Stuebner he...@sntech.de --- changes since v1: - address comments from Tomasz Figa: * split handling functions for eints 0-3 for s3c2412 and all others * change

Re: [PATCH v2] pinctrl: Add pinctrl-s3c24xx driver

2013-04-11 Thread Tomasz Figa
On Thursday 11 of April 2013 11:32:03 Heiko Stübner wrote: Am Donnerstag, 11. April 2013, 10:54:45 schrieb Tomasz Figa: Hi Heiko, As previously, generally looks good to me, but see my comments inline. On Thursday 11 of April 2013 01:16:41 Heiko Stübner wrote: The s3c24xx pins

<    1   2   3   4   5   6   7   8   9   10   >