Re: [RFC PATCH 1/3] clk: add support for temporary parent clock migration

2013-08-22 Thread Mike Turquette
Quoting Chander Kashyap (2013-08-06 01:34:23) Some platforms use to migrate temporarily to another parent during cpu frequency scaling, e.g. Exynos and Tegra. Once the frequency is changed the latch on to original parent. The generic cpufreq-cpu0 driver use CCF to scale cpu frequency. This

Re: [RFC PATCH 2/3] clk: update users of clk_register_mux and DEFINE_CLK_MUX

2013-08-22 Thread Mike Turquette
Quoting Chander Kashyap (2013-08-06 01:34:24) As with the patch clk-add-support-for-temporary-parent-clock-migration.patch a new field alternate_parent_name, is added to clk structure. This field can be passed using clk_register_mux API and DEFINE_CLK_MUX macro. Nitpick: it's easier to search

Re: [PATCH V2] ARM: dts: Add dwmmc DT nodes for exynos5420 SOC

2013-08-22 Thread Yuvaraj Kumar
On Wed, Aug 21, 2013 at 4:00 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Yuvaraj, On Wednesday 21 of August 2013 12:13:53 Yuvaraj Kumar C D wrote: This patch adds the device tree node entries for exynos5420 SOC. Exynos5420 has a different version of DWMMC controller,so a new compatible

Re: [PATCH 0/2] Add GPLL, APLL, KPLL, EPLL and VPLL freq table for exynos5420 and exynos5250

2013-08-22 Thread Vikas Sajjan
Hi Mike, On Wed, Aug 14, 2013 at 9:07 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Vikas, On Wednesday 14 of August 2013 10:36:53 Vikas Sajjan wrote: Hi Mike, On Mon, Aug 12, 2013 at 3:32 PM, Vikas Sajjan vikas.saj...@linaro.org wrote: Adds GPLL, APLL, KPLL, EPLL and VPLL freq table for

Re: [RFC PATCH 1/3] clk: add support for temporary parent clock migration

2013-08-22 Thread Chander Kashyap
On 22 August 2013 11:46, Mike Turquette mturque...@linaro.org wrote: Quoting Chander Kashyap (2013-08-06 01:34:23) Some platforms use to migrate temporarily to another parent during cpu frequency scaling, e.g. Exynos and Tegra. Once the frequency is changed the latch on to original parent.

Re: [RFC PATCH 2/3] clk: update users of clk_register_mux and DEFINE_CLK_MUX

2013-08-22 Thread Chander Kashyap
On 22 August 2013 11:49, Mike Turquette mturque...@linaro.org wrote: Quoting Chander Kashyap (2013-08-06 01:34:24) As with the patch clk-add-support-for-temporary-parent-clock-migration.patch a new field alternate_parent_name, is added to clk structure. This field can be passed using

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

2013-08-22 Thread Tomasz Figa
On Thursday 22 of August 2013 01:19:34 Linus Walleij wrote: On Wed, Aug 21, 2013 at 11:21 PM, Tomasz Figa tomasz.f...@gmail.com wrote: +++ b/Documentation/devicetree/bindings/arm/vic.txt @@ -18,6 +18,9 @@ Required properties: Optional properties: - interrupts : Interrupt source

Re: [PATCH v7 3/7] gpio: samsung: Skip initialization if device tree is present

2013-08-22 Thread Tomasz Figa
On Thursday 22 of August 2013 01:21:25 Linus Walleij wrote: On Wed, Aug 21, 2013 at 11:21 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Since this driver does not handle GPIO on device tree enabled platforms any more, it should be bypassed whenever device tree is available, to not

RE: [PATCH v7 3/7] gpio: samsung: Skip initialization if device tree is present

2013-08-22 Thread Kukjin Kim
Linus Walleij wrote: On Wed, Aug 21, 2013 at 11:21 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Since this driver does not handle GPIO on device tree enabled platforms any more, it should be bypassed whenever device tree is available, to not conflict with the new pinctrl-samsung

Re: [PATCH v7 3/7] gpio: samsung: Skip initialization if device tree is present

2013-08-22 Thread Mark Brown
On Thu, Aug 22, 2013 at 10:06:46AM +0200, Tomasz Figa wrote: On Thursday 22 of August 2013 01:21:25 Linus Walleij wrote: This seems like something I should apply to the GPIO tree right now, shall I? Would be nice, but since this patch is a dependency for rest of this series and there are

RE: Broken device trees for exynos in linux-next

