[PATCH] ARM: s3c24xx: get rid of custom mach/gpio.h

2013-12-06 Thread Linus Walleij
This isolates the custom S3C24xx GPIO definition table to linux/platform_data/gpio-samsung-s3x24xx.h as this is used in a few different places in the kernel, removing the need to depend on the implicit inclusion of mach/gpio.h from linux/gpio.h and thus getting rid of a few nasty

[PATCH 0/3] Exynos5420 Cpufreq support

2013-12-06 Thread Arun Kumar K
The patch series adds the cpufreq driver for exynos5420 with its dependencies. This initial version of the driver only modifies the A15 core frequencies. Arjun.K.V (1): cpufreq: exynos: Add exynos5420 cpufreq driver Arun Kumar K (2): ARM: EXYNOS: Add exynos5 CPU clock divider offsets clk:

[PATCH 1/3] ARM: EXYNOS: Add exynos5 CPU clock divider offsets

2013-12-06 Thread Arun Kumar K
Adds the CPU clock divider shifts and masks for Exynos5 SoC. These defines will be used in cpufreq driver. Signed-off-by: Arjun.K.V arjun...@samsung.com Signed-off-by: Arun Kumar K arun...@samsung.com --- arch/arm/mach-exynos/include/mach/regs-clock.h | 24 1 file

[PATCH 3/3] cpufreq: exynos: Add exynos5420 cpufreq driver

2013-12-06 Thread Arun Kumar K
From: Arjun.K.V arjun...@samsung.com The patch adds cpufreq driver for exynos5420. Signed-off-by: Arjun.K.V arjun...@samsung.com Signed-off-by: Andrew Bresticker abres...@chromium.org Signed-off-by: Arun Kumar K arun...@samsung.com --- drivers/cpufreq/Kconfig.arm | 11 ++

[PATCH 2/3] clk: exynos5420: Add alias names for cpu clocks

2013-12-06 Thread Arun Kumar K
Adds alias names for cpu clocks to be used in the cpufreq driver. Signed-off-by: Arun Kumar K arun...@samsung.com --- drivers/clk/samsung/clk-exynos5420.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c

[PATCH v4 6/9] phy: Add support for S5PV210 to the Exynos USB PHY driver

2013-12-06 Thread Kamil Debski
From: Mateusz Krawczuk mat.krawc...@gmail.com Add support for the Samsung's S5PV210 SoC to the Exynos USB PHY driver. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com [k.deb...@samsung.com: cleanup and commit description] [k.deb...@samsung.com: make changes accordingly to the

[PATCH 8/9] dts: Add usb2phy to Exynos 4

2013-12-06 Thread Kamil Debski
Add support of new USB 2.0 phy driver to Exynos 4 SoC device tree. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/arm/samsung/pmu.txt|2 ++ arch/arm/boot/dts/exynos4.dtsi | 31

[PATCH v4 7/9] phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

2013-12-06 Thread Kamil Debski
Add support for Exynos 5250. This driver is to replace the old USB 2.0 PHY driver. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/phy/samsung-usbphy.txt |1 + drivers/phy/Kconfig

[PATCH 9/9] dts: Add usb2phy to Exynos 5250

2013-12-06 Thread Kamil Debski
Add support of new USB 2.0 phy driver to the Exynos 5250 SoC device tree. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 33 + 1 file changed, 21 insertions(+), 12

RE: [PATCH v4 0/9] phy: Add new Exynos USB 2.0 PHY driver

2013-12-06 Thread Kamil Debski
Hi, From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Thursday, December 05, 2013 4:07 PM Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Hi, This is the fourth version of the patchset adding the new Exynos USB 2.0 PHY driver. The driver uses the Generic PHY

RE: [PATCH 1/9] phy: core: Change the way of_phy_get is called

2013-12-06 Thread Kamil Debski
Hi, From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Friday, December 06, 2013 6:31 AM Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Previously the of_phy_get function took a struct device * and was declared static. It was impossible to call it from another

Re: [PATCH v4 3/9] phy: Add new Exynos USB PHY driver

2013-12-06 Thread Kishon Vijay Abraham I
Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Add a new driver for the Exynos USB PHY. The new driver uses the generic PHY framework. The driver includes support for the Exynos 4x10 and 4x12 SoC families. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by:

