[PATCH v6 3/7] ARM: dts: add clocks to hdmi dt node for exynos5250

2013-08-28 Thread Rahul Sharma
Fix wrong clock numbers in hdmi dt node. Removed hdmiphy clock which was a dummy clock earlier and not required now. Also added mux clock to change the clock parent. Signed-off-by: Rahul Sharma Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos5250.dtsi |6 +++--- 1 file changed, 3 inser

[PATCH v6 1/7] of/documentation: update with clock information for exynos hdmi subsystem

2013-08-28 Thread Rahul Sharma
Adding information about clocks to the binding documentation for exynos mixer and hdmi. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/video/exynos_hdmi.txt | 15 ++- .../devicetree/bindings/video/exynos_mixer.txt |4 2 files changed, 18 inserti

[PATCH v6 7/7] ARM: dts: add hdmi ddc device for exynos5420 smdk board

2013-08-28 Thread Rahul Sharma
Add hdmi ddc device tree node, which is a I2C device, to exynos5420 smdk board file. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5

[PATCH v6 2/7] ARM: dts: add mixer clocks to mixer node for Exynos5250

2013-08-28 Thread Rahul Sharma
From: Sean Paul This patch adds the mixer clocks to the mixer node in the exynos 5250 dts file. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos5250.dtsi |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exyno

[PATCH v6 5/7] ARM: dts: add dt nodes for hdmi subsystem for exynos5420

2013-08-28 Thread Rahul Sharma
Add hdmi and mixer device tree nodes for Exynos 5420 SoC. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 77805a5..09aa06c 100

[PATCH v6 6/7] ARM: dts: add hdmi hpd gpio pinctrl node for exynos5420 smdk board

2013-08-28 Thread Rahul Sharma
Add pinctrl node for hdmi hpd gpio pin to exynos5420 smdk board file. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk542

[PATCH v6 4/7] ARM: dts: add i2c device nodes for Exynos5420

2013-08-28 Thread Rahul Sharma
From: Andrew Bresticker This adds device-tree nodes for the i2c busses on Exynos 5420 platforms. Signed-off-by: Andrew Bresticker Signed-off-by: Rahul Sharma Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos5420.dtsi | 56 + 1 file changed, 56 insert

[PATCH v6 0/7] ARM: dts: add support for exynos hdmi subsystem

2013-08-28 Thread Rahul Sharma
It adds Device tree nodes and clocks information for HDMI subsystem for exynos5420 and exynos5250 SoCs. It adds pinctrl node for hdmi hpd gpio and update binding documents. This set is based on kukjin's for-next branch at http://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git. v6: 1)

[PATCH v4 1/5] clk/exynos5420: add sclk_hdmiphy to the list of special clocks

2013-08-28 Thread Rahul Sharma
Add sclk_hdmiphy to the list of exposed clocks. This is required by hdmi driver to change the parent of hdmi clock. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5420-clock.txt |1 + drivers/clk/samsung/clk-exynos5420.c |4 ++-- 2 f

[PATCH v4 3/5] clk/exynos5420: fix the order of parents of hdmi mux

2013-08-28 Thread Rahul Sharma
Listing sclk_hdmiphy at 0th position in the list of parents is causing wrong configuration in reg SRC_DISP10. Signed-off-by: Rahul Sharma --- drivers/clk/samsung/clk-exynos5420.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/driver

[PATCH v4 2/5] clk/exynos5420: add gate clock for mixer sysmmu

2013-08-28 Thread Rahul Sharma
Adding sysmmu clock for mixer for exynos5420. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5420-clock.txt |1 + drivers/clk/samsung/clk-exynos5420.c |3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentatio

[PATCH v4 5/5] clk/exynos5420: assign dout_pixel id to pixel clock divider

2013-08-28 Thread Rahul Sharma
dout_pixel is a new ID allocated for pixel clock divider. It is queried in the driver to pass as the parent to hdmi clock while switching between parents. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5420-clock.txt |5 + drivers/clk/samsung/clk-exynos5420

[PATCH v4 0/5] clk/exynos5420: add clocks for hdmi subsystem

2013-08-28 Thread Rahul Sharma
Add clock changes for hdmi subsystem for exynos5250 SoC. These include addition of new clocks like mout_hdmi and smmu_tv, associating ID to clk_hdmiphy and some essential corrections. V4: 1) Optimised gaps between Gate, Muxes and Dividers. V3: 1) Assign new ID to divider clock keeping sclk_pixel

[PATCH v4 4/5] clk/exynos5420: add hdmi mux to change parents in hdmi driver

2013-08-28 Thread Rahul Sharma
hdmi driver needs to change the parent of hdmi clock to pixel clock or hdmiphy clock, based on the stability of hdmiphy. This patch is exposing the mux for changing the parent. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5420-clock.txt |5 + drivers/clk/

[PATCH 6/6] of/documentation: update with clock information for exynos hdmi subsystem

2013-08-28 Thread Rahul Sharma
Adding information about clocks to the binding documentation for exynos mixer and hdmi. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/video/exynos_hdmi.txt | 14 +- Documentation/devicetree/bindings/video/exynos_mixer.txt |4 2 files changed, 17 insert