2013-08-22 Thread Kukjin Kim
Kevin Hilman wrote: Kukjin Kim kg...@kernel.org writes: [...] If we could make LPAE enabled defconfig for all ARM platforms, I'm fine. I think your concern is creating SoC specific defconfig and I agree with you. But I'm not sure how we can support LPAE enabled defconfig for ARM

RE: [PATCH v7 3/7] gpio: samsung: Skip initialization if device tree is present

2013-08-22 Thread Kukjin Kim
Tomasz Figa wrote: On Thursday 22 of August 2013 01:21:25 Linus Walleij wrote: On Wed, Aug 21, 2013 at 11:21 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Since this driver does not handle GPIO on device tree enabled platforms any more, it should be bypassed whenever device tree is

[PATCH] ARM: dts: exynos5420/5250: add ADC device tree node

2013-08-22 Thread Naveen Krishna Chatradhi
Add ADC device tree node for exynos5420 and exynos5250 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Doug Anderson diand...@chromium.org --- arch/arm/boot/dts/exynos5250.dtsi | 11 +++ arch/arm/boot/dts/exynos5420.dtsi | 11 +++ 2 files changed,

[PATCH v5 1/3] ARM: dts: Fix the RTC DT node name for Exynos5250 SoC

2013-08-22 Thread Vikas Sajjan
Fixes the RTC DT node name for Exynos5250 SoC as per the DT node naming convention. Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org --- arch/arm/boot/dts/exynos5.dtsi|2 +- arch/arm/boot/dts/exynos5250.dtsi |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v5 0/3] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc

2013-08-22 Thread Vikas Sajjan
This patchset does the following 3 things: 1) Fixes the RTC DT node name for Exynos5250 SoC 2) Update the status property of RTC DT node for Exynos5250 SoC 3) Adds RTC DT node to Exynos5420 SoC changes since v4: - removed status property of RTC DT node from exynos5250 board dts files

[PATCH v5 2/3] ARM: dts: Update the status property of RTC DT node for Exynos5250 SoC

2013-08-22 Thread Vikas Sajjan
Moves the RTC DT node's status property from exynos5250 board (arndale snow) dts files to exynos5250.dtsi, since the bindings in exynos5250.dtsi depicts the RTC h/w completely. Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org --- arch/arm/boot/dts/exynos5250-arndale.dts |4

[PATCH v5 3/3] ARM: dts: Add RTC DT node to Exynos5420 SoC

2013-08-22 Thread Vikas Sajjan
Adds RTC DT node to Exynos5420 SoC Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org --- arch/arm/boot/dts/exynos5420.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 5353e32..3f2b9c4 100644 ---

[PATCH V3] ARM: dts: Add dwmmc DT nodes for exynos5420 SOC

2013-08-22 Thread Yuvaraj Kumar C D
This patch adds the device tree node entries for exynos5420 SOC. Exynos5420 has a different version of DWMMC controller,so a new compatible string is used to distinguish it from the prior SOC's. changes since V2: 1.dropped num-slots property from node as its not required if

[PATCH] arm: dts: fix NTC thermistor device nodes for cros5250

2013-08-22 Thread Naveen Krishna Chatradhi
This patch fixes NTC devices nodes connected to ADC channel 3, 4, 5 and 6 on exynos5250 based snow device. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Doug Anderson diand...@chromium.org --- arch/arm/boot/dts/cros5250-common.dtsi | 33

Re: [PATCH v5 1/3] ARM: dts: Fix the RTC DT node name for Exynos5250 SoC

2013-08-22 Thread Tomasz Figa
Hi Vikas, On Thursday 22 of August 2013 17:03:26 Vikas Sajjan wrote: Fixes the RTC DT node name for Exynos5250 SoC as per the DT node naming convention. Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org --- arch/arm/boot/dts/exynos5.dtsi|2 +- arch/arm/boot/dts/exynos5250.dtsi

[PATCH v6 0/3] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for Exynos5250

2013-08-22 Thread Vikas Sajjan
This patchset does the following 3 things: 1) Fixes the RTC DT node name for Exynos5250 2) Update the status property of RTC DT node for Exynos5250 SoC 3) Adds RTC DT node to Exynos5420 SoC changes since v5: - Fixed the RTC DT node name for Exynos5250 board files also, because

[PATCH v6 1/3] ARM: dts: Fix the RTC DT node name for Exynos5250

2013-08-22 Thread Vikas Sajjan
Fixes the RTC DT node name for Exynos5250 as per the DT node naming convention. Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org --- arch/arm/boot/dts/exynos5.dtsi |2 +- arch/arm/boot/dts/exynos5250-arndale.dts |2 +- arch/arm/boot/dts/exynos5250-snow.dts|2 +-

