Re: [PATCH] clocksource: exynos_mct: remove unwanted header file inclusion

2014-02-13 Thread Pankaj Dubey
On 01/10/2014 09:33 AM, Pankaj Dubey wrote: remove unwanted header file inclusion asm/mach/time.h from exynos_mct.c Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com --- drivers/clocksource/exynos_mct.c |2 -- 1 file changed, 2 deletions(-) diff --git

Re: [PATCH v3 1/7] cpufreq: cpufreq-cpu0: allow use of optional boost mode frequencies

2014-02-13 Thread Thomas Abraham
On Wed, Feb 12, 2014 at 8:28 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Thomas, On 07.02.2014 16:55, Thomas Abraham wrote: From: Thomas Abraham thomas...@samsung.com Lookup for the optional boost-frequency property in cpu0 node and if available, enable support for boost mode

[PATCH v2 10/14] Documentation: mfd: s2mps11: Document support for S2MPS14

2014-02-13 Thread Krzysztof Kozlowski
Add bindings documentation for S2MPS14 device to the s2mps11 driver. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Mark Brown broo...@kernel.org Cc: Liam Girdwood lgirdw...@gmail.com Cc: Tomasz Figa t.f...@samsung.com Cc: devicet...@vger.kernel.org Cc: Rob Herring

[PATCH v2 11/14] regulator: s2mps11: Add opmode for S2MPS14 regulators

2014-02-13 Thread Krzysztof Kozlowski
S2MPS11/S2MPS14 regulators support different modes of operation: - Always off; - On/Off controlled by pin/GPIO (PWREN/LDOEN/EMMCEN); - Always on; This is very similar to S5M8767 regulator driver which also supports opmodes (although S5M8767 have also low-power mode). This patch adds parsing

[PATCH v2 14/14] rtc: s5m: Add support for S2MPS14 RTC

2014-02-13 Thread Krzysztof Kozlowski
Add support for S2MPS14 to the rtc-s5m driver. Differences in S2MPS14 (in comparison to S5M8767): - Layout of registers; - Lack of century support for time and alarms (7 registers used for storing time/alarm); - Two buffer control registers: WUDR and RUDR; - No register for enabling writing

[PATCH v2 07/14] regulator: s2mps11: Copy supported regulators from initconst

2014-02-13 Thread Krzysztof Kozlowski
Add __initconst to 'regulator_desc' array with supported regulators. During probe choose how many and which regulators will be supported according to device ID. Then copy the 'regulator_desc' array to allocated memory so the regulator core can use it. Additionally allocate array of

[PATCH v2 06/14] regulator: s2mps11: Constify regulator_desc array

2014-02-13 Thread Krzysztof Kozlowski
Constify the regulator_desc 'regulators' array. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Mark Brown broo...@kernel.org Cc: Liam Girdwood lgirdw...@gmail.com --- drivers/regulator/s2mps11.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 13/14] rtc: s5m: Support different register layout

2014-02-13 Thread Krzysztof Kozlowski
This patch prepares for adding support for S2MPS14 RTC device to the rtc-s5m driver: 1. Adds a map of registers used by the driver which differ between the chipsets (S5M876X and S2MPS14). 2. Moves code of checking for alarm pending to separate function. Signed-off-by: Krzysztof Kozlowski

[PATCH v2 09/14] regulator: s2mps11: Add support for S2MPS14 regulators

2014-02-13 Thread Krzysztof Kozlowski
Add support for S2MPS14 PMIC regulators to s2mps11 driver. The S2MPS14 has fewer BUCK-s and LDO-s than S2MPS11. It also does not support controlling the BUCK ramp delay. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Mark Brown broo...@kernel.org Cc: Liam Girdwood

[PATCH v2 01/14] mfd: sec: Add maximum RTC register for regmap config

2014-02-13 Thread Krzysztof Kozlowski
Add maximum register to the regmap used by rtc-s5m driver. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/sec-core.c |2 ++ include/linux/mfd/samsung/rtc.h |2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH v2 00/14] mfd/regulator/rtc: sec: Add support for S2MPS14

2014-02-13 Thread Krzysztof Kozlowski
Hi, This is second version of patchset adding support for S2MPS14 device to the Samsung MFD driver family. Changes since v1 1. Added Lee Jones' ACK-s. 2. Applied suggestions from review (Lee Jones). 3. Regulator: added __initconst to regulator_desc array (Yadwinder Singh

[PATCH v2 05/14] mfd: sec: Use consistent S2MPS11 RTC alarm interrupt indexes

2014-02-13 Thread Krzysztof Kozlowski
The S2MPS11 RTC has two alarms: alarm0 and alarm1 (corresponding interrupts are named similarly). Use consistent names for interrupts to limit possible errors. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/sec-irq.c