[PATCH 5/6] ARM: dts: add hdmi hpd gpio pinctrl node for exynos5420

2013-08-28 Thread Rahul Sharma
Add pinctrl node for hdmi-hpd gpio pin to exynos5420 device tree files. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.

[PATCH 2/6] ARM: dts: add clocks to hdmi dt node for exynos5250

2013-08-28 Thread Rahul Sharma
Fix wrong clock numbers in hdmi dt node. Removed hdmiphy clock which was a dummy clock earlier and not required now. Also added mux clock to change the clock parent. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5250.dtsi |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 1/6] ARM: dts: add mixer clocks to mixer node for Exynos5250

2013-08-28 Thread Rahul Sharma
From: Sean Paul This patch adds the mixer clocks to the mixer node in the exynos 5250 dts file. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5250.dtsi |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boo

[PATCH 4/6] ARM: dts: add dt nodes for hdmi subsystem for exynos5420

2013-08-28 Thread Rahul Sharma
Add hdmi, mixer, ddc device tree nodes for Exynos 5420 SoC. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 15 +++ arch/arm/boot/dts/exynos5420.dtsi | 19 +++ 2 files changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/ex

[PATCH 3/6] ARM: dts: add i2c device nodes for Exynos5420

2013-08-28 Thread Rahul Sharma
From: Andrew Bresticker This adds device-tree nodes for the i2c busses on Exynos 5420 platforms. Signed-off-by: Andrew Bresticker Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420.dtsi | 56 + 1 file changed, 56 insertions(+) diff --git a/arch

[PATCH v6 4/7] ARM: dts: add i2c device nodes for Exynos5420

2013-08-28 Thread Rahul Sharma
From: Andrew Bresticker This adds device-tree nodes for the i2c busses on Exynos 5420 platforms. Signed-off-by: Andrew Bresticker Signed-off-by: Rahul Sharma Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos5420.dtsi | 56 + 1 file changed, 56 insert

[PATCH v6 2/7] ARM: dts: add mixer clocks to mixer node for Exynos5250

2013-08-28 Thread Rahul Sharma
From: Sean Paul This patch adds the mixer clocks to the mixer node in the exynos 5250 dts file. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos5250.dtsi |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exyno

[PATCH v6 7/7] ARM: dts: add hdmi ddc device for exynos5420 smdk board

2013-08-28 Thread Rahul Sharma
Add hdmi ddc device tree node, which is a I2C device, to exynos5420 smdk board file. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5

[PATCH v6 3/7] ARM: dts: add clocks to hdmi dt node for exynos5250

2013-08-28 Thread Rahul Sharma
Fix wrong clock numbers in hdmi dt node. Removed hdmiphy clock which was a dummy clock earlier and not required now. Also added mux clock to change the clock parent. Signed-off-by: Rahul Sharma Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos5250.dtsi |6 +++--- 1 file changed, 3 inser

[PATCH v6 1/7] of/documentation: update with clock information for exynos hdmi subsystem

2013-08-28 Thread Rahul Sharma
Adding information about clocks to the binding documentation for exynos mixer and hdmi. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/video/exynos_hdmi.txt | 15 ++- .../devicetree/bindings/video/exynos_mixer.txt |4 2 files changed, 18 inserti

[PATCH v6 0/7] ARM: dts: add support for exynos hdmi subsystem

2013-08-28 Thread Rahul Sharma
It adds Device tree nodes and clocks information for HDMI subsystem for exynos5420 and exynos5250 SoCs. It adds pinctrl node for hdmi hpd gpio and update binding documents. This set is based on kukjin's for-next branch at http://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git. v6: 1)

[PATCH v6 6/7] ARM: dts: add hdmi hpd gpio pinctrl node for exynos5420 smdk board

2013-08-28 Thread Rahul Sharma
Add pinctrl node for hdmi hpd gpio pin to exynos5420 smdk board file. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk542

[PATCH v6 5/7] ARM: dts: add dt nodes for hdmi subsystem for exynos5420

2013-08-28 Thread Rahul Sharma
Add hdmi and mixer device tree nodes for Exynos 5420 SoC. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 77805a5..09aa06c 100

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

2013-08-28 Thread Jingoo Han
On Thursday, August 29, 2013 12:45 PM, Pratyush Anand wrote: > On Wed, Aug 28, 2013 at 04:17:24PM +0800, Jingoo Han wrote: > > On Friday, August 23, 2013 5:36 PM, Pratyush Anand wrote: > > > On Fri, Aug 23, 2013 at 02:04:20PM +0800, Jingoo Han wrote: > > > > [...] > > > > #define MAX_PCIE_PORT_SU

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

2013-08-28 Thread Vikas Sajjan
Sure, Mike. On 29 August 2013 08:12, Mike Turquette wrote: > Quoting Vikas Sajjan (2013-08-28 06:39:56) >> Adds GPLL, APLL, KPLL, EPLL and VPLL freq table for exynos5420 and >> exynos5250. >> >> changes since v1: >> - addressed comments from Tomasz Figa >> >> is rebased on Mike's >> ht

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

