RE: [GIT PULL] Samsung devel-dma ops for v3.6

2012-07-11 Thread Kukjin Kim
Arnd Bergmann wrote: On Tuesday 10 July 2012, Kukjin Kim wrote: Hi Arnd, Olof, Here is updating DMA common operation for Samsung SoCs. Since some DMA client driver such as spi needs to change the configuration after dma_request() so this branch adds dma_config() can configure DMA

Re: [GIT PULL] Samsung devel-dma ops for v3.6

2012-07-11 Thread Arnd Bergmann
On Wednesday 11 July 2012, Kukjin Kim wrote: Yeah, let me explain the status for Samsung SoCs' DMA. There are 3 different DMA IPs, samsung specific s3c24xx dma, pl080 and pl330. As you know, pl330 already moved in drivers/dma for using common DMA engine and Alim is re-working on pl080

[PATCH 0/7] Add device tree based discovery support for drm-fimd

2012-07-11 Thread Leela Krishna Amudala
From: Leela Krishna l.kris...@samsung.com The patches are created against for-next branch of Kukjin Kim's tree at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git This patch set adds Backlight, LCD support and device tree based discovery support for drm-fimd Leela

[PATCH 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback

2012-07-11 Thread Leela Krishna Amudala
This patch updates the register address offsets and adds SFR definitions for writeback for Samsung's V8 display controller. Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com --- arch/arm/plat-samsung/include/plat/regs-fb-v4.h | 10 arch/arm/plat-samsung/include/plat/regs-fb.h

[PATCH 2/7] ARM: EXYNOS5: add machine specific support for backlight

2012-07-11 Thread Leela Krishna Amudala
Adds machine specific support for LCD backlight for SMDK board based on Exynos5 Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/mach-exynos5-dt.c | 28 2 files changed, 29

[PATCH 3/7] ARM: EXYNOS5: add machine specific support for LCD

2012-07-11 Thread Leela Krishna Amudala
This patch adds machine specific support for LCD controller like setting power to LCD and adding LCD platform device. Signed-off-by: Prathyush K prathyus...@samsung.com Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com --- arch/arm/mach-exynos/mach-exynos5-dt.c | 57

[PATCH 4/7] ARM: EXYNOS: Adding DRM platform device

2012-07-11 Thread Leela Krishna Amudala
Add DRM platform device to machine file for exynos5. Signed-off-by: Prathyush K prathyus...@samsung.com Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com --- arch/arm/mach-exynos/mach-exynos5-dt.c | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-)

[PATCH 5/7] ARM: EXYNOS5: add device tree based discovery support for FIMD

2012-07-11 Thread Leela Krishna Amudala
From: Leela Krishna l.kris...@samsung.com This patch adds support for device tree based discovery for Samsung's display controller. Adds DRM-Fimd plat data for smdk5250 evt1 to the corresponding dts file Signed-off-by: Leela Krishna l.kris...@samsung.com ---

[PATCH 6/7] ARM: EXYNOS5: Add the bus clock for FIMD

2012-07-11 Thread Leela Krishna Amudala
From: Leela Krishna l.kris...@samsung.com This patch adds the bus clock for FIMD and changes the device name for lcd clock Signed-off-by: Leela Krishna l.kris...@samsung.com --- arch/arm/mach-exynos/clock-exynos5.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git

[PATCH 7/7] ARM: EXYNOS5: Set parent clock to fimd

2012-07-11 Thread Leela Krishna Amudala
From: Leela Krishna l.kris...@samsung.com This patch sets mout_mpll_user as parent clock to fimd also sets Fimd source clock rate to 800 MHz for MIPI LCD Signed-off-by: Leela Krishna l.kris...@samsung.com --- arch/arm/mach-exynos/clock-exynos5.c | 25 +++--

Re: [PATCH 0/7] Add device tree based discovery support for drm-fimd

2012-07-11 Thread Sachin Kamat
Hi Leela, Some nits and suggestions. Please include device tree list (devicetree-disc...@lists.ozlabs.org) for all dt related patches. On 11/07/2012, Leela Krishna Amudala l.kris...@samsung.com wrote: From: Leela Krishna l.kris...@samsung.com The patches are created against for-next branch of

Re: [PATCH 2/7] ARM: EXYNOS5: add machine specific support for backlight

2012-07-11 Thread Sachin Kamat
On 11/07/2012, Leela Krishna Amudala l.kris...@samsung.com wrote: Adds machine specific support for LCD backlight for SMDK board based on Exynos5 Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com --- arch/arm/mach-exynos/Kconfig |1 +

Re: [PATCH 5/7] ARM: EXYNOS5: add device tree based discovery support for FIMD

2012-07-11 Thread Sachin Kamat
On 11/07/2012, Leela Krishna Amudala l.kris...@samsung.com wrote: From: Leela Krishna l.kris...@samsung.com This patch adds support for device tree based discovery for Samsung's display controller. Adds DRM-Fimd plat data for smdk5250 evt1 to the corresponding dts file Signed-off-by: Leela

RE: [PATCH 2/7] ARM: EXYNOS5: add machine specific support for backlight