[PATCH v2 08/14] mfd: sec: Add support for S2MPS14

2014-02-13 Thread Krzysztof Kozlowski
Add support for S2MPS14 PMIC device to the MFD sec-core driver. The S2MPS14 is similar to S2MPS11 but it has fewer regulators, two clocks instead of three and a little different registers layout. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Lee Jones lee.jo...@linaro.org

Re: [PATCH v2 03/14] mfd/rtc: sec/s5m: Rename SEC* symbols to S5M

2014-02-13 Thread Lee Jones
On Thu, 13 Feb 2014, Krzysztof Kozlowski wrote: This patch prepares for adding support for S2MPS14 RTC device to the rtc-s5m driver: 1. Renames SEC* symbols to S5M. 2. Adds S5M prefix to some of defines which are different between S5M876X and S2MPS14. This is only a rename-like patch, new

Re: [PATCH v3 1/7] cpufreq: cpufreq-cpu0: allow use of optional boost mode frequencies

2014-02-13 Thread Tomasz Figa
On 13.02.2014 09:02, Thomas Abraham wrote: On Wed, Feb 12, 2014 at 8:28 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Thomas, On 07.02.2014 16:55, Thomas Abraham wrote: [snip] diff --git a/drivers/cpufreq/cpufreq-cpu0.c b/drivers/cpufreq/cpufreq-cpu0.c index 0c12ffc..06539eb 100644 ---

Re: [PATCH v2 11/14] regulator: s2mps11: Add opmode for S2MPS14 regulators

2014-02-13 Thread Yadwinder Singh Brar
Hi, On Thu, Feb 13, 2014 at 2:44 PM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: S2MPS11/S2MPS14 regulators support different modes of operation: - Always off; - On/Off controlled by pin/GPIO (PWREN/LDOEN/EMMCEN); - Always on; This is very similar to S5M8767 regulator driver which

Re: [PATCH v2 07/14] regulator: s2mps11: Copy supported regulators from initconst

2014-02-13 Thread Krzysztof Kozlowski
On Thu, 2014-02-13 at 17:51 +0530, Yadwinder Singh Brar wrote: Hi, On Thu, Feb 13, 2014 at 2:44 PM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: Add __initconst to 'regulator_desc' array with supported regulators. During probe choose how many and which regulators will be supported

[PATCH 07/14] regulator: s2mps11: Copy supported regulators from initconst

2014-02-13 Thread Krzysztof Kozlowski
Add __initconst to 'regulator_desc' array with supported regulators. During probe choose how many and which regulators will be supported according to device ID. Then copy the 'regulator_desc' array to allocated memory so the regulator core can use it. Additionally allocate array of

Re: [PATCH v2 11/14] regulator: s2mps11: Add opmode for S2MPS14 regulators

2014-02-13 Thread Lee Jones
S2MPS11/S2MPS14 regulators support different modes of operation: - Always off; - On/Off controlled by pin/GPIO (PWREN/LDOEN/EMMCEN); - Always on; This is very similar to S5M8767 regulator driver which also supports opmodes (although S5M8767 have also low-power mode). This patch adds

Re: [PATCH v2 11/14] regulator: s2mps11: Add opmode for S2MPS14 regulators

2014-02-13 Thread Krzysztof Kozlowski
On Thu, 2014-02-13 at 12:43 +, Lee Jones wrote: S2MPS11/S2MPS14 regulators support different modes of operation: - Always off; - On/Off controlled by pin/GPIO (PWREN/LDOEN/EMMCEN); - Always on; This is very similar to S5M8767 regulator driver which also supports opmodes

Re: [PATCH v2 10/14] Documentation: mfd: s2mps11: Document support for S2MPS14

2014-02-13 Thread Tomasz Figa
Hi, On 13.02.2014 10:14, Krzysztof Kozlowski wrote: Add bindings documentation for S2MPS14 device to the s2mps11 driver. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Mark Brown broo...@kernel.org Cc: Liam Girdwood lgirdw...@gmail.com Cc: Tomasz Figa t.f...@samsung.com Cc:

