[PATCH 0/2] mmc: core: Support packed command feature of eMMC4.5

2011-11-02 Thread Seungwon Jeon
This patch-set adds support of packed command feature for eMMC4.5 devices. Seungwon Jeon (2): mmc: core: Add packed command feature of eMMC4.5 mmc: core: Support packed command for eMMC4.5 device drivers/mmc/card/block.c | 355 --

[PATCH 1/2] mmc: core: Add packed command feature of eMMC4.5

2011-11-02 Thread Seungwon Jeon
This patch adds packed command feature of eMMC4.5. The maximum number for packing read(or write) is offered and exception event relevant to packed command which is used for error handling is enabled. If host wants to use this feature, MMC_CAP2_PACKED_CMD should be set. Signed-off-by: Seungwon

Re: [PATCH 2/2] mmc: core: Support packed command for eMMC4.5 device

2011-11-02 Thread Girish K S
On 2 November 2011 04:03, Seungwon Jeon tgih@samsung.com wrote: This patch supports packed command of eMMC4.5 device. Several reads(or writes) can be grouped in packed command and all data of the individual commands can be sent in a single transfer on the bus. Signed-off-by: Seungwon

[PATCH V4 1/4] ARM: S3C64XX: Add SPI clkdev support

2011-11-02 Thread Padmavathi Venna
Registered the SPI bus clocks with clkdev using generic connection id. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/mach-s3c64xx/clock.c | 80 + 1 files changed, 49 insertions(+), 31 deletions(-) diff --git

[PATCH V4 3/4] ARM: S5P64X0: Add SPI clkdev support

2011-11-02 Thread Padmavathi Venna
Registered the SPI bus clocks with clkdev using generic connection id. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/mach-s5p64x0/clock-s5p6440.c | 61 +++- arch/arm/mach-s5p64x0/clock-s5p6450.c | 49 +++--- 2 files changed,

[PATCH V4 0/4] Add SPI clkdev support

2011-11-02 Thread Padmavathi Venna
This patchset modifies the existing clkdev to make SPI driver independent of the clock names send from platform data. This patches enables the SPI driver to request SPI bus clocks using generic connection ID. Link to V1: http://www.spinics.net/lists/arm-kernel/msg141671.html V2 Changes:

[PATCH V4 2/4] ARM: S5PC100: Add SPI clkdev support

2011-11-02 Thread Padmavathi Venna
Registered the SPI bus clocks with clkdev using generic connection id. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/mach-s5pc100/clock.c | 124 - 1 files changed, 73 insertions(+), 51 deletions(-) diff --git

[PATCH V4 4/4] ARM: S5PV210: Add SPI clkdev support

2011-11-02 Thread Padmavathi Venna
Registered the SPI bus clocks with clkdev using generic connection id. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/mach-s5pv210/clock.c | 50 1 files changed, 30 insertions(+), 20 deletions(-) diff --git

[RESEND][PATCH 6/6] ARM: SAMSUNG: Remove SPI bus clocks from platform data

2011-11-02 Thread Padmavathi Venna
SPI bus clocks can be avoided passing through platform data as spi driver is getting the bus clock using the generic clock connection id registered via clkdev. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/mach-s3c64xx/dev-spi.c |7 ---

RE: [PATCH 1/7] SPI: S3C64XX: Use bus clocks created using clkdev

2011-11-02 Thread Kukjin Kim
padma venkat wrote: Hi All, On Tue, Sep 27, 2011 at 4:52 AM, Kukjin Kim kgene@samsung.com wrote: Grant Likely wrote: On Fri, Sep 23, 2011 at 05:23:41PM +0530, Padmavathi Venna wrote: This patch modifies the driver to stop depending on the clock names being passed from

Re: [PATCH 5/7] ARM: EXYNOS4: Add support external GIC