2013-08-28 Thread Pratyush Anand
On Wed, Aug 28, 2013 at 04:17:24PM +0800, Jingoo Han wrote: > On Friday, August 23, 2013 5:36 PM, Pratyush Anand wrote: > > On Fri, Aug 23, 2013 at 02:04:20PM +0800, Jingoo Han wrote: > [...] > > #define MAX_PCIE_PORT_SUPPORTED 3 > > static DECLARE_BITMAP(msi_irq_in_use[MAX_PCIE_PORT_SUPPORTED],

Re: [PATCH v3 4/5] clk/exynos5420: add hdmi mux to change parents in hdmi driver

2013-08-28 Thread Rahul Sharma
Thanks Tomasz, I will post the reworked patches with above change. regards, Rahul Sharma On 28 August 2013 17:25, Tomasz Figa wrote: > On Tuesday 27 of August 2013 10:14:01 Rahul Sharma wrote: >> On 27 August 2013 05:16, Tomasz Figa wrote: >> > Hi Rahul, >> > >> > On Monday 26 of August 2013

Re: [PATCH] clk/exynos5250: change parent to aclk200_disp1 for hdmi subsystem

2013-08-28 Thread Rahul Sharma
Thanks Mike. On 29 August 2013 07:54, Mike Turquette wrote: > Quoting Rahul Sharma (2013-08-23 00:16:59) >> parent of hdmi and mixer block is mentioned as aclk200 which is >> not correct. It is clocked by the ouput of aclk200_disp1. Hence >> parent for mixer and hdmi clocks is changed to aclk200_

Re: [RFC V3 0/4] dw_mmc platform specific private data and SMU init

2013-08-28 Thread Jaehoon Chung
Hi Yuvaraj, I have tested on Exynos4 series. I didn't test for SMU feature. If Seungwon could test or review and confirm this patch, then looks good to me. With exynos4 series, Tested-by: Jaehoon Chung Best Regards. Jaehoon Chung On 08/28/2013 09:08 PM, Yuvaraj Kumar C D wrote: > changes fro

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

2013-08-28 Thread Mike Turquette
Quoting Vikas Sajjan (2013-08-28 06:39:56) > Adds GPLL, APLL, KPLL, EPLL and VPLL freq table for exynos5420 and exynos5250. > > changes since v1: > - addressed comments from Tomasz Figa > > is rebased on Mike's > https://git.linaro.org/gitweb?p=people/mturquette/linux.git;a=shortlog;h=r

Re: [PATCH] clk/exynos5250: change parent to aclk200_disp1 for hdmi subsystem

2013-08-28 Thread Mike Turquette
Quoting Rahul Sharma (2013-08-23 00:16:59) > parent of hdmi and mixer block is mentioned as aclk200 which is > not correct. It is clocked by the ouput of aclk200_disp1. Hence > parent for mixer and hdmi clocks is changed to aclk200_disp1. > > Signed-off-by: Rahul Sharma Taken into clk-next. Tha

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

2013-08-28 Thread Grant Likely
On Thu, 22 Aug 2013 18:00:14 +0200, Wolfram Sang wrote: > 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 n

Re: [PATCH] usb: phy: samsung-usb2: Toggle HSIC GPIO from device tree

2013-08-28 Thread Julius Werner
I've tried to get the 3503 driver to work in my case for quite some time, but ultimately gave up. For me, playing around with the load order was not enough to solve all issues. When you try to build a permanent, clean solution for this, you should definitely also test the case where the hub has alr

[RFC 3/3] ARM: s5pc100: Migrate clock handling to Common Clock Framework

2013-08-28 Thread Mateusz Krawczuk
This patch migrates the s5pc100 platform to use new clock driver using Common Clock Framework. Signed-off-by: Mateusz Krawczuk --- arch/arm/mach-s5pc100/Kconfig | 8 arch/arm/mach-s5pc100/Makefile| 4 ++-- arch/arm/mach-s5pc100/common.c| 23

[RFC 1/3] clk: samsung: pll: Add support for PLL6545a and PLL6522x

2013-08-28 Thread Mateusz Krawczuk
Signed-off-by: Mateusz Krawczuk --- drivers/clk/samsung/clk-pll.c | 2 ++ drivers/clk/samsung/clk-pll.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/clk/samsung/clk-pll.c b/drivers/clk/samsung/clk-pll.c index 7572d1d..c62ddfc 100644 --- a/drivers/clk/samsung/clk-pll.c +++ b/driv

[RFC 2/3] clk: samsung: Add clock driver for s5pc100

2013-08-28 Thread Mateusz Krawczuk
This patch adds new, Common Clock Framework-based clock driver for Samsung S5PC100 SoCs. The driver is just added. Signed-off-by: Mateusz Krawczuk --- .../bindings/clock/samsung,s5pc100-clock.txt | 72 +++ drivers/clk/samsung/Makefile | 3 +- drivers/clk/samsung/cl

[RFC 0/3] ARM: S5PC100: move to common clk framework