Re: [PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-02-13 Thread Greg KH
On Mon, Jan 20, 2014 at 10:04:15AM +, Russell King - ARM Linux wrote: On Mon, Jan 20, 2014 at 02:32:35PM +0530, Tushar Behera wrote: uart_register_driver call binds the driver to a specific device node through tty_register_driver call. This should typically happen during device probe

Re: [PATCH 07/14] regulator: s2mps11: Copy supported regulators from initconst

2014-02-13 Thread Mark Brown
On Thu, Feb 13, 2014 at 01:37:03PM +0100, Krzysztof Kozlowski wrote: Add __initconst to 'regulator_desc' array with supported regulators. During probe choose how many and which regulators will be supported according to device ID. Then copy the 'regulator_desc' array to allocated memory so the

Re: [PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-02-13 Thread Greg KH
On Thu, Feb 13, 2014 at 06:15:59PM +, Russell King - ARM Linux wrote: On Thu, Feb 13, 2014 at 10:12:16AM -0800, Greg KH wrote: On Mon, Jan 20, 2014 at 10:04:15AM +, Russell King - ARM Linux wrote: On Mon, Jan 20, 2014 at 02:32:35PM +0530, Tushar Behera wrote: uart_register_driver

Re: [PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-02-13 Thread Russell King - ARM Linux
On Thu, Feb 13, 2014 at 10:27:01AM -0800, Greg KH wrote: On Thu, Feb 13, 2014 at 06:15:59PM +, Russell King - ARM Linux wrote: On Thu, Feb 13, 2014 at 10:12:16AM -0800, Greg KH wrote: On Mon, Jan 20, 2014 at 10:04:15AM +, Russell King - ARM Linux wrote: On Mon, Jan 20, 2014 at

Re: [PATCH 2/3] arm64: Add Kconfig option for Samsung GH7 SoC family

2014-02-13 Thread Olof Johansson
On Mon, Feb 10, 2014 at 6:52 PM, Kukjin Kim kgene@samsung.com wrote: On 02/13/14 04:14, Arnd Bergmann wrote: On Wednesday 12 February 2014 13:04:40 Kumar Gala wrote: On Feb 12, 2014, at 12:12 PM, Catalin Marinascatalin.mari...@arm.com wrote: On 12 Feb 2014, at 16:25, Kumar

Re: [PATCH v2 11/14] regulator: s2mps11: Add opmode for S2MPS14 regulators

2014-02-13 Thread Mark Brown
On Thu, Feb 13, 2014 at 10:14:04AM +0100, Krzysztof Kozlowski wrote: S2MPS11/S2MPS14 regulators support different modes of operation: - Always off; - On/Off controlled by pin/GPIO (PWREN/LDOEN/EMMCEN); - Always on; This is very similar to S5M8767 regulator driver which also supports

Re: [PATCH v2 09/14] regulator: s2mps11: Add support for S2MPS14 regulators

2014-02-13 Thread Mark Brown
On Thu, Feb 13, 2014 at 10:14:02AM +0100, Krzysztof Kozlowski wrote: Add support for S2MPS14 PMIC regulators to s2mps11 driver. The S2MPS14 has fewer BUCK-s and LDO-s than S2MPS11. It also does not support controlling the BUCK ramp delay. How different are the other Samsung PMICs? They share

Re: [PATCH] ARM: SAMSUNG: remove unneeded s3c24xx_init_cpu()

2014-02-13 Thread Kukjin Kim
On 01/13/14 05:34, Heiko Stübner wrote: The function is nearly empty and samsung_cpu_rev is static so already 0 making the function obsolete, therefore remove it. Signed-off-by: Heiko Stuebnerhe...@sntech.de --- arch/arm/mach-s3c24xx/common.c |1 - arch/arm/plat-samsung/cpu.c

Re: [PATCH] clocksource: exynos_mct: remove unwanted header file inclusion

2014-02-13 Thread Kukjin Kim
On 01/10/14 09:33, Pankaj Dubey wrote: remove unwanted header file inclusion asm/mach/time.h from exynos_mct.c Signed-off-by: Pankaj Dubeypankaj.du...@samsung.com --- drivers/clocksource/exynos_mct.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clocksource/exynos_mct.c

Re: [PATCH] ARM: S3C24XX: Fix typo CONFIG_CPUS_3C2443

2014-02-13 Thread Kukjin Kim
On 02/12/14 18:47, Sachin Kamat wrote: On 12 February 2014 15:11, Paul Bollepebo...@tiscali.nl wrote: Signed-off-by: Paul Bollepebo...@tiscali.nl --- Untested. This needs testing by people with access to knowledge, compilers, and/or hardware related to CPU_S3C2443. I'm not one of them.

Re: [PATCH] ARM: dts: exynos5250-arndale: Keep G3D regulator always on

2014-02-13 Thread Kukjin Kim
On 02/12/14 02:50, Tomasz Figa wrote: Apparently, if G3D regulator is powered off, the SoC cannot enter low power modes and just hangs. This patch fixes this by keeping the regulator always on when the system is running, as suggested by Exynos 4 User's Manual in case of Exynos4210/4x12 SoCs

Re: [PATCH 22/28] Remove S3C24XX_GPIO_EXTRA128

2014-02-13 Thread Kukjin Kim
On 02/11/14 12:31, Kukjin Kim wrote: On 02/10/14 03:48, Richard Weinberger wrote: The symbol is an orphan, get rid of it. Signed-off-by: Richard Weinbergerrich...@nod.at --- arch/arm/mach-s3c24xx/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-s3c24xx/Kconfig

Re: [PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-02-13 Thread Greg KH
On Thu, Feb 13, 2014 at 06:42:49PM +, Russell King - ARM Linux wrote: On Thu, Feb 13, 2014 at 10:27:01AM -0800, Greg KH wrote: On Thu, Feb 13, 2014 at 06:15:59PM +, Russell King - ARM Linux wrote: On Thu, Feb 13, 2014 at 10:12:16AM -0800, Greg KH wrote: On Mon, Jan 20, 2014 at

Re: [PATCH 6/9 v6] ARM: dts: exynos5250/5420: add dt node for sss module

2014-02-13 Thread Kukjin Kim
On 02/07/14 14:24, Naveen Krishna Chatradhi wrote: This patch adds the device tree node for SSS module found on Exynos5420 and Exynos5250 Signed-off-by: Naveen Krishna Chatradhich.nav...@samsung.com Reviewed-by: Tomasz Figat.f...@samsung.com TO:linux-samsung-soc@vger.kernel.org CC: Kukjin

Re: [PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-02-13 Thread Russell King - ARM Linux
On Thu, Feb 13, 2014 at 03:26:06PM -0800, Greg KH wrote: On Thu, Feb 13, 2014 at 06:42:49PM +, Russell King - ARM Linux wrote: We went through this before, and I stated the paths, and no one disagreed with that. It /is/ racy. Ok, I just went and looked at the uart driver register

Re: [PATCH RESEND v2 00/12] clk/exynos convert clock IDs to macros

2014-02-13 Thread Kukjin Kim
On 01/28/14 06:49, Mike Turquette wrote: Quoting Tomasz Figa (2014-01-07 07:17:22) Hi Mike, On Tuesday 07 of January 2014 15:47:28 Andrzej Hajda wrote: Hi, This patch set adds header files with macros defining exynos clocks. Then it converts dts files and drivers to use macros instead of

Re: [PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-02-13 Thread Greg KH
On Fri, Feb 14, 2014 at 12:07:17AM +, Russell King - ARM Linux wrote: On Thu, Feb 13, 2014 at 03:26:06PM -0800, Greg KH wrote: On Thu, Feb 13, 2014 at 06:42:49PM +, Russell King - ARM Linux wrote: We went through this before, and I stated the paths, and no one disagreed with that.

RE: [PATCH] iommu/exynos: Remove driver

2014-02-13 Thread Cho KyongHo
-Original Message- From: Olof Johansson [mailto:o...@lixom.net] Sent: Friday, February 14, 2014 4:34 AM On Mon, Feb 10, 2014 at 10:21 PM, Kukjin Kim kgene@gmail.com wrote: Just adding KyongHo Cho. If he can fixup for this time, it would be best solution because he knows

Re: [PATCH RESEND v2 00/12] clk/exynos convert clock IDs to macros

2014-02-13 Thread Kukjin Kim
On 02/14/14 09:10, Kukjin Kim wrote: On 01/28/14 06:49, Mike Turquette wrote: Quoting Tomasz Figa (2014-01-07 07:17:22) Hi Mike, On Tuesday 07 of January 2014 15:47:28 Andrzej Hajda wrote: Hi, This patch set adds header files with macros defining exynos clocks. Then it converts dts files

Re: Samsung-clk patches for 3.15

2014-02-13 Thread Kukjin Kim
On 02/14/14 09:05, Kukjin Kim wrote: On 01/28/14 09:17, Tomasz Figa wrote: On 28.01.2014 01:09, Kukjin Kim wrote: Tomasz Figa wrote: [Forgot to Cc Mike...] On 24.01.2014 15:38, Tomasz Figa wrote: Hi, Hi, Linux 3.14 is going to include Andrzej Hajda's patches converting Samsung clock

Re: [PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-02-13 Thread Russell King - ARM Linux
On Thu, Feb 13, 2014 at 04:14:36PM -0800, Greg KH wrote: On Fri, Feb 14, 2014 at 12:07:17AM +, Russell King - ARM Linux wrote: On Thu, Feb 13, 2014 at 03:26:06PM -0800, Greg KH wrote: On Thu, Feb 13, 2014 at 06:42:49PM +, Russell King - ARM Linux wrote: We went through this

Re: [PATCH 6/9 v6] ARM: dts: exynos5250/5420: add dt node for sss module

2014-02-13 Thread Naveen Krishna Ch
Hello Kukjin, On 14 February 2014 05:02, Kukjin Kim kgene@samsung.com wrote: On 02/14/14 08:28, Kukjin Kim wrote: On 02/07/14 14:24, Naveen Krishna Chatradhi wrote: This patch adds the device tree node for SSS module found on Exynos5420 and Exynos5250 Signed-off-by: Naveen Krishna