[PATCH v6 2/3] ARM: dts: Update the status property of RTC DT node for Exynos5250 SoC

2013-08-22 Thread Vikas Sajjan
Moves the RTC DT node's status property from exynos5250 board (arndale snow) dts files to exynos5250.dtsi, since the bindings in exynos5250.dtsi depicts the RTC h/w completely. Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org --- arch/arm/boot/dts/exynos5250-arndale.dts |4

[PATCH v6 3/3] ARM: dts: Add RTC DT node to Exynos5420 SoC

2013-08-22 Thread Vikas Sajjan
Adds RTC DT node to Exynos5420 SoC Signed-off-by: Vikas Sajjan vikas.saj...@linaro.org --- arch/arm/boot/dts/exynos5420.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 5353e32..3f2b9c4 100644 ---

[PATCH] ASoC: samsung: Fix build error with dma function rename

2013-08-22 Thread Tushar Behera
commit 85ff3c29d720 (ASoC: samsung: Rename DMA platform registration functions) renames the DMA registration functions. Fix the places where it was left out. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- sound/soc/samsung/pcm.c |4 ++-- sound/soc/samsung/s3c2412-i2s.c |

Re: [PATCH v6 0/3] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for Exynos5250

2013-08-22 Thread Tomasz Figa
Hi Vikas, On Thursday 22 of August 2013 18:29:00 Vikas Sajjan wrote: This patchset does the following 3 things: 1) Fixes the RTC DT node name for Exynos5250 2) Update the status property of RTC DT node for Exynos5250 SoC 3) Adds RTC DT node to Exynos5420 SoC changes since v5: -

Re: [PATCH] ASoC: samsung: Fix build error with dma function rename

2013-08-22 Thread Mark Brown
On Thu, Aug 22, 2013 at 06:15:02PM +0530, Tushar Behera wrote: commit 85ff3c29d720 (ASoC: samsung: Rename DMA platform registration functions) renames the DMA registration functions. Fix the places where it was left out. Applied, thanks. signature.asc Description: Digital signature

Re: [GIT PULL 1/2] Samsung cleanup for v3.12