2013-08-28 Thread Mateusz Krawczuk
This patch series is the new s5pc100 clock implementation (using common clk framework). This implementation is compatible with device tree definition and board files. This patch series is based on linux-next and has been tested on smdkc100 board using board file. Mateusz Krawczuk (3): clk: sa

[PATCH v3 4/6] media: s5p-tv: Fix mixer driver to work with CCF

2013-08-28 Thread Mateusz Krawczuk
Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and old clock driver didn`t support it. Without it Common Clock Framework prints a warning. Signed-off-by: Mateusz Krawczuk --- drivers/media/platform/s5p

[PATCH v3 3/6] media: s5p-tv: Fix sdo driver to work with CCF

2013-08-28 Thread Mateusz Krawczuk
Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and old clock driver didn`t support it. Without it Common Clock Framework prints a warning. Signed-off-by: Mateusz Krawczuk --- drivers/media/platform/s5p

[PATCH v3 5/6] clk: samsung: Add clock driver for s5pc110/s5pv210

2013-08-28 Thread Mateusz Krawczuk
This patch adds new, Common Clock Framework-based clock driver for Samsung S5PV210 SoCs. The driver is just added, without enabling it yet. Signed-off-by: Mateusz Krawczuk --- .../bindings/clock/samsung,s5pv210-clock.txt | 72 ++ drivers/clk/samsung/Makefile | 3 +

[PATCH v3 6/6] ARM: s5pv210: Migrate clock handling to Common Clock Framework

2013-08-28 Thread Mateusz Krawczuk
This patch migrates the s5pv210 platform to use new clock driver using Common Clock Framework. Signed-off-by: Mateusz Krawczuk --- arch/arm/mach-s5pv210/Kconfig | 9 + arch/arm/mach-s5pv210/Makefile| 4 ++-- arch/arm/mach-s5pv210/common.c| 17 +

[PATCH v3 1/6] media: s5p-tv: Replace mxr_ macro by default dev_

2013-08-28 Thread Mateusz Krawczuk
Replace mxr_dbg, mxr_info and mxr_warn by generic solution. Signed-off-by: Mateusz Krawczuk --- drivers/media/platform/s5p-tv/mixer.h | 12 --- drivers/media/platform/s5p-tv/mixer_drv.c | 47 ++- drivers/media/platform/s5p-tv/mixer_grp_layer.c | 2 +- drivers/media/pl

[PATCH v3 0/6] ARM: S5PV210: move to common clk framework

2013-08-28 Thread Mateusz Krawczuk
This patch series is the new s5pv210 clock implementation (using common clk framework). This implementation is compatible with device tree definition and board files. This patch series is based on linux-next and has been tested on goni and aquila boards using board file. This patch series requi

[PATCH v3 2/6] media: s5p-tv: Restore vpll clock rate

2013-08-28 Thread Mateusz Krawczuk
Restore vpll clock rate if start stream fail or stream is off. Signed-off-by: Mateusz Krawczuk --- drivers/media/platform/s5p-tv/sdo_drv.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/s5p-tv/sdo_drv.c b/drivers/media/platfo

Re: [PATCH] iio: exynos_adc: fix wrong structure extration in suspend and resume

2013-08-28 Thread Doug Anderson
Naveen On Tue, Aug 27, 2013 at 10:33 PM, Naveen Krishna Ch wrote: >> I would like to know any comments on >> >> https://patchwork.kernel.org/patch/2513361/ >> >> Its been pending for a while now. >> >> Thanks, >> Naveen > Ping > Any comments please I assume you're asking for a ping for the _othe

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

2013-08-28 Thread Tomasz Figa
On Wednesday 28 of August 2013 19:09:56 Vikas Sajjan wrote: > Adds GPLL, APLL, KPLL, EPLL and VPLL freq table for exynos5420 and > exynos5250. > > changes since v1: > - addressed comments from Tomasz Figa > > is rebased on Mike's > https://git.linaro.org/gitweb?p=people/mturquette/linux.gi

Re: [Patch v2] pinctrl: Add s5pv210 support to pinctrl-exynos

2013-08-28 Thread Linus Walleij
On Wed, Aug 28, 2013 at 2:58 PM, Tomasz Figa wrote: > On Wednesday 28 of August 2013 14:51:44 Linus Walleij wrote: >> On Tue, Aug 27, 2013 at 3:08 PM, Mateusz Krawczuk >> >> wrote: >> > This patch implements pinctrl support and adds device tree bindings >> > for s5pv210. >> > >> > Signed-off-by:

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

2013-08-28 Thread Vikas Sajjan
Adds GPLL, APLL, KPLL, EPLL and VPLL freq table for exynos5420 and exynos5250. changes since v1: - addressed comments from Tomasz Figa is rebased on Mike's https://git.linaro.org/gitweb?p=people/mturquette/linux.git;a=shortlog;h=refs/heads/clk-next and on top of Tomasz Figa's clk clean-

[PATCH v2 1/2] clk: samsung: Add GPLL freq table for exynos5250 SoC

2013-08-28 Thread Vikas Sajjan
Adds GPLL freq table for exynos5250 SoC. Signed-off-by: Vikas Sajjan --- drivers/clk/samsung/clk-exynos5250.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exynos5250.c index 00a80e4..6b7a