2012-07-11 Thread Jingoo Han
On July 11, 2012 6:11 PM, Leela Krishna Amudala l.kris...@samsung.com wrote: Adds machine specific support for LCD backlight for SMDK board based on Exynos5 Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com --- arch/arm/mach-exynos/Kconfig |1 +

RE: [PATCH 0/7] Add device tree based discovery support for drm-fimd

2012-07-11 Thread Jingoo Han
On July 11, 2012 6:11 PM, Leela Krishna Amudala l.kris...@samsung.com wrote: From: Leela Krishna l.kris...@samsung.com The patches are created against for-next branch of Kukjin Kim's tree at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git This patch set adds

RE: [PATCH 3/7] ARM: EXYNOS5: add machine specific support for LCD

2012-07-11 Thread Jingoo Han
On July 11, 2012 6:42 PM, Leela Krishna Amudala l.kris...@samsung.com wrote: -Original Message- From: Leela Krishna Amudala [mailto:l.kris...@samsung.com] Sent: Wednesday, July 11, 2012 6:42 PM To: linux-arm-ker...@lists.infradead.org Cc: grant.lik...@secretlab.ca; ol...@google.com;

RE: [PATCH 4/7] ARM: EXYNOS: Adding DRM platform device

2012-07-11 Thread Jingoo Han
-Original Message- From: Leela Krishna Amudala [mailto:l.kris...@samsung.com] Sent: Wednesday, July 11, 2012 6:42 PM To: linux-arm-ker...@lists.infradead.org Cc: grant.lik...@secretlab.ca; ol...@google.com; thomas...@samsung.com; kgene@samsung.com; jo...@samsung.com;

RE: [PATCH 7/7] ARM: EXYNOS5: Set parent clock to fimd

2012-07-11 Thread Jingoo Han
On July 11, 2012 6:42 PM, Leela Krishna Amudala l.kris...@samsung.com wrote: From: Leela Krishna l.kris...@samsung.com This patch sets mout_mpll_user as parent clock to fimd also sets Fimd source clock rate to 800 MHz for MIPI LCD Signed-off-by: Leela Krishna l.kris...@samsung.com ---