2011-11-02 Thread Marc Zyngier
On 12/10/11 06:16, Kukjin Kim wrote: Marc Zyngier wrote: Hi Changwan, On 11/10/11 13:22, Changhwan Youn wrote: Kukjin, could you please comment on the presence of a common memory region for the distributor? This seem quite odd... Some registers in Distributor are banked for PPI and SGI

RE: [PATCH V4 0/4] Add SPI clkdev support

2011-11-02 Thread Kukjin Kim
Padmavathi Venna wrote: This patchset modifies the existing clkdev to make SPI driver independent of the clock names send from platform data. This patches enables the SPI driver to request SPI bus clocks using generic connection ID. Link to V1:

RE: [PATCH v5 0/2] Add device tree support for Samsung's keypad controller driver

2011-11-02 Thread Kukjin Kim
Kukjin Kim wrote: On 10/11/11 14:09, Kukjin Kim wrote: Thomas Abraham wrote: Changes since v4: - Tested with linux 3.1-rc9. No changes in code. Changes since v3: - Addressed comments from Grant Likely. - Set num_rows and num_cols to zero in samsung_keypad_parse_dt function.

RE: [PATCH 5/7] ARM: EXYNOS4: Add support external GIC

2011-11-02 Thread Kukjin Kim
Marc Zyngier wrote: On 12/10/11 06:16, Kukjin Kim wrote: Marc Zyngier wrote: Hi Changwan, On 11/10/11 13:22, Changhwan Youn wrote: Kukjin, could you please comment on the presence of a common memory region for the distributor? This seem quite odd... Some registers in

Re: [PATCH 2/2] mmc: core: Support packed command for eMMC4.5 device

2011-11-02 Thread S, Venkatraman
On Wed, Nov 2, 2011 at 1:33 PM, Seungwon Jeon tgih@samsung.com wrote: This patch supports packed command of eMMC4.5 device. Several reads(or writes) can be grouped in packed command and all data of the individual commands can be sent in a single transfer on the bus. Signed-off-by:

RE: [PATCH v2] gpio/samsung: Add device tree support for Exynos4

2011-11-02 Thread Kukjin Kim
Thomas Abraham wrote: As gpio chips get registered, a device tree node which represents the gpio chip is searched and attached to it. A translate function is also provided to convert the gpio specifier into actual platform settings for pin function selection, pull up/down and driver strength

RE: [PATCH] ARM: SAMSUNG: Fix compile error due to kfree

2011-11-02 Thread Kukjin Kim
jhbird.c...@gmail.com wrote: From: Jonghwan Choi jhbird.c...@gmail.com Fix implicit declaration of function 'kfree' Signed-off-by: Jonghwan Choi jhbird.c...@gmail.com --- arch/arm/plat-samsung/dev-backlight.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

RE: [PATCH V6] SDHCI: S3C: Use generic clock names for sdhci bus clock options

2011-11-02 Thread Kukjin Kim
Rajeshwari Shinde wrote: This patch modifies the driver to stop depending on the clock names being passed from the platform and switch over to bus clock lookup using generic clock names. V6 Changes: Changed sprintf to snprintf as suggested by Chris Ball. Signed-off-by: Rajeshwari

[PATCH 1/5] [CPUFREQ] EXYNOS4210: Remove code about bus on cpufreq

2011-11-02 Thread Kukjin Kim
From: Jongpill Lee boyko@samsung.com This patch removes code for bus on cpufreq because the code for bus frequency changing moves to busfreq driver. So code about bus on cpufreq is not necessary. Signed-off-by: Jongpill Lee boyko@samsung.com Signed-off-by: SangWook Ju sw...@samsung.com

[PATCH 2/5] [CPUFREQ] EXYNOS4210: Update frequency table for cpu divider

2011-11-02 Thread Kukjin Kim
From: Jongpill Lee boyko@samsung.com This patch is changes frequency table for cpu divider for stable frequency. Signed-off-by: Jongpill Lee boyko@samsung.com Signed-off-by: SangWook Ju sw...@samsung.com Signed-off-by: Jaecheol Lee jc@samsung.com Signed-off-by: Kukjin Kim