[PATCH v2 2/2] clk: samsung: Add APLL, KPLL, EPLL and VPLL freq table for exynos5420 SoC

2013-08-28 Thread Vikas Sajjan
Adds APLL, KPLL, EPLL and VPLL freq table for exynos5420 SoC. Signed-off-by: Vikas Sajjan --- drivers/clk/samsung/clk-exynos5420.c | 78 ++ 1 file changed, 78 insertions(+) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.

[PATCH v2 1/5] media: s5p-tv: Restore vpll clock rate

2013-08-28 Thread Mateusz Krawczuk
Restore vpll clock rate if start stream fail or stream is off. Signed-off-by: Mateusz Krawczuk --- drivers/media/platform/s5p-tv/sdo_drv.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/s5p-tv/sdo_drv.c b/drivers/media/platfo

[PATCH v2 0/5] ARM: S5PV210: move to common clk framework

2013-08-28 Thread Mateusz Krawczuk
This patch series is the new s5pv210 clock implementation (using common clk framework). This implementation is compatible with device tree definition and board files. This patch series is based on linux-next and has been tested on goni and aquila boards using board file. This patch series requi

[PATCH v2 2/5] media: s5p-tv: Fix sdo driver to work with CCF

2013-08-28 Thread Mateusz Krawczuk
Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and old clock driver didn`t support it. Without it Common Clock Framework prints a warning. Signed-off-by: Mateusz Krawczuk --- drivers/media/platform/s5p

[PATCH v2 3/5] media: s5p-tv: Fix mixer driver to work with CCF

2013-08-28 Thread Mateusz Krawczuk
Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and old clock driver didn`t support it. Without it Common Clock Framework prints a warning. Signed-off-by: Mateusz Krawczuk --- drivers/media/platform/s5p

[PATCH v2 5/5] ARM: s5pv210: Migrate clock handling to Common Clock Framework

2013-08-28 Thread Mateusz Krawczuk
This patch migrates the s5pv210 platform to use new clock driver using Common Clock Framework. Signed-off-by: Mateusz Krawczuk --- arch/arm/mach-s5pv210/Kconfig | 9 + arch/arm/mach-s5pv210/Makefile| 4 ++-- arch/arm/mach-s5pv210/common.c| 17 +

[PATCH v2 4/5] clk: samsung: Add clock driver for s5pc110/s5pv210

2013-08-28 Thread Mateusz Krawczuk
This patch adds new, Common Clock Framework-based clock driver for Samsung S5PV210 SoCs. The driver is just added, without enabling it yet. Signed-off-by: Mateusz Krawczuk --- .../bindings/clock/samsung,s5pv210-clock.txt | 72 ++ drivers/clk/samsung/Makefile | 3 +

Re: [PATCH 3/5] drivers: thermal: make usage of CONFIG_THERMAL_HWMON optional

2013-08-28 Thread Eduardo Valentin
On 27-08-2013 20:13, Zhang Rui wrote: > On 二, 2013-08-27 at 23:17 +0200, Rafael J. Wysocki wrote: >> On Tuesday, August 27, 2013 02:26:41 PM Eduardo Valentin wrote: >>> On 23-08-2013 19:08, Rafael J. Wysocki wrote: On Friday, August 23, 2013 06:03:14 PM Eduardo Valentin wrote: > When regis

Re: [Patch v2] pinctrl: Add s5pv210 support to pinctrl-exynos

2013-08-28 Thread Sylwester Nawrocki
On 08/28/2013 02:51 PM, Linus Walleij wrote: > On Tue, Aug 27, 2013 at 3:08 PM, Mateusz Krawczuk > wrote: > >> This patch implements pinctrl support and adds device tree bindings >> for s5pv210. >> >> Signed-off-by: Mateusz Krawczuk > > Oh this one does add bindings, sorry for previous comment.

Re: [PATCH 0/2] Exynos5 device tree fixes

2013-08-28 Thread Tomasz Figa
On Wednesday 28 of August 2013 18:12:46 Chander Kashyap wrote: > This patch series fixes two problem with MCT node in Exynos5 platforms. > 1. In Exynos5250 it fixes the number of interrupt-cells. > 2. Removes invalid properties in MCT node for Exynos5420 and Exynos5250. > > Chander Kashyap (2): >

Re: [Patch v2] pinctrl: Add s5pv210 support to pinctrl-exynos

2013-08-28 Thread Sylwester Nawrocki
On 08/27/2013 03:08 PM, Mateusz Krawczuk wrote: > This patch implements pinctrl support and adds device tree bindings > for s5pv210. > > Signed-off-by: Mateusz Krawczuk Thanks for working on this. Acked-by: Sylwester Nawrocki -- Sylwester Nawrocki Samsung R&D Institute Poland -- To unsubscr

Re: [Patch v2] pinctrl: Add s5pv210 support to pinctrl-exynos

2013-08-28 Thread Tomasz Figa
On Wednesday 28 of August 2013 14:51:44 Linus Walleij wrote: > On Tue, Aug 27, 2013 at 3:08 PM, Mateusz Krawczuk > > wrote: > > This patch implements pinctrl support and adds device tree bindings > > for s5pv210. > > > > Signed-off-by: Mateusz Krawczuk > > Oh this one does add bindings, sorry

Re: [Patch v2] pinctrl: Add s5pv210 support to pinctrl-exynos

2013-08-28 Thread Linus Walleij
On Tue, Aug 27, 2013 at 3:08 PM, Mateusz Krawczuk wrote: > This patch implements pinctrl support and adds device tree bindings > for s5pv210. > > Signed-off-by: Mateusz Krawczuk Oh this one does add bindings, sorry for previous comment. I want an ACK from Kukjin or Sylwester for this since it'

Re: [PATCH 1/4] pinctrl: Add s5pv210 support to pinctrl-exynos

2013-08-28 Thread Linus Walleij
On Tue, Aug 27, 2013 at 11:19 AM, Mateusz Krawczuk wrote: > This patch implements pinctrl for s5pv210 and adds required device tree > bindings. > > Signed-off-by: Mateusz Krawczuk Bindings is something you add in Documentation/devicetree/bindings, so atleast alter the commit message. This mere

Re: [patch] pinctrl: s3c24xx: off by one in s3c24xx_eint_init()

2013-08-28 Thread Linus Walleij
On Tue, Aug 27, 2013 at 3:11 AM, Dan Carpenter wrote: > If "irq == NUM_EINT" then it writes one space beyond the end of the > eint_data->domains[] array. > > Signed-off-by: Dan Carpenter Patch applied with Heiko's ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsub

[PATCH 1/2] ARM: DT: Exynos5250: fix number of interrupt-cells in mct node

2013-08-28 Thread Chander Kashyap
Two cells were used to specify interrupts in mct node, while second cell always remains unused. Hence use only one cell. Suggested by Tomasz Figa. Signed-off-by: Chander Kashyap --- arch/arm/boot/dts/exynos5250.dtsi | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) di

[PATCH 2/2] DTS: Exynos5: Remove invalid MCT properties

2013-08-28 Thread Chander Kashyap
Remove interrupt-controller and #interrupt-cells properties of MCT device tree node, as MCT is not an interrupt controllor. Suggested by: Tomasz Figa Signed-off-by: Chander Kashyap --- arch/arm/boot/dts/exynos5250.dtsi |2 -- arch/arm/boot/dts/exynos5420.dtsi |2 -- 2 files changed, 4 d

[PATCH 0/2] Exynos5 device tree fixes

2013-08-28 Thread Chander Kashyap
This patch series fixes two problem with MCT node in Exynos5 platforms. 1. In Exynos5250 it fixes the number of interrupt-cells. 2. Removes invalid properties in MCT node for Exynos5420 and Exynos5250. Chander Kashyap (2): ARM: DT: Exynos5250: fix number of interrupt-cells in mct node DTS: Exy

Re: [PATCH] ARM: DT: Exynos5250: fix number of interrupt-cells in mct node

2013-08-28 Thread Chander Kashyap
Ki Kukjin, On 28 August 2013 17:36, Chander Kashyap wrote: > On 28 August 2013 16:48, Tomasz Figa wrote: >> Hi Chander, >> >> On Wednesday 28 of August 2013 16:30:41 Chander Kashyap wrote: >>> Two cells were used to specify interrupts in mct node, while second cell >>> always remains unused. Hen

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

2013-08-28 Thread Tomasz Figa
Hi Yuvaraj, On Wednesday 28 of August 2013 17:33:06 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. > > This patch depe

[RFC V3 1/4] mmc: dw_mmc: exynos: move the exynos private init

2013-08-28 Thread Yuvaraj Kumar C D
Currently platform specific private data initialisation is done by dw_mci_exynos_priv_init and dw_mci_exynos_parse_dt.As we already have separate platform specific device tree parser dw_mci_exynos_parse_dt, move the dw_mci_exynos_priv_init code to dw_mci_exynos_parse_dt. We can use the dw_mci_exyno

[RFC V3 4/4] mmc: dw_mmc: exynos: configure SMU in exynos5420.

2013-08-28 Thread Yuvaraj Kumar C D
Exynos5420 Mobile Storage Host controller has Security Management Unit (SMU) for channel 0 and channel 1 (mainly for eMMC).This patch configures SMU for exynos5420. This patch is on top of the below patch by Doug Anderson. mmc: dw_mmc: Add exynos resume_noirq callback to clear WAKEUP_INT changes

[RFC V3 0/4] dw_mmc platform specific private data and SMU init

2013-08-28 Thread Yuvaraj Kumar C D
changes from V2: 1.dropped the bypass-smu quirk mmc: dw_mmc: exynos: configure SMU in exynos5420. 2.Changed the subject line for this patch add a quirk for SMU -> configure SMU in exynos5420 mmc: dw_mmc: exynos: configure SMU in exynos5420

[RFC V3 3/4] mmc: dw_mmc: move the platform specific init call

2013-08-28 Thread Yuvaraj Kumar C D
Current platform specific private data initialisation call dw_mci_exynos_priv_init can be used to do platform specific initialisation of SMU and others in future.So the drv_data->init call has moved to dw_mci_probe. changes since V2: none changes since V1: none Signed-off-by: Yuvaraj Kumar C D -

[RFC V3 2/4] mmc: dw_mmc: socfpga: move socfpga private init

2013-08-28 Thread Yuvaraj Kumar C D
Currently platform specific private data initialisation is done by dw_mci_socfpga_priv_init and dw_mci_socfpga_parse_dt.As we already have separate platform specific device tree parser dw_mci_socfpga_parse_dt, move the dw_mci_socfpga_priv_init code to dw_mci_socfpga_parse_dt. We can use the dw_mci_

Re: [PATCH] ARM: DT: Exynos5250: fix number of interrupt-cells in mct node

2013-08-28 Thread Chander Kashyap
On 28 August 2013 16:48, Tomasz Figa wrote: > Hi Chander, > > On Wednesday 28 of August 2013 16:30:41 Chander Kashyap wrote: >> Two cells were used to specify interrupts in mct node, while second cell >> always remains unused. Hence use only one cell. >> Suggested by Tomasz Figa. >> >> Signed-off-

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

2013-08-28 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. This patch depends on mmc: dw_mmc: exynos: Add a new compatible string for exynos5420 changes

Re: [PATCH v3 4/5] clk/exynos5420: add hdmi mux to change parents in hdmi driver

2013-08-28 Thread Tomasz Figa
On Tuesday 27 of August 2013 10:14:01 Rahul Sharma wrote: > On 27 August 2013 05:16, Tomasz Figa wrote: > > Hi Rahul, > > > > On Monday 26 of August 2013 14:43:02 Rahul Sharma wrote: > >> hdmi driver needs to change the parent of hdmi clock > >> to pixel clock or hdmiphy clock, based on the stabi

Re: [PATCH] ARM: DT: Exynos5250: fix number of interrupt-cells in mct node

2013-08-28 Thread Tomasz Figa
Hi Chander, On Wednesday 28 of August 2013 16:30:41 Chander Kashyap wrote: > Two cells were used to specify interrupts in mct node, while second cell > always remains unused. Hence use only one cell. > Suggested by Tomasz Figa. > > Signed-off-by: Chander Kashyap > --- > changes in v2: > -

[PATCH] ARM: DT: Exynos5250: fix number of interrupt-cells in mct node

2013-08-28 Thread Chander Kashyap
Two cells were used to specify interrupts in mct node, while second cell always remains unused. Hence use only one cell. Suggested by Tomasz Figa. Signed-off-by: Chander Kashyap --- changes in v2: - Drop Changes for Exynos4 as done in separate patch by Tomasz arch/arm/boot/dts/exynos525

Re: [PATCH] ARM: DT: Exynos: fix number of interrupt-cells in mct node

2013-08-28 Thread Chander Kashyap
On 28 August 2013 16:01, Tomasz Figa wrote: > Hi Chander, > > On Wednesday 28 of August 2013 15:20:40 Chander Kashyap wrote: >> On 19 August 2013 00:57, Kukjin Kim wrote: >> > On 08/12/13 15:23, Chander Kashyap wrote: >> >> ping >> >> >> >> On 23 July 2013 15:17, Chander Kashyap > wrote: >> >>> p

Re: [PATCH v11 0/8] PHY framework

2013-08-28 Thread Kishon Vijay Abraham I
Hi, On Wednesday 28 August 2013 12:50 AM, Felipe Balbi wrote: > Hi, > > On Mon, Aug 26, 2013 at 01:44:49PM +0530, Kishon Vijay Abraham I wrote: >> On Wednesday 21 August 2013 11:16 AM, Kishon Vijay Abraham I wrote: >>> Added a generic PHY framework that provides a set of APIs for the PHY >>> dri

Re: [PATCH v2: 3/3] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-08-28 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, August 28, 2013 02:46:49 PM Naveen Krishna Chatradhi wrote: > This patch adds the neccessary register changes and arch information > to support Exynos5420 SoCs > Exynos5420 has 5 TMU channels one for each CPU 0, 1, 2 and 3 and GPU > > Note: The platform data structure will be h

Re: [PATCH] ARM: DT: Exynos: fix number of interrupt-cells in mct node

2013-08-28 Thread Tomasz Figa
Hi Chander, On Wednesday 28 of August 2013 15:20:40 Chander Kashyap wrote: > On 19 August 2013 00:57, Kukjin Kim wrote: > > On 08/12/13 15:23, Chander Kashyap wrote: > >> ping > >> > >> On 23 July 2013 15:17, Chander Kashyap wrote: > >>> ping. > >>> > >>> On 14 June 2013 20:11, Chander Kashya

Re: [PATCH 3/3] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-28 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, August 28, 2013 11:15:19 AM Naveen Krishna Chatradhi wrote: > This patch adds code to handle the misplaced TRIMINFO register > incase of Exynos5420. > > On Exynos5420 we have a TRIMINFO register being misplaced for > TMU channels 2, 3 and 4 > > TRIMINFO at 0x1006c000 contains

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

2013-08-28 Thread Yuvaraj Kumar
On Tue, Aug 27, 2013 at 7:39 PM, Mark Rutland wrote: > On Tue, Aug 27, 2013 at 01:02:52PM +0100, Yuvaraj Kumar wrote: >> On Tue, Aug 27, 2013 at 4:31 PM, Mark Rutland wrote: >> > On Tue, Aug 27, 2013 at 10:22:31AM +0100, Yuvaraj Kumar C D wrote: >> >> This patch adds the device tree node entries

Re: [PATCH 09/18] ASoC: Samsung: Do not queue cyclic buffers multiple times

2013-08-28 Thread Mark Brown
On Wed, Aug 28, 2013 at 09:06:27AM +0200, Linus Walleij wrote: > If patch 1 thru 9 are uncontroversial now, maybe Vinod can apply > these for v3.12 so we can get less noise and risk of collissions > in the next merge window? Patch 9 I was going to apply to ASoC towards the end of the release cycl

Re: [PATCH] ARM: DT: Exynos: fix number of interrupt-cells in mct node

2013-08-28 Thread Chander Kashyap
On 19 August 2013 00:57, Kukjin Kim wrote: > On 08/12/13 15:23, Chander Kashyap wrote: >> >> ping >> >> On 23 July 2013 15:17, Chander Kashyap wrote: >>> >>> ping. >>> >>> On 14 June 2013 20:11, Chander Kashyap >>> wrote: Two cells were used to specify interrupts in mct node, while seco

Re: [PATCH 2/3] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-08-28 Thread amit daniel kachhap
On Wed, Aug 28, 2013 at 11:15 AM, Naveen Krishna Chatradhi wrote: > This patch adds the neccessary register changes and arch information > to support Exynos5420 SoCs > Exynos5420 has 5 TMU channels one for each CPU 0, 1, 2 and 3 and GPU > > Signed-off-by: Naveen Krishna Chatradhi For all patch in

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

2013-08-28 Thread Yuvaraj Kumar
On Tue, Aug 27, 2013 at 6:31 PM, Tomasz Figa wrote: > Hi Yuvaraj, > > On Tuesday 27 of August 2013 17:32:52 Yuvaraj Kumar wrote: >> On Tue, Aug 27, 2013 at 4:31 PM, Mark Rutland > wrote: >> > On Tue, Aug 27, 2013 at 10:22:31AM +0100, Yuvaraj Kumar C D wrote: >> >> This patch adds the device tree

[PATCH v2: 3/3] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-08-28 Thread Naveen Krishna Chatradhi
This patch adds the neccessary register changes and arch information to support Exynos5420 SoCs Exynos5420 has 5 TMU channels one for each CPU 0, 1, 2 and 3 and GPU Note: The platform data structure will be handled properly once the driver moves to complete device driver solution. Signed-off-by:

[PATCH 1/3 v2] thermal: samsung: correct the fall interrupt en, status bit fields

2013-08-28 Thread Naveen Krishna Chatradhi
The FALL interrupt related en, status bits are available at an offset of 16 on INTEN, INTSTAT registers and at an offset of 12 on INTCLEAR register. This patch corrects the same for exyns5250 and exynos5440 Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: None drivers/thermal/s

[PATCH 2/3] thermal: samsung: change base_common to more meaningful base_second

2013-08-28 Thread Naveen Krishna Chatradhi
On Exynos5440 and Exynos5420 there are registers common across the TMU channels. To support that, we introduced a SHARED_MEMORY flag in the driver and the 2nd set of register base and size are provided in the "reg" property of the node. As per Amit's suggestion, this patch changes the base_common

Re: [PATCH 3/3] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-28 Thread amit daniel kachhap
On Wed, Aug 28, 2013 at 2:27 PM, Naveen Krishna Ch wrote: > On 28 August 2013 14:13, amit daniel kachhap wrote: >> Hi Naveen, >> >> On Wed, Aug 28, 2013 at 11:49 AM, Naveen Krishna Ch >> wrote: >>> On 28 August 2013 11:33, amit daniel kachhap >>> wrote: Hi Naveen On Wed, Aug 28,

Re: [PATCH 3/3] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-28 Thread Naveen Krishna Ch
On 28 August 2013 14:13, amit daniel kachhap wrote: > Hi Naveen, > > On Wed, Aug 28, 2013 at 11:49 AM, Naveen Krishna Ch > wrote: >> On 28 August 2013 11:33, amit daniel kachhap wrote: >>> Hi Naveen >>> >>> On Wed, Aug 28, 2013 at 11:15 AM, Naveen Krishna Chatradhi >>> wrote: This patch ad

Re: [PATCH 3/3] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-28 Thread amit daniel kachhap
Hi Naveen, On Wed, Aug 28, 2013 at 11:49 AM, Naveen Krishna Ch wrote: > On 28 August 2013 11:33, amit daniel kachhap wrote: >> Hi Naveen >> >> On Wed, Aug 28, 2013 at 11:15 AM, Naveen Krishna Chatradhi >> wrote: >>> This patch adds code to handle the misplaced TRIMINFO register >>> incase of Ex

  1   2   >