Re: [PATCH V6 2/2] video: drm: exynos: Add device tree support

2012-09-21 Thread Inki Dae
2012/9/21 Stephen Warren : > On 09/21/2012 05:22 AM, Leela Krishna Amudala wrote: >> This patch adds device tree based discovery support for exynos DRM-FIMD >> driver which includes driver modification to handle platform data in >> both the cases with DT and non-DT, Also adds the documentation for

Re: [PATCH 0/5] ARM: EXYNOS: Add secure firmware support

2012-09-21 Thread Kyungmin Park
On 9/19/12, Tomasz Figa wrote: > Hi, > > On Thursday 13 of September 2012 10:13:33 Tomasz Figa wrote: >> Some Exynos-based boards are running with secure firmware running in >> TrustZone secure world, which changes the way some things have to be >> initialized. >> >> This series adds support for s

[PATCH 1/2] m5mols: Remove unneeded control ops assignments

2012-09-21 Thread Sylwester Nawrocki
Since all host drivers using this subdev are already using the control framework these compatibility ops can be removed. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/video/m5mols/m5mols_core.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/

[PATCH 2/2] m5mols: Protect driver data with a mutex

2012-09-21 Thread Sylwester Nawrocki
Without the locking the driver's data could get corrupted when the subdev is accessed from user space and from host driver by multiple processes. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/video/m5mols/m5mols.h | 18 +--- drivers/media/video/m5mols

[PATCH V2] drm/exynos: Add match table for drm platform device

2012-09-21 Thread Leela Krishna Amudala
This patch is a part of moving the driver to support DT style probing of exynos drm device. The compatible name should match with the entry in the dtsi file. Signed-off-by: Leela Krishna Amudala --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 11 +++ 1 files changed, 11 insertions(+), 0

Re: [PATCH V2] drm/exynos: Add match table for drm platform device

2012-09-21 Thread Srinivas KANDAGATLA
On 21/09/12 19:37, Leela Krishna Amudala wrote: > This patch is a part of moving the driver to support DT style probing > of exynos drm device. The compatible name should match with the > entry in the dtsi file. > > Signed-off-by: Leela Krishna Amudala > --- > drivers/gpu/drm/exynos/exynos_drm_dr

[RFC PATCH 0/6] pinctrl: samsung: Convert the driver to use per-bank GPIO and interrupt specifiers

2012-09-21 Thread Tomasz Figa
This is a continuation of work focused on improving the pinctrl-samsung driver. First part on which this one depends: [RFC 0/6] pinctrl: samsung: Remove static platform-specific data http://article.gmane.org/gmane.linux.kernel.samsung-soc/12759 This series attempts to simplify usage of the driver

[RFC PATCH 3/6] pinctrl: exynos: Use one IRQ domain per pin bank

2012-09-21 Thread Tomasz Figa
Instead of registering one IRQ domain for all pin banks of a pin controller, this patch implements registration of per-bank domains. At a cost of a little memory overhead (~2.5KiB for all GPIO interrupts of Exynos4x12) it simplifies driver code and device tree sources, because GPIO interrupts can

[RFC PATCH 4/6] pinctrl: samsung: Do not pass gpio_chip to pin_to_reg_bank

2012-09-21 Thread Tomasz Figa
The pointer to gpio_chip passed to pin_to_reg_bank utility function is used only to retrieve a pointer to samsung_pinctrl_drv_data structure. This patch modifies the function and its users to pass a pointer to samsung_pinctrl_drv_data directly. Signed-off-by: Tomasz Figa --- drivers/pinctrl/pin

[RFC PATCH 5/6] pinctrl: samsung: Use one GPIO chip per pin bank

2012-09-21 Thread Tomasz Figa
This patch modifies the pinctrl-samsung driver to register one GPIO chip per pin bank, instead of a single chip for all pin banks of the controller. It simplifies GPIO accesses a lot (constant time instead of looping through the list of banks to find the right one) and should have a good effect on

[RFC PATCH 6/6] ARM: dts: exynos4210: Update pin bank nodes to reflect per-bank GPIO chips and IRQ domains

2012-09-21 Thread Tomasz Figa
This patch modifies device tree sources of Exynos4210 to match the changes done to pinctrl-samsung driver. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/exynos4210-pinctrl-banks.dtsi | 72 + arch/arm/boot/dts/exynos4210.dtsi | 4 -- 2 files changed, 72 i

[RFC PATCH 1/6] pinctrl: samsung: Hold OF node of pin bank in bank struct

2012-09-21 Thread Tomasz Figa
The node pointer will be used in extensions added by patches that will follow. Signed-off-by: Tomasz Figa --- drivers/pinctrl/pinctrl-samsung.c | 2 ++ drivers/pinctrl/pinctrl-samsung.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/p

[RFC PATCH 2/6] pinctrl: samsung: Hold pointer to driver data in bank struct

2012-09-21 Thread Tomasz Figa
The pointer will be used by further extensions added to the driver. Signed-off-by: Tomasz Figa --- drivers/pinctrl/pinctrl-samsung.c | 33 + drivers/pinctrl/pinctrl-samsung.h | 2 ++ 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/drivers/pinctrl

Re: [PATCH V6 2/2] video: drm: exynos: Add device tree support

2012-09-21 Thread Stephen Warren
On 09/21/2012 01:22 AM, Inki Dae wrote: > 2012/9/21 Stephen Warren : >> On 09/21/2012 05:22 AM, Leela Krishna Amudala wrote: >>> This patch adds device tree based discovery support for exynos DRM-FIMD >>> driver which includes driver modification to handle platform data in >>> both the cases with D

Re: [RFC 0/6] pinctrl: samsung: Remove static platform-specific data

2012-09-21 Thread Stephen Warren
On 09/20/2012 02:53 AM, Tomasz Figa wrote: > This RFC series is a work on replacing static platform-specific data in > pinctrl-samsung driver with data dynamically parsed from device tree. Hmm. I tend to think this is exactly the opposite of the correct direction; you end up wasting a whole ton of

Re: [RFC 6/6] ARM: dts: exynos4210: Add platform-specific descriptions for pin controllers

2012-09-21 Thread Stephen Warren
On 09/20/2012 02:53 AM, Tomasz Figa wrote: > The patch "pinctrl: samsung: Parse pin banks from DT" introduced > platform-specific data parsing from DT. > > This patch adds all necessary nodes and properties to exynos4210 device > tree sources. > +++ b/arch/arm/boot/dts/exynos4210-pinctrl-banks.dt

Re: [RFC 0/6] pinctrl: samsung: Remove static platform-specific data

2012-09-21 Thread Tomasz Figa
Hi Stephen, Thanks for your comments. On Friday 21 of September 2012 12:40:35 Stephen Warren wrote: > On 09/20/2012 02:53 AM, Tomasz Figa wrote: > > This RFC series is a work on replacing static platform-specific data in > > pinctrl-samsung driver with data dynamically parsed from device tree. >

Re: [RFC 6/6] ARM: dts: exynos4210: Add platform-specific descriptions for pin controllers

2012-09-21 Thread Tomasz Figa
Hi Stephen, Thanks for your comments. On Friday 21 of September 2012 12:56:41 Stephen Warren wrote: > On 09/20/2012 02:53 AM, Tomasz Figa wrote: > > The patch "pinctrl: samsung: Parse pin banks from DT" introduced > > platform-specific data parsing from DT. > > > > This patch adds all necessary

Re: [PATCH 4/5] ARM: EXYNOS: Add support for Exynos secure firmware

2012-09-21 Thread Olof Johansson
On Wed, Sep 19, 2012 at 3:10 AM, Tomasz Figa wrote: > Hi Olof, > > On Saturday 15 of September 2012 17:44:55 Olof Johansson wrote: >> On Thu, Sep 13, 2012 at 10:13:37AM +0200, Tomasz Figa wrote: >> > +static void __iomem *exynos_cpu_boot_reg(int cpu) >> > +{ >> > + return S5P_VA_SYSRAM_NS + 0x1c

Re: [PATCH 2/5] ARM: Add interface for registering and calling firmware-specific operations

2012-09-21 Thread Olof Johansson
On Thu, Sep 13, 2012 at 10:13:35AM +0200, Tomasz Figa wrote: > Some boards are running with secure firmware running in TrustZone secure > world, which changes the way some things have to be initialized. > > This patch adds an interface for platforms to specify available firmware > operations and c

Re: [GIT PULL 4/4] Samsung DT for v3.7

2012-09-21 Thread Kukjin Kim
On 09/21/12 15:26, Kukjin Kim wrote: Hi Arnd, Olof This is for updating Samsung DT for v3.7. But now this makes many conflicts with pinctrl dt because of moving file so I'm sorting them out to avoid useless conflicts. I'll re-send this soon again. This is jut for your information. I created f

Re: [PATCH 0/5] ARM: EXYNOS: Add secure firmware support

2012-09-21 Thread Olof Johansson
On Fri, Sep 21, 2012 at 05:39:41PM +0900, Kyungmin Park wrote: > On 9/19/12, Tomasz Figa wrote: > > Hi, > > > > On Thursday 13 of September 2012 10:13:33 Tomasz Figa wrote: > >> Some Exynos-based boards are running with secure firmware running in > >> TrustZone secure world, which changes the way

Re: [GIT PULL 1/4] Samsung fixes for v3.7

2012-09-21 Thread Olof Johansson
On Fri, Sep 21, 2012 at 03:21:37PM +0900, Kukjin Kim wrote: > Hi Arnd, Olof > > This is non-critical Samsung fixes for v3.7. > > If any problems, please kindly let me know. > > Thanks. > > Best regards, > Kgene. > -- > Kukjin Kim , Senior Engineer, > SW Solution Development Team, Samsung Electr

Re: [PATCH 4/5] ARM: EXYNOS: Add support for Exynos secure firmware

2012-09-21 Thread Kyungmin Park
On 9/22/12, Olof Johansson wrote: > On Wed, Sep 19, 2012 at 3:10 AM, Tomasz Figa wrote: >> Hi Olof, >> >> On Saturday 15 of September 2012 17:44:55 Olof Johansson wrote: >>> On Thu, Sep 13, 2012 at 10:13:37AM +0200, Tomasz Figa wrote: >>> > +static void __iomem *exynos_cpu_boot_reg(int cpu) >>> >

Re: [GIT PULL 2/4] Samsung pinctrl-2 for v3.7

2012-09-21 Thread Olof Johansson
On Fri, Sep 21, 2012 at 03:22:18PM +0900, Kukjin Kim wrote: > Hi Arnd, Olof > > This is for fix typo and correct fucntion for Samsung pinctrl and > since this has a dependency with previous pinctrl branch I created > this based on that. > > If any problems, please kindly let me know. > > Thanks.

Re: [GIT PULL 3/4] Samsung devel for v3.7

2012-09-21 Thread Olof Johansson
On Fri, Sep 21, 2012 at 03:22:43PM +0900, Kukjin Kim wrote: > Hi Arnd, Olof > > Here is Samsung development for v3.7 and most of them are updating. > > If any problems, please kindly let me know. > > Thanks. > > Best regards, > Kgene. > -- > Kukjin Kim , Senior Engineer, > SW Solution Developme

Re: [PATCH 2/5] ARM: Add interface for registering and calling firmware-specific operations

2012-09-21 Thread Kyungmin Park
On 9/22/12, Olof Johansson wrote: > On Thu, Sep 13, 2012 at 10:13:35AM +0200, Tomasz Figa wrote: >> Some boards are running with secure firmware running in TrustZone secure >> world, which changes the way some things have to be initialized. >> >> This patch adds an interface for platforms to speci

[PATCH] serial: samsung: Add poll_get_char & poll_put_char

2012-09-21 Thread Doug Anderson
From: Julien Pichon The following patch allows users to use KGDB over serial console on board based on Samsung SOC. It has been tested on a board using exynos5. Signed-off-by: Julien Pichon Signed-off-by: Doug Anderson (dianders changed poll to return NO_POLL_CHAR, which appears to fix 'help'

Re: [PATCH 2/5] ARM: Add interface for registering and calling firmware-specific operations

2012-09-21 Thread Olof Johansson
On Sat, Sep 22, 2012 at 03:01:56PM +0900, Kyungmin Park wrote: > On 9/22/12, Olof Johansson wrote: > > On Thu, Sep 13, 2012 at 10:13:35AM +0200, Tomasz Figa wrote: > >> Some boards are running with secure firmware running in TrustZone secure > >> world, which changes the way some things have to be

Re: [PATCH 4/5] ARM: EXYNOS: Add support for Exynos secure firmware

2012-09-21 Thread Olof Johansson
On Fri, Sep 21, 2012 at 10:57 PM, Kyungmin Park wrote: > On 9/22/12, Olof Johansson wrote: >> On Wed, Sep 19, 2012 at 3:10 AM, Tomasz Figa wrote: >>> Hi Olof, >>> >>> On Saturday 15 of September 2012 17:44:55 Olof Johansson wrote: On Thu, Sep 13, 2012 at 10:13:37AM +0200, Tomasz Figa wrote:

Re: [PATCH 4/5] ARM: EXYNOS: Add support for Exynos secure firmware

2012-09-21 Thread Kyungmin Park
On 9/22/12, Olof Johansson wrote: > On Fri, Sep 21, 2012 at 10:57 PM, Kyungmin Park > wrote: >> On 9/22/12, Olof Johansson wrote: >>> On Wed, Sep 19, 2012 at 3:10 AM, Tomasz Figa wrote: Hi Olof, On Saturday 15 of September 2012 17:44:55 Olof Johansson wrote: > On Thu, Sep 13,