Re: [PATCH v4 5/9] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-12-06 Thread Kishon Vijay Abraham I
Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Change the used phy driver to the new Exynos USB phy driver that uses the generic phy framework. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH v4 6/9] phy: Add support for S5PV210 to the Exynos USB PHY driver

2013-12-06 Thread Kishon Vijay Abraham I
Hi, On Friday 06 December 2013 04:01 PM, Kamil Debski wrote: From: Mateusz Krawczuk mat.krawc...@gmail.com Add support for the Samsung's S5PV210 SoC to the Exynos USB PHY driver. Signed-off-by: Mateusz Krawczuk m.krawc...@partner.samsung.com [k.deb...@samsung.com: cleanup and commit

Re: [PATCH v4 7/9] phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

2013-12-06 Thread Kishon Vijay Abraham I
On Friday 06 December 2013 04:02 PM, Kamil Debski wrote: Add support for Exynos 5250. This driver is to replace the old USB 2.0 PHY driver. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [alsa-devel] [PATCH 1/2] ASoC: samsung: Provide helper for DMA init

2013-12-06 Thread Mark Brown
On Fri, Dec 06, 2013 at 10:44:33AM +0530, Padma Venkat wrote: This is done in your earlier patch ASoC: samsung: Ensure DMA data is initialised for secondary DAI . Was it done on purpose or by mistake in this patch? It's intentional - notice that the function has changed, this is why I kept

Re: [PATCH] ARM: s3c24xx: get rid of custom mach/gpio.h

2013-12-06 Thread Linus Walleij
On Fri, Dec 6, 2013 at 10:31 AM, Linus Walleij linus.wall...@linaro.org wrote: This isolates the custom S3C24xx GPIO definition table to linux/platform_data/gpio-samsung-s3x24xx.h Maybe I'm too trigger happy. I'll send a combined series with S3C24xx, S3C64xx and maybe also S5P variants all

[PATCH 1/2] ASoC: samsung: Provide helper for DMA init

2013-12-06 Thread Mark Brown
From: Mark Brown broo...@linaro.org In preparation for using the dmaengine helpers in ASoC rather than the dmaengine wrappers for the Samsung API wrap the configuration of dma_data. The dmaengine code expects different data to that used by the legacy API. Signed-off-by: Mark Brown

[PATCH 2/2] ASoC: samsung: Use ASoC dmaengine code where possible

2013-12-06 Thread Mark Brown
From: Mark Brown broo...@linaro.org Since all Exynos platforms have been converted to dmaengine and many of the older platforms are in the process of conversion they do not need to use the legacy s3c-dma APIs for DMA but can instead use the standard ASoC dmaengine helpers. This both allows them

RE: [PATCH v4 4/9] usb: ehci-s5p: Change to use phy provided by the generic phy framework

2013-12-06 Thread Kamil Debski
Hi Alan, Thank you for the review. Please find my replies inline. From: Alan Stern [mailto:st...@rowland.harvard.edu] Sent: Thursday, December 05, 2013 7:53 PM On Thu, 5 Dec 2013, Kamil Debski wrote: Change the phy provider used from the old usb phy specific to a new one using the

Re: [PATCH v4 5/9] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-12-06 Thread Matt Porter
On Fri, Dec 06, 2013 at 04:41:51PM +0530, Kishon Vijay Abraham I wrote: Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Change the used phy driver to the new Exynos USB phy driver that uses the generic phy framework. Signed-off-by: Kamil Debski k.deb...@samsung.com

[PATCH 6/7] clk/samsung: add support for pll2650xx

2013-12-06 Thread Rahul Sharma
Add support for pll2650xx in samsung pll file. This pll variant is close to pll36xx but uses CON2 registers instead of CON1. Aud_pll in Exynos5260 is pll2650xx and uses this code. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- drivers/clk/samsung/clk-pll.c | 101

[PATCH 3/7] ARM: dts: add dts files for exynos5260 SoC

2013-12-06 Thread Rahul Sharma
From: Arun Kumar K arun...@samsung.com The patch adds the dts files for exynos5260 and for xyref evt0 board. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Rahul Sharma rahul.sha...@samsung.com Signed-off-by: Arun Kumar K arun...@samsung.com --- arch/arm/boot/dts/Makefile

[PATCH 4/7] clk/samsung: add support for multuple clock providers