2013-08-22 Thread Kevin Hilman
Kukjin Kim kgene@samsung.com writes: The following changes since commit ad81f0545ef01ea651886dddac4bef6cec930092: Linux 3.11-rc1 (2013-07-14 15:18:27 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git

Re: [GIT PULL 2/2] Samsung Exynos DT for v3.12

2013-08-22 Thread Kevin Hilman
Kukjin Kim kgene@samsung.com writes: The following changes since commit ad81f0545ef01ea651886dddac4bef6cec930092: Linux 3.11-rc1 (2013-07-14 15:18:27 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git

[PATCH V3] i2c: move of helpers into the core

2013-08-22 Thread Wolfram Sang
I2C of helpers used to live in of_i2c.c but experience (from SPI) shows that it is much cleaner to have this in the core. This also removes a circular dependency between the helpers and the core, and so we can finally register child nodes in the core instead of doing this manually in each driver.

[PATCH v6 0/3] mmc: dw_mmc: fixes for suspend/resume on exynos

2013-08-22 Thread Doug Anderson
This series of patches addresses some suspend/resume problems with dw_mmc on exynos platforms, espeically exynos5420. This patchset was tested on the current ToT Chromeos 3.8 tree (which has lots of backports from 3.10/3.11) and on ToT Linux (v3.11-rc6). I have confirmed basic booting and that

Re: Broken device trees for exynos in linux-next

2013-08-22 Thread Olof Johansson
Kukjin, On Thu, Aug 22, 2013 at 2:55 AM, Kukjin Kim kg...@kernel.org wrote: Yeah, it can be used for test. But there are many differences between exynos_defconfig and exynos5440_defconfig...PCIe, GbE, HugeTLB and KVM...so I'm still wondering how to handle it without other defconfig. Olof, do

[PATCH v6 1/3] mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INT

2013-08-22 Thread Doug Anderson
If the WAKEUP_INT is asserted at wakeup and not cleared, we'll end up looping around forever. This has been seen to happen on exynos5420 silicon despite the fact that we haven't enabled any wakeup events due to a silicon errata. It is safe to do on all exynos variants. Signed-off-by: Doug

Re: [PATCH v7] s5k5baf: add camera sensor driver

2013-08-22 Thread Stephen Warren
On 08/21/2013 08:41 AM, Andrzej Hajda wrote: Driver for Samsung S5K5BAF UXGA 1/5 2M CMOS Image Sensor with embedded SoC ISP. The driver exposes the sensor as two V4L2 subdevices: - S5K5BAF-CIS - pure CMOS Image Sensor, fixed 1600x1200 format, no controls. - S5K5BAF-ISP - Image Signal

Re: [PATCH v7] s5k5baf: add camera sensor driver

2013-08-22 Thread Tomasz Figa
Hi Andrzej, Please see some minor comments inline. On Wednesday 21 of August 2013 16:41:31 Andrzej Hajda wrote: Driver for Samsung S5K5BAF UXGA 1/5 2M CMOS Image Sensor with embedded SoC ISP. The driver exposes the sensor as two V4L2 subdevices: - S5K5BAF-CIS - pure CMOS Image Sensor, fixed

Re: [PATCH V3] ARM: dts: Add dwmmc DT nodes for exynos5420 SOC

2013-08-22 Thread Tomasz Figa
Hi Yuvaraj, On Thursday 22 of August 2013 17:21:18 Yuvaraj Kumar C D wrote: This patch adds the device tree node entries for exynos5420 SOC. Exynos5420 has a different version of DWMMC controller,so a new compatible string is used to distinguish it from the prior SOC's. changes since V2:

Re: [PATCH] ARM: dts: exynos5420/5250: add ADC device tree node

2013-08-22 Thread Tomasz Figa
Hi Naveen, On Thursday 22 of August 2013 15:48:11 Naveen Krishna Chatradhi wrote: Add ADC device tree node for exynos5420 and exynos5250 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Doug Anderson diand...@chromium.org --- arch/arm/boot/dts/exynos5250.dtsi |

Re: [PATCH] arm: dts: fix NTC thermistor device nodes for cros5250

2013-08-22 Thread Tomasz Figa
Hi Naveen, On Thursday 22 of August 2013 17:18:34 Naveen Krishna Chatradhi wrote: This patch fixes NTC devices nodes connected to ADC channel 3, 4, 5 and 6 on exynos5250 based snow device. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Doug Anderson

Re: [PATCH V2] ARM: dts: Add dwmmc DT nodes for exynos5420 SOC

2013-08-22 Thread Tomasz Figa
On Thursday 22 of August 2013 12:24:58 Yuvaraj Kumar wrote: On Wed, Aug 21, 2013 at 4:00 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Yuvaraj, On Wednesday 21 of August 2013 12:13:53 Yuvaraj Kumar C D wrote: This patch adds the device tree node entries for exynos5420 SOC. Exynos5420

Re: [PATCH v7 3/7] gpio: samsung: Skip initialization if device tree is present

2013-08-22 Thread Tomasz Figa
On Thursday 22 of August 2013 18:59:23 Kukjin Kim wrote: Tomasz Figa wrote: On Thursday 22 of August 2013 01:21:25 Linus Walleij wrote: On Wed, Aug 21, 2013 at 11:21 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Since this driver does not handle GPIO on device tree enabled

[PATCH v8 1/7] irqchip: vic: Parse interrupt and resume masks from device tree

2013-08-22 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 ---

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

2013-08-22 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 V3] ARM: dts: Add dwmmc DT nodes for exynos5420 SOC

2013-08-22 Thread Doug Anderson
Hi, Thanks for adding my Thomasz, On Thu, Aug 22, 2013 at 4:51 AM, Yuvaraj Kumar C D yuvaraj...@gmail.com wrote: This patch adds the device tree node entries for exynos5420 SOC. Exynos5420 has a different version of DWMMC controller,so a new compatible string is used to distinguish it from

Re: [PATCH v6 0/3] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for Exynos5250

2013-08-22 Thread Vikas Sajjan
Hi Kukjin, On Thu, Aug 22, 2013 at 6:37 PM, Tomasz Figa t.f...@samsung.com wrote: Hi Vikas, On Thursday 22 of August 2013 18:29:00 Vikas Sajjan wrote: This patchset does the following 3 things: 1) Fixes the RTC DT node name for Exynos5250 2) Update the status property of RTC DT node for

Re: [PATCH] PCI: exynos: add support for MSI

2013-08-22 Thread Jingoo Han
On Monday, August 12, 2013 7:57 PM, Thierry Reding wrote: On Mon, Aug 12, 2013 at 05:56:47PM +0900, Jingoo Han wrote: [...] diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 855d4a7..9ef1c95 100644 --- a/arch/arm/mach-exynos/Kconfig +++