[PATCH v5 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-11 Thread Thomas Abraham
The set_level callback in the controller data, which is used to configure the slave select line, cannot be supported when migrating the driver to device tree based discovery. Since all the platforms currently use gpio as the slave select line, this callback can be removed from the controller data

[PATCH v5 6/6] spi: s3c64xx: add device tree support

2012-07-11 Thread Thomas Abraham
Add support for device based discovery. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- .../devicetree/bindings/spi/spi-samsung.txt| 113 +++ drivers/spi/spi-s3c64xx.c

Re: [PATCH v5 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-11 Thread Mark Brown
On Wed, Jul 11, 2012 at 04:45:59PM +0530, Thomas Abraham wrote: The set_level callback in the controller data, which is used to configure the slave select line, cannot be supported when migrating the driver to device tree based discovery. Since all the platforms currently use gpio as the slave

Re: [PATCH v5 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-11 Thread Thomas Abraham
On 11 July 2012 17:17, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Jul 11, 2012 at 04:45:59PM +0530, Thomas Abraham wrote: The set_level callback in the controller data, which is used to configure the slave select line, cannot be supported when migrating the driver to device

Re: Re: [PATCH 2/2] ARM: EXYNOS5: Add gscalar device from DT

2012-07-11 Thread AMEER BASHA SHAIK
Hi Sylwester, On Sat, Jul 7, 2012 at 12:20 AM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hi Shaik, On 07/06/2012 02:45 PM, Shaik Ameer Basha wrote: Adding all 4 gscalar devices from DT device list in machine file. nit: s/gscalar/gscaler The above sentence doesn't quite

Re: Re: [PATCH 2/2] ARM: EXYNOS5: Add gscalar device from DT

2012-07-11 Thread AMEER BASHA SHAIK
Hi Sachin, On Sat, Jul 7, 2012 at 11:58 AM, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Shaik, On 6 July 2012 18:15, Shaik Ameer Basha shaik.am...@samsung.com wrote: Adding all 4 gscalar devices from DT device list in machine file. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com

Re: Re: [PATCH 1/2] ARM: EXYNOS5: Add clock support for Gscaler

2012-07-11 Thread AMEER BASHA SHAIK
Hi Sachin, On Fri, Jul 6, 2012 at 8:30 PM, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Shaik, Some nits: Patch subject: s/EXYNOS5/EXYNOS OK. I will change this. On 6 July 2012 18:15, Shaik Ameer Basha shaik.am...@samsung.com wrote: Add required clock support for Gscaler for exynos5

Re: [PATCH v5 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-11 Thread Mark Brown
On Wed, Jul 11, 2012 at 05:51:13PM +0530, Thomas Abraham wrote: Based on your comments to add the gpio request, only two patches 5/6 and 6/6 in this series have changed since. I have cc'ed you in the other 4 patches as well. If you do not have those patches, please let me know, I will repost

[PATCH v2 0/2] Add device tree and clock support for Gscaler.

2012-07-11 Thread Shaik Ameer Basha
This patch series adds clock support for Gscaler and device node entries for Gscaler on exynos5. This patch is based on Kukjin Kim's (linux-samsung) for-next branch. https://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git changes since v1: - Addressed review comments from

[PATCH v2 1/2] ARM: EXYNOS: Add clock support for Gscaler

2012-07-11 Thread Shaik Ameer Basha
Add required clock support for Gscaler for exynos5 Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com Signed-off-by: Prathyush K prathyus...@samsung.com Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com ---

[PATCH v2 2/2] ARM: EXYNOS: Add gscaler device from DT

2012-07-11 Thread Shaik Ameer Basha
This patch adds, - 4 Gscaler devices to the DT device list - Gscaler specific entries to the machine file - binding documentation for Gscaler entries Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com Signed-off-by: Shaik Ameer Basha

[PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-11 Thread Thomas Abraham
Changes since v4: - Includes the missing gpio request for slave select line gpio as suggested by Mark Brown. Changes since v3: - Fixed the build breakage after applying 3rd patch in this series (which had dependency on the 6th patch). This was reported by Doug Anderson. Changes since v2: -

[PATCH v5 1/6] spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro

2012-07-11 Thread Thomas Abraham
The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- drivers/spi/spi-s3c64xx.c |4 1 files changed, 0

[PATCH v5 2/6] spi: s3c64xx: move controller information into driver data

2012-07-11 Thread Thomas Abraham
Platform data is used to specify controller hardware specific information such as the tx/rx fifo level mask and bit offset of rx fifo level. Such information is not suitable to be supplied from device tree. Instead, it can be moved into the driver data and removed from platform data.

[PATCH v5 3/6] ARM: Samsung: Remove pdev pointer parameter from spi gpio setup functions

2012-07-11 Thread Thomas Abraham
The platform data pointer that is passed to the spi gpio setup functions is not used. Hence, this parameter is removed from all the spi gpio setup functions. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org ---

[PATCH v5 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-07-11 Thread Thomas Abraham
With the spi controller hardware configuration moved into the driver data, there are no more default hardware configuration data that is passed through platform data. Accordingly, the s3c64xx_spi{0|1|2}_set_platdata functions are adapted to these changes. Signed-off-by: Thomas Abraham

[PATCH v5 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-11 Thread Thomas Abraham
The set_level callback in the controller data, which is used to configure the slave select line, cannot be supported when migrating the driver to device tree based discovery. Since all the platforms currently use gpio as the slave select line, this callback can be removed from the controller data

[PATCH v5 6/6] spi: s3c64xx: add device tree support

2012-07-11 Thread Thomas Abraham
Add support for device based discovery. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- .../devicetree/bindings/spi/spi-samsung.txt| 113 drivers/spi/spi-s3c64xx.c

Re: [PATCH v5 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-07-11 Thread Thomas Abraham
On 11 July 2012 19:01, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Jul 11, 2012 at 05:51:13PM +0530, Thomas Abraham wrote: Based on your comments to add the gpio request, only two patches 5/6 and 6/6 in this series have changed since. I have cc'ed you in the other 4 patches

Re: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-11 Thread Mark Brown
On Wed, Jul 11, 2012 at 09:10:59PM +0530, Thomas Abraham wrote: Changes since v4: - Includes the missing gpio request for slave select line gpio as suggested by Mark Brown. These looked OK (and have had quite a bit of review already so we're probably at the stage where incremental fixes are

Re: [PATCH v5 0/6] spi: s3c64xx: add support for device tree

2012-07-11 Thread Thomas Abraham
On 11 July 2012 23:19, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Jul 11, 2012 at 09:10:59PM +0530, Thomas Abraham wrote: Changes since v4: - Includes the missing gpio request for slave select line gpio as suggested by Mark Brown. These looked OK (and have had quite a

Re: [PATCH 2/2] ARM: EXYNOS5: Add gscalar device from DT

2012-07-11 Thread Sylwester Nawrocki
Hi Shaik, On 07/11/2012 03:06 PM, AMEER BASHA SHAIK wrote: diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 4272b29..b945c00 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -23,6 +23,13 @@ compatible

[PATCH] ARM: samsung: adc: fix race in s3c_adc_start

2012-07-11 Thread Todd Poynor
Checking for adc-ts_pend already claimed should be done with the lock held. Change-Id: Ic9f15e26bd19934ab8c2885ce5df265933ac304a Signed-off-by: Todd Poynor toddpoy...@google.com --- arch/arm/plat-samsung/adc.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v4 1/5] thermal: Add generic cpufreq cooling implementation

2012-07-11 Thread amit kachhap
On Tue, Jul 10, 2012 at 12:31 PM, Hongbo Zhang hongbo.zh...@linaro.org wrote: On 12 May 2012 17:40, Amit Daniel Kachhap amit.kach...@linaro.org wrote: This patch adds support for generic cpu thermal cooling low level implementations using frequency scaling up/down based on the registration

[PATCH] ARM: Exynos: Add device tree node for Exynos4 interrupt combiner controller

2012-07-11 Thread Thomas Abraham
Add node for Exynos4 interrupt combiner controller. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/boot/dts/exynos4210.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210.dtsi