[PATCH 3/5] [CPUFREQ] EXYNOS4210: cpufreq code is changed for stable working

2011-11-02 Thread Kukjin Kim
From: Jongpill Lee boyko@samsung.com This patch is modify code for stable working 1. Remove unused register access code 2. Change sequence for frequency changing Signed-off-by: Jongpill Lee boyko@samsung.com Signed-off-by: SangWook Ju sw...@samsung.com Signed-off-by: Jonghwan Choi

[PATCH 4/5] [CPUFREQ] EXYNOS4210: Add DVS lock feature for other driver

2011-11-02 Thread Kukjin Kim
From: Jongpill Lee boyko@samsung.com This patch adds DVS lock feature for other driver and pm/ reboot notifier to enhance stability. Signed-off-by: Jongpill Lee boyko@samsung.com Signed-off-by: SangWook Ju sw...@samsung.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com

[PATCH 5/5] [CPUFREQ] EXYNOS4210: Add support ASV feature

2011-11-02 Thread Kukjin Kim
From: Jaecheol Lee jc@samsung.com This patch adds support ASV on Exynos4210. Exynos4 CPUFREQ driver uses Adaptive Supply Voltage to configure voltage table. Signed-off-by: Jaecheol Lee jc@samsung.com --- arch/arm/mach-exynos4/include/mach/cpufreq.h |7 +++

RE: Exynos4: Enable device tree support for GIC controller

2011-11-02 Thread Kukjin Kim
Thomas Abraham wrote: Changes since v1: - Dropped device tree support for interrupt combiner controller from this patchset. Some rework in the interrupt combiner controller code is required to address the irq domain related comments from Grant Likely and hence those changes will be in

RE: [PATCH v2 0/2] ARM: Samsung: Add basic device tree support for Exynos4 boards

2011-11-02 Thread Kukjin Kim
Thomas Abraham wrote: Changes since v1: - Removed unique per-controller compatible string value from gpio controller nodes to align with the updated device tree support for exynos4 gpio controller. - Removed the interrupt combiner controller node. This patchset adds a new basic device

RE: [PATCH 1/2] arm: samsung: support the second capability for hsmmc

2011-11-02 Thread Kukjin Kim
Jaehoon Chung wrote: Well... Firstly, you need to add description here why this change is needed. Secondly, you need to check latest maintainer's tree, in this case, the dev-xxx.c are merged into plat-samsung/devs.c ago. Thanks. Best regards, Kgene. -- Kukjin Kim kgene@samsung.com,

RE: [PATCH 1/5] [CPUFREQ] EXYNOS4210: Remove code about bus on cpufreq

2011-11-02 Thread Kukjin Kim
Kukjin Kim wrote: From: Jongpill Lee boyko@samsung.com This patch removes code for bus on cpufreq because the code for bus frequency changing moves to busfreq driver. So code about bus on cpufreq is not necessary. Signed-off-by: Jongpill Lee boyko@samsung.com Signed-off-by:

Re: [PATCH V4 0/4] Add SPI clkdev support

2011-11-02 Thread Russell King - ARM Linux
On Wed, Nov 02, 2011 at 05:06:40PM -0400, Padmavathi Venna wrote: This patchset modifies the existing clkdev to make SPI driver independent of the clock names send from platform data. No it does not. It modifies the clkdev lookup tables. When I read this I thought 'why are you modifying the

Re: [PATCH v2] gpio/samsung: Add device tree support for Exynos4

2011-11-02 Thread Thomas Abraham
Hi Sylwester, On 1 November 2011 13:52, Sylwester Nawrocki snj...@gmail.com wrote: Hi Thomas, thanks for your work on this. On 11/01/2011 01:43 AM, Thomas Abraham wrote: As gpio chips get registered, a device tree node which represents the gpio chip is searched and attached to it. A

Re: [PATCH v2] gpio/samsung: Add device tree support for Exynos4

