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

2013-08-21 Thread Yuvaraj Kumar
On Wed, Aug 21, 2013 at 4:00 PM, Tomasz Figa 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 string is used

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

2013-08-21 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 s

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

2013-08-21 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.

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

2013-08-21 Thread Jingoo Han
On Monday, August 12, 2013 6:13 PM, Sachin Kamat wrote: > On 12 August 2013 14:26, Jingoo Han wrote: > > This patch adds support for Message Signaled Interrupt in the > > Exynops PCIe diver using Synopsys designware PCIe core IP. > > s/Exynops PCIe diver/Exynos PCIe driver OK, I will fix this ty

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

2013-08-21 Thread Linus Walleij
On Wed, Aug 21, 2013 at 11:21 PM, Tomasz Figa 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 driver. > > Signed-off-by: Tomasz Figa This seems li

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

2013-08-21 Thread Linus Walleij
On Wed, Aug 21, 2013 at 11:21 PM, Tomasz Figa wrote: > +++ b/Documentation/devicetree/bindings/arm/vic.txt > @@ -18,6 +18,9 @@ Required properties: > Optional properties: > > - interrupts : Interrupt source for parent controllers if the VIC is nested. > +- interrupt-mask : Bit mask of valid int

Re: [PATCH] pinctrl: samsung: Parse pin groups before calling pinctrl_register()

2013-08-21 Thread Linus Walleij
On Tue, Aug 20, 2013 at 6:16 PM, Tomasz Figa wrote: > Calling pinctrl_register() means that the driver is fully initialized > and might accept pinmux/pinconf requests, so pin groups must be parsed > before. > > This patch fixes this problem by moving device tree parsing before call > to pinctrl_r

Re: [PATCH v2 2/4] dmaengine: add driver for Samsung s3c24xx SoCs

2013-08-21 Thread Linus Walleij
On Mon, Aug 19, 2013 at 6:48 AM, Vinod Koul wrote: > On Wed, Aug 14, 2013 at 02:00:25PM +0200, Heiko Stübner wrote: >> Conceptually the s3c24xx-dma feels like a distant relative of the pl08x >> with numerous virtual channels being mapped to a lot less physical ones. >> The driver therefore borrow

Re: [PATCH V3] watchdog: s3c2410_wdt: remove the global variables

2013-08-21 Thread Guenter Roeck
On Wed, Aug 21, 2013 at 10:01:05PM +0200, Wim Van Sebroeck wrote: > Hi All, > > > Leela Krishna Amudala wrote: > > > > > > This patch removes the global variables in the driver file and > > > group them into a structure. > > > > > > Signed-off-by: Leela Krishna Amudala > > > > (+ Wim Van Sebro

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

2013-08-21 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 --- Documentation/devicetree/bindings/arm/vic.txt | 6

[PATCH v7 0/7] Initial Device Tree support for S3C64xx

2013-08-21 Thread Tomasz Figa
This series adds Device Tree support for Samsung S3C64xx SoC series. It fixes several problems preventing from booting an S3C64xx-based system using Device Tree, adds all the infrastructure for Device Tree-based board support, including mach-s3c64xx-dt and dts include files for S3C64xx SoCs, and b

[PATCH v7 6/7] ARM: dts: Add dts file for S3C6410-based Mini6410 board

2013-08-21 Thread Tomasz Figa
This patch adds basic device tree sources for FriendlyARM Mini6410 board based on Samsung S3C6410 SoC. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/s3c6410-mini6410.dts | 228 + 2 files changed, 229 insertions(+)

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

2013-08-21 Thread Tomasz Figa
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 driver. Signed-off-by: Tomasz Figa --- drivers/gpio/gpio-samsung.c | 34 +++--- 1 fi

[PATCH v7 2/7] ARM: s3c64xx: Bypass legacy initialization when booting with DT

2013-08-21 Thread Tomasz Figa
This patch allows bypassing most of legacy initialization when booting an S3C64xx-based board using device tree, by adding conditional checks for DT presence to initcalls which are no longer necessary when booting with DT.. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/common.c | 12

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

2013-08-21 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 --- ar

[PATCH v7 7/7] ARM: dts: Add dts file for S3C6410-based SMDK6410 board

2013-08-21 Thread Tomasz Figa
This patch adds basic device tree sources for SAMSUNG SMDK6410 board based on SAMSUNG S3C6410 SoC. Currently only UARTs, SD channel 0 and 100Mbps ethernet (SMSC911x) are supported. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/s3c6410-smdk6410

[PATCH v7 4/7] ARM: s3c64xx: Add board file for boot using Device Tree

2013-08-21 Thread Tomasz Figa
This patch adds board file that will be used to boot S3C64xx-based boards using Device Tree. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/Kconfig | 16 +++ arch/arm/mach-s3c64xx/Makefile | 1 + arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c | 85 +

Re: [PATCH V3] watchdog: s3c2410_wdt: remove the global variables

2013-08-21 Thread Wim Van Sebroeck
Hi All, > Leela Krishna Amudala wrote: > > > > This patch removes the global variables in the driver file and > > group them into a structure. > > > > Signed-off-by: Leela Krishna Amudala > > (+ Wim Van Sebroeck) > > Looks good to me, > > Acked-by: Kukjin Kim > > Thanks, > Kukjin Can some

Re: [PATCH v5 0/4] mmc: dw_mmc: fixes for suspend/resume on exynos

2013-08-21 Thread Doug Anderson
Seungwon, On Wed, Aug 21, 2013 at 4:48 AM, Seungwon Jeon wrote: > Hi Doug, > Do you have any update for this series? > Please let me know. Thank you for the ping. The changes requested looked big enough that I knew I was going to have to devote some time to looking this all over again, which I

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

2013-08-21 Thread Sylwester Nawrocki
On 08/21/2013 03:47 PM, 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 nodes in the c

[PATCH 1/3] drm/exynos: fimd: replace struct fb_videomode with videomode

2013-08-21 Thread Andrzej Hajda
The patch replaces all occurrences of struct fb_videomode by more accurate struct videomode. The change allows to remove mode conversion function and simplifies clock divider calculation. Clock configuration is moved to separate function. Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park

[PATCH 2/3] drm/exynos: fimd: get signal polarities from device tree

2013-08-21 Thread Andrzej Hajda
The patch adds code to get signal polarization setting from device tree display-timings node. Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fim

[PATCH 3/3] drm/exynos: fimd: move platform data parsing to separate function

2013-08-21 Thread Andrzej Hajda
The patch moves platfrom_data and device tree parsing to separate function. Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 63 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/drivers/gpu/d

[PATCH 0/3] drm/exynos: fimd: get signal polarities from device tree

2013-08-21 Thread Andrzej Hajda
Hi, This patch series adds signal polarities parsing from display-timings devicetree node. To do it efficiently struct fb_videomode is replaced with struct videomode and some additional code cleaning is performed. The patches are for drm-exynos/exynos-drm-next branch. Regards Andrzej Hajda Andr

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

2013-08-21 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. S

[PATCH V3 0/2]exynos dwmmc device tree node

2013-08-21 Thread Yuvaraj Kumar C D
These patches were V3 versions of below patches. 1.[PATCH 1/2] ARM: dts: remove dwmmc nodes from exynos5 common dts file. http://www.spinics.net/lists/linux-samsung-soc/msg21602.html 2.[PATCH 2/2] ARM: dts: Add dwmmc nodes in SOC specific dts file http://www.spinics.net/lists/linux-

[PATCH V3 1/2] ARM: dts: Move dwmmc nodes from exynos5.dtsi to exynos5250.dtsi

2013-08-21 Thread Yuvaraj Kumar C D
Exynos5 series SOC's 5250 and 5420 have different versions of DWMMC controller.So there is a new compatible string to distinguish between them.So these nodes should be moved out of Exynos5 series common device tree source to SOC specific device tree source. Changes since V2: 1.remove from

[PATCH V3 2/2] ARM: dts: exynos: change status property of dwmmc nodes

2013-08-21 Thread Yuvaraj Kumar C D
According to ePAPR, chapter 2.3.4, the status property has defined that it should be set to "disabled" when "the device is not presently operational, but it might become operational in the future". So this patch disable dwmmc node by "status = disabled" in SOC dts file and enable dwmmc node by "st

Re: [PATCH 09/16] clk: samsung: pll: Use new registration method for PLL45xx

2013-08-21 Thread Yadwinder Singh Brar
> }; > > +static struct __initdata samsung_pll_clock exynos4210_plls[nr_plls] = { NIT: __initdata should be at last. > + [apll] = PLL_A(pll_4508, fout_apll, "fout_apll", "fin_pll", APLL_LOCK, > + APLL_CON0, "fout_apll", NULL), > + [mpll] = PLL_A(pll_4508, fout_mpll, "fo

Re: [PATCH 12/16] clk: samsung: pll: Add support for rate configuration of PLL46xx

2013-08-21 Thread Yadwinder Singh Brar
>> >> >> > --- a/drivers/clk/samsung/clk-pll.h >> > +++ b/drivers/clk/samsung/clk-pll.h >> > @@ -51,6 +51,28 @@ enum samsung_pll_type { >> > >> > .afc= (_afc), \ >> > >> > } >> > >> > +#define PLL_4600_RATE(_rate, _m, _p, _s, _k, _vsel)

Re: [PATCH 10/16] clk: samsung: pll: Add support for rate configuration of PLL45xx

2013-08-21 Thread Tomasz Figa
On Wednesday 21 of August 2013 17:48:44 Yadwinder Singh Brar wrote: > Hi Tomasz, > > On Tue, Aug 20, 2013 at 11:01 PM, Tomasz Figa wrote: > > This patch implements round_rate and set_rate callbacks of PLL45xx > > driver to allow reconfiguration of PLL at runtime. > > > > Signed-off-by: Tomasz Fi

Re: [PATCH 14/16] clk: samsung: exynos4: Register PLL rate tables for Exynos4210

2013-08-21 Thread Tomasz Figa
On Wednesday 21 of August 2013 18:04:07 Yadwinder Singh Brar wrote: > On Tue, Aug 20, 2013 at 11:01 PM, Tomasz Figa wrote: > > This patch adds rate tables for PLLs that can be reconfigured at > > runtime > > for Exynos4210 SoCs. Provided tables contain PLL coefficients for > > input clock of 24 MH

Re: [PATCH 12/16] clk: samsung: pll: Add support for rate configuration of PLL46xx

2013-08-21 Thread Tomasz Figa
On Wednesday 21 of August 2013 18:02:16 Yadwinder Singh Brar wrote: > > + con0 |= (rate->mdiv << PLL46XX_MDIV_SHIFT) | > > + (rate->pdiv << PLL46XX_PDIV_SHIFT) | > > + (rate->sdiv << PLL46XX_SDIV_SHIFT) | > > + (rate->vsel << P

Re: [PATCH 14/16] clk: samsung: exynos4: Register PLL rate tables for Exynos4210

2013-08-21 Thread Yadwinder Singh Brar
On Tue, Aug 20, 2013 at 11:01 PM, Tomasz Figa wrote: > This patch adds rate tables for PLLs that can be reconfigured at runtime > for Exynos4210 SoCs. Provided tables contain PLL coefficients for > input clock of 24 MHz and so are registered only in this case. MPLL does > not need runtime reconfig

Re: [PATCH 12/16] clk: samsung: pll: Add support for rate configuration of PLL46xx

2013-08-21 Thread Yadwinder Singh Brar
> + con0 |= (rate->mdiv << PLL46XX_MDIV_SHIFT) | > + (rate->pdiv << PLL46XX_PDIV_SHIFT) | > + (rate->sdiv << PLL46XX_SDIV_SHIFT) | > + (rate->vsel << PLL46XX_VSEL_SHIFT); > + > + /* Set PLL AFC, MFR and MRR values. */ Th

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-21 Thread Tomasz Figa
[Copying Daniel] On Tuesday 20 of August 2013 15:39:17 Stephen Boyd wrote: > On 08/21, Tomasz Figa wrote: > > On Tuesday 20 of August 2013 22:14:42 Russell King - ARM Linux wrote: > > > On Tue, Aug 20, 2013 at 06:11:10PM +0200, Tomasz Figa wrote: > > > > Sometimes it is necessary to fix interrupt

Re: [PATCH 10/16] clk: samsung: pll: Add support for rate configuration of PLL45xx

2013-08-21 Thread Yadwinder Singh Brar
Hi Tomasz, On Tue, Aug 20, 2013 at 11:01 PM, Tomasz Figa wrote: > This patch implements round_rate and set_rate callbacks of PLL45xx > driver to allow reconfiguration of PLL at runtime. > > Signed-off-by: Tomasz Figa > Signed-off-by: Kyungmin Park > --- > drivers/clk/samsung/clk-pll.c | 109 >

Re: [PATCH 4/8] ARM: dts: Add dwmmc DT nodes for exynos5420 SOC

2013-08-21 Thread Yuvaraj Kumar
On Wed, Aug 21, 2013 at 3:40 PM, Tomasz Figa wrote: > Hi Yuvaraj, > > On Wednesday 21 of August 2013 12:05:33 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

RE: [PATCH v5 0/4] mmc: dw_mmc: fixes for suspend/resume on exynos

2013-08-21 Thread Seungwon Jeon
Hi Doug, Do you have any update for this series? Please let me know. Thanks, Seungwon Jeon On Sat, August 10, 2013, Doug Anderson wrote: > This series of patches addresses some suspend/resume problems with > dw_mmc on exynos platforms, espeically exynos5420. Since > suspend/resume is not fully w

Re: [PATCH V2 1/2] ARM: dts: remove dwmmc nodes from exynos5 common dts file.

2013-08-21 Thread Yuvaraj Kumar
On Wed, Aug 21, 2013 at 4:04 PM, Tomasz Figa wrote: > Hi Yuvaraj, > > On Wednesday 21 of August 2013 12:07:38 yuvaraj...@gmail.com wrote: >> From: Yuvaraj Kumar C D >> >> Exynos5 series SOC's 5250 and 5420 have different versions of >> DWMMC controller.So there is a new compatible string to disti

Re: [PATCH V2 1/2] ARM: dts: remove dwmmc nodes from exynos5 common dts file.

2013-08-21 Thread Tomasz Figa
Hi Yuvaraj, On Wednesday 21 of August 2013 12:07:38 yuvaraj...@gmail.com wrote: > From: Yuvaraj Kumar C D > > Exynos5 series SOC's 5250 and 5420 have different versions of > DWMMC controller.So there is a new compatible string to distinguish > between them.So these nodes should be moved out of E

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

2013-08-21 Thread Tomasz Figa
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 string is used to distinguish it from the prior SOC's. What are the differ

Re: [PATCH 4/8] ARM: dts: Add dwmmc DT nodes for exynos5420 SOC

2013-08-21 Thread Tomasz Figa
Hi Yuvaraj, On Wednesday 21 of August 2013 12:05:33 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. Is this patch a v3

[PATCH] i2c: exynos5: add High Speed I2C controller driver

2013-08-21 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. Highspeed mode is a minor change in the i2c protocol. Starts with 1. start condition, 2. 8-bit master ID code (1xxx) 3. followed by a NACK bit Once the above conditions are met, the bus is now operates in high

Re: [PATCH v7 13/13] V4L: Add driver for s5k4e5 image sensor

2013-08-21 Thread Sylwester Nawrocki
On 08/21/2013 11:13 AM, Sylwester Nawrocki wrote: > On 08/21/2013 10:24 AM, Hans Verkuil wrote: > +static const char * const s5k4e5_supply_names[] = { > + "svdda", > + "svddio" > +}; I'm no regulator expert, but shouldn't this list come from the DT or platform_data? O

Re: [PATCH v7 13/13] V4L: Add driver for s5k4e5 image sensor

2013-08-21 Thread Sylwester Nawrocki
On 08/21/2013 10:24 AM, Hans Verkuil wrote: +static const char * const s5k4e5_supply_names[] = { + "svdda", + "svddio" +}; >>> >>> I'm no regulator expert, but shouldn't this list come from the DT or >>> platform_data? Or are these names specific to this sensor? >> >> This is

Re: [PATCH v7 13/13] V4L: Add driver for s5k4e5 image sensor

2013-08-21 Thread Arun Kumar K
Hi Hans, On Wed, Aug 21, 2013 at 1:54 PM, Hans Verkuil wrote: > On Wed 21 August 2013 09:58:28 Tomasz Figa wrote: >> Hi Hans, >> >> On Wednesday 21 of August 2013 08:53:55 Hans Verkuil wrote: >> > On 08/21/2013 08:34 AM, Arun Kumar K wrote: >> > > This patch adds subdev driver for Samsung S5K4E5

Re: [PATCH V2 2/2] ARM: dts: Add dwmmc nodes in SOC specific dts file

2013-08-21 Thread GIRISH K S
--- Original Message --- Sender : yuvaraj...@gmail.com Date : Aug 21, 2013 12:07 (GMT+05:30) Title : [PATCH V2 2/2] ARM: dts: Add dwmmc nodes in SOC specific dts file From: Yuvaraj Kumar C D Exynos5 series SOC's have different versions of DWMMC controller. So dwmmc device nodes moved f

re: [media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver

2013-08-21 Thread Dan Carpenter
Hello Sylwester Nawrocki, This is a semi-automatic email about new static checker warnings. The patch 086eca2905d0: "[media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver" from Jun 14, 2013, leads to the following Smatch complaint: drivers/media/platform/exynos4-is/fimc-lite.c:152

Re: [PATCH v7 13/13] V4L: Add driver for s5k4e5 image sensor

2013-08-21 Thread Hans Verkuil
On Wed 21 August 2013 09:58:28 Tomasz Figa wrote: > Hi Hans, > > On Wednesday 21 of August 2013 08:53:55 Hans Verkuil wrote: > > On 08/21/2013 08:34 AM, Arun Kumar K wrote: > > > This patch adds subdev driver for Samsung S5K4E5 raw image sensor. > > > Like s5k6a3, it is also another fimc-is firmwa

Re: [PATCH v7 13/13] V4L: Add driver for s5k4e5 image sensor

2013-08-21 Thread Tomasz Figa
Hi Hans, On Wednesday 21 of August 2013 08:53:55 Hans Verkuil wrote: > On 08/21/2013 08:34 AM, Arun Kumar K wrote: > > This patch adds subdev driver for Samsung S5K4E5 raw image sensor. > > Like s5k6a3, it is also another fimc-is firmware controlled > > sensor. This minimal sensor driver doesn't d