2013-12-06 Thread Rahul Sharma
Samsung CCF helper functions do not provide support to register multiple Clock Providers for a given SoC. Due to this limitation SoC platforms are not able to use these helpers for registering mulitple clock providers and are forced to bypass this layer. This layer is modified acordingly to

[PATCH 0/7] exynos: add basic support for exynos5260 SoC

2013-12-06 Thread Rahul Sharma
add basic support for exynos5260 SoC. This series is based on linux-next, Kukjin's for-next and Mike's clk-for-linus-3.13 branches. This patch is dependent on the following series from Tomasz Figa t.f...@samsung.com: http://www.spinics.net/lists/arm-kernel/msg280223.html Arun Kumar K (1):

[PATCH 5/7] clk/samsung: add support for pll2550xx

2013-12-06 Thread Rahul Sharma
From: Pankaj Dubey pankaj.du...@samsung.com exynos5260 use pll2520xx and it has different bitfields for P,M,S values as compared to pll2550xx. Support for pll2520xx is added here. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Rahul Sharma rahul.sha...@samsung.com

[PATCH 1/7] ARM: EXYNOS: initial board support for exynos5260 SoC

2013-12-06 Thread Rahul Sharma
From: Pankaj Dubey pankaj.du...@samsung.com This patch add basic arch side support for exynos5260 SoC. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Arun Kumar K arun...@samsung.com --- arch/arm/mach-exynos/Kconfig |9 +

[PATCH 2/7] pinctrl: exynos: add exynos5260 SoC specific data

2013-12-06 Thread Rahul Sharma
From: Young-Gun Jang yg1004.j...@samsung.com Add Samsung Exynos5260 SoC specific data to enable pinctrl support for all platforms based on EXYNOS5260. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Rahul Sharma rahul.sha...@samsung.com Signed-off-by: Arun Kumar K

RE: [PATCH v4 3/9] phy: Add new Exynos USB PHY driver

2013-12-06 Thread Kamil Debski
Hi Kishon, Thank you for the review. From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Friday, December 06, 2013 11:59 AM Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Add a new driver for the Exynos USB PHY. The new driver uses the generic PHY framework. The

RE: [PATCH v4 5/9] usb: s3c-hsotg: Use the new Exynos USB phy driver with the generic phy framework

2013-12-06 Thread Kamil Debski
Hi, From: Matt Porter [mailto:matt.por...@linaro.org] Sent: Friday, December 06, 2013 4:01 PM On Fri, Dec 06, 2013 at 04:41:51PM +0530, Kishon Vijay Abraham I wrote: Hi, On Thursday 05 December 2013 05:59 PM, Kamil Debski wrote: Change the used phy driver to the new Exynos USB phy

Re: [PATCH V12 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files

2013-12-06 Thread Doug Anderson
Leela Krishna, On Thu, Dec 5, 2013 at 9:47 PM, Leela Krishna Amudala l.kris...@samsung.com wrote: This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to handle PMU register accesses in a centralized way using syscon driver Signed-off-by: Leela Krishna Amudala

Re: [PATCH V12 2/3] watchdog: s3c2410_wdt: use syscon regmap interface to configure pmu register

2013-12-06 Thread Doug Anderson
Leela Krishna, On Thu, Dec 5, 2013 at 9:47 PM, Leela Krishna Amudala l.kris...@samsung.com wrote: Add device tree support for exynos5250 and 5420 SoCs and use syscon regmap interface to configure AUTOMATIC_WDT_RESET_DISABLE and MASK_WDT_RESET_REQUEST registers of PMU to mask/unmask

RE: [PATCH v4 3/9] phy: Add new Exynos USB PHY driver

2013-12-06 Thread Kamil Debski
Hi, From: Kamil Debski [mailto:k.deb...@samsung.com] Sent: Friday, December 06, 2013 5:28 PM Hi Kishon, Thank you for the review. From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Friday, December 06, 2013 11:59 AM Hi, On Thursday 05 December 2013 05:59 PM, Kamil

Re: [PATCH V12 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files

2013-12-06 Thread Sylwester Nawrocki
Hi, Just a few minor comments... On 12/06/2013 06:47 AM, Leela Krishna Amudala wrote: This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to s/pmusysreg/PMU sysreg ? Similarly I would capitalize it in the subject line as well. handle PMU register accesses in a

Re: [PATCH V12 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files

2013-12-06 Thread Guenter Roeck
On Fri, Dec 06, 2013 at 11:17:46AM +0530, Leela Krishna Amudala wrote: This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to handle PMU register accesses in a centralized way using syscon driver Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com Reviewed-by:

Re: [PATCH V12 2/3] watchdog: s3c2410_wdt: use syscon regmap interface to configure pmu register

2013-12-06 Thread Guenter Roeck
On Fri, Dec 06, 2013 at 11:17:47AM +0530, Leela Krishna Amudala wrote: Add device tree support for exynos5250 and 5420 SoCs and use syscon regmap interface to configure AUTOMATIC_WDT_RESET_DISABLE and MASK_WDT_RESET_REQUEST registers of PMU to mask/unmask enable/disable of watchdog in probe

Re: [PATCH V12 3/3] ARM: dts: update watchdog device nodes for Exynos5250 and Exynos5420

2013-12-06 Thread Guenter Roeck
On Fri, Dec 06, 2013 at 11:17:48AM +0530, Leela Krishna Amudala wrote: In Exynos5 series SoCs, PMU has registers to enable/disable mask/unmask watchdog timer which is not the case with s3c series SoCs so, there is a need to have different compatible names for watchdog to handle these pmu

Re: [PATCH v2 2/2] watchdog: s3c2410_wdt: Report when the watchdog reset the system

2013-12-06 Thread Guenter Roeck
On Thu, Dec 05, 2013 at 10:15:29AM -0800, Doug Anderson wrote: A good watchdog driver is supposed to report when it was responsible for resetting the system. Implement this for the s3c2410, at least on exynos5250 and exynos5420 where we already have a pointer to the PMU registers to read the

Re: [PATCH v2 2/2] watchdog: s3c2410_wdt: Report when the watchdog reset the system

2013-12-06 Thread Doug Anderson
Guenter, On Fri, Dec 6, 2013 at 11:54 AM, Guenter Roeck li...@roeck-us.net wrote: On Thu, Dec 05, 2013 at 10:15:29AM -0800, Doug Anderson wrote: A good watchdog driver is supposed to report when it was responsible for resetting the system. Implement this for the s3c2410, at least on

[PATCH v3] watchdog: s3c2410_wdt: Report when the watchdog reset the system

2013-12-06 Thread Doug Anderson
A good watchdog driver is supposed to report when it was responsible for resetting the system. Implement this for the s3c2410, at least on exynos5250 and exynos5420 where we already have a pointer to the PMU registers to read the information. Note that exynos4 SoCs also provide the reset status,

Re: [PATCH v3] watchdog: s3c2410_wdt: Report when the watchdog reset the system

2013-12-06 Thread Guenter Roeck
On Fri, Dec 06, 2013 at 01:08:07PM -0800, Doug Anderson wrote: A good watchdog driver is supposed to report when it was responsible for resetting the system. Implement this for the s3c2410, at least on exynos5250 and exynos5420 where we already have a pointer to the PMU registers to read the

Re: [PATCH V12 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files

2013-12-06 Thread Doug Anderson
Guenter, On Fri, Dec 6, 2013 at 11:47 AM, Guenter Roeck li...@roeck-us.net wrote: On Fri, Dec 06, 2013 at 11:17:46AM +0530, Leela Krishna Amudala wrote: This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to handle PMU register accesses in a centralized way using syscon

Re: [PATCH V12 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files

2013-12-06 Thread Guenter Roeck
On Fri, Dec 06, 2013 at 03:01:23PM -0800, Doug Anderson wrote: Guenter, On Fri, Dec 6, 2013 at 11:47 AM, Guenter Roeck li...@roeck-us.net wrote: On Fri, Dec 06, 2013 at 11:17:46AM +0530, Leela Krishna Amudala wrote: This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to

Re: [PATCH V12 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files

2013-12-06 Thread Tomasz Figa
Hi Sylwester, On Friday 06 of December 2013 18:22:32 Sylwester Nawrocki wrote: Hi, Just a few minor comments... I wouldn't really nitpick on such things, but if we end up needing another respin, here's what I think. On 12/06/2013 06:47 AM, Leela Krishna Amudala wrote: This patch adds