2011-11-02 Thread Thomas Abraham
Hi Mr. Kim, On 2 November 2011 17:25, Kukjin Kim kgene@samsung.com wrote: Thomas Abraham wrote: As gpio chips get registered, a device tree node which represents the gpio chip is searched and attached to it. A translate function is also provided to convert the gpio specifier into actual

Re: [PATCH v2] gpio/samsung: Add device tree support for Exynos4

2011-11-02 Thread Mark Brown
On Wed, Nov 02, 2011 at 06:35:05PM +0530, Thomas Abraham wrote: On 1 November 2011 13:52, Sylwester Nawrocki snj...@gmail.com wrote: It doesn't give as much advantage, and introduces an overhead of doing an additional remapping. However I find current mapping of the DT specifier values to

[PATCH 1/6] mmc: sdhci-s3c: Remove usage of clk_type member in platform data

2011-11-02 Thread Thomas Abraham
SDHCI controllers on Exynos4 do not include the sdclk divider as per the sdhci controller specification. This case can be represented using the sdhci quirk SDHCI_QUIRK_NONSTANDARD_CLOCK instead of using an additional enum type definition 'clk_types'. Hence, usage of clk_type member in platform

[PATCH 0/6] mmc: sdhci-s3c: Rework platform data and add device tree support.

2011-11-02 Thread Thomas Abraham
This patchset removes all uses of 'clk_type' member from the platform data of sdhci-s3c driver and adds device tree support for sdhci-s3c driver. This patchset has merged the following two patchsets submitted earlier into one patchset. [PATCH 0/3] mmc: sdhci-s3c: Remove 'clk_type' member from

[PATCH 2/6] arm: exynos4: use 'exynos4-sdhci' as device name for sdhci controllers

2011-11-02 Thread Thomas Abraham
With the addition of platform specific driver data in the sdhci driver for exynos4, the device name of sdhci controllers on exynos4 is changed accordingly. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos4/clock.c

[PATCH 5/6] mmc: Add OF bindings support for mmc host controller capabilities

2011-11-02 Thread Thomas Abraham
Device nodes representing sd/mmc controllers in a device tree would include mmc host controller capabilities. Add support for parsing of mmc host controller capabilities included in device nodes. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org ---

[PATCH 6/6] mmc: sdhci-s3c: Add device tree support

2011-11-02 Thread Thomas Abraham
Add device tree based discovery support for Samsung's sdhci controller Cc: Ben Dooks ben-li...@fluff.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../devicetree/bindings/mmc/samsung-sdhci.txt | 75 ++ drivers/mmc/host/sdhci-s3c.c | 152

[PATCH 4/6] mmc: sdhci-s3c: Keep a copy of platform data and use it

2011-11-02 Thread Thomas Abraham
The platform data is copied into driver's private data and the copy is used for all access to the platform data. This simpifies the addition of device tree support for the sdhci-s3c driver. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/mmc/host/sdhci-s3c.c | 11

[PATCH 3/6] arm: samsung: remove all uses of clk_type member in sdhci platform data

2011-11-02 Thread Thomas Abraham
The sdhci driver is modified to be independent of clk_type member in the sdhci platform data. Hence, all usage of clk_type in platform code is removed. Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: JeongHyeon Kim jh...@insignal.co.kr Cc: Kukjin Kim kgene@samsung.com Cc: Changhwan Youn

Re: [PATCH V6] SDHCI: S3C: Use generic clock names for sdhci bus clock options

2011-11-02 Thread Thomas Abraham
On 31 October 2011 11:14, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch modifies the driver to stop depending on the clock names being passed from the platform and switch over to bus clock lookup using generic clock names. V6 Changes: Changed sprintf to snprintf as suggested

RE: [PATCH 2/2] mmc: core: Support packed command for eMMC4.5 device

2011-11-02 Thread Seungwon Jeon
S, Venkatraman svenk...@ti.com wrote: On Wed, Nov 2, 2011 at 1:33 PM, Seungwon Jeon tgih@samsung.com wrote: This patch supports packed command of eMMC4.5 device. Several reads(or writes) can be grouped in packed command and all data of the individual commands can be sent in a single

RE: [PATCH] ARM: SAMSUNG: Add clk enable/disable of pwm

2011-11-02 Thread Kukjin Kim
Joonyoung Shim wrote: PWM timers use pclk(timers clk) as parent clk. If this pclk is the disabled state when PWM driver is probed, then it causes wrong read and write operation about registers of PWM. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Signed-off-by: Kyungmin Park

RE: [PATCH 1/3 v3] ARM: EXYNOS4: Support for generic I/O power domains on EXYNOS4210/4212

2011-11-02 Thread Kukjin Kim
Chanwoo Choi wrote: This patch support the generic power domains to control power domain of EXYNOS4. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-exynos4/Kconfig |2 +

RE: [PATCH V6] SDHCI: S3C: Use generic clock names for sdhci bus clock options

2011-11-02 Thread Kukjin Kim
Chris Ball wrote: Hi Kukjin, On Wed, Nov 02 2011, Kukjin Kim wrote: This patch modifies the driver to stop depending on the clock names being passed from the platform and switch over to bus clock lookup using generic clock names. V6 Changes: Changed sprintf to snprintf as

Re: [PATCH] ARM: SAMSUNG: Add clk enable/disable of pwm

2011-11-02 Thread Joonyoung Shim
11/03/2011 10:59 AM, Kukjin Kim 쓴 글: Joonyoung Shim wrote: PWM timers use pclk(timers clk) as parent clk. If this pclk is the disabled state when PWM driver is probed, then it causes wrong read and write operation about registers of PWM. Signed-off-by: Joonyoung Shimjy0922.s...@samsung.com

[PATCHv2 1/2] arm: samsung: support the second capability for samsung-soc

2011-11-02 Thread Jaehoon Chung
In mmc, there are capabilities and use the host_caps. That capability is expressed with bit[0:31]. But now..already filled the bit[0:31]... so we need to denote with the other capability field. (if we want to use the cache, powerclass, etc for eMMC..this field is necessary) Signed-off-by: Jaehoon

[PATCHv2 2/2] mmc: sdhci-s3c: add platform data for the second capability

2011-11-02 Thread Jaehoon Chung
This patch is added host_caps2 in sdhci-s3c.c It's necessary that use the second capabilities. And removed the duplicated host_caps. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changelog v2: - remove the duplicated host_caps.

Re: [PATCH 5/5] [CPUFREQ] EXYNOS4210: Add support ASV feature

2011-11-02 Thread MyungJoo Ham
Hello, On Wed, Nov 2, 2011 at 9:43 PM, Kukjin Kim kgene@samsung.com wrote: [] +static void __init set_volt_table(void) +{ +       unsigned int tmp, i, asv_group = 0; + +       tmp = __raw_readl(S5P_INFORM2); As I've mentioned in the ASV patch thread, do we really need to use an INFORM

Re: [PATCH 4/5] [CPUFREQ] EXYNOS4210: Add DVS lock feature for other driver

2011-11-02 Thread MyungJoo Ham
On Wed, Nov 2, 2011 at 9:43 PM, Kukjin Kim kgene@samsung.com wrote: From: Jongpill Lee boyko@samsung.com This patch adds DVS lock feature for other driver and pm/ reboot notifier to enhance stability. Signed-off-by: Jongpill Lee boyko@samsung.com Signed-off-by: SangWook Ju

Re: [PATCH 1/5] [CPUFREQ] EXYNOS4210: Remove code about bus on cpufreq

2011-11-02 Thread MyungJoo Ham
On Wed, Nov 2, 2011 at 9:42 PM, Kukjin Kim kgene@samsung.com wrote: From: Jongpill Lee boyko@samsung.com This patch removes code for bus on cpufreq because the code for bus frequency changing moves to busfreq driver. So code about bus on cpufreq is not necessary. Signed-off-by: