Re: [RFC V2 0/3] drm/bridge: panel and chaining

2014-05-08 Thread Ajay kumar
Hi Andrej, On Thu, May 8, 2014 at 12:11 PM, Andrzej Hajda wrote: > On 05/05/2014 09:52 PM, Ajay Kumar wrote: >> This patchset is based on exynos-drm-next-todo branch of Inki Dae's tree at: >> git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git >> >&

Re: [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow

2014-05-08 Thread Ajay kumar
Tomasz, On Thu, May 8, 2014 at 2:20 AM, Tomasz Figa wrote: > On 07.05.2014 22:47, Ajay kumar wrote: >> >> Tomasz, >> >> On Thu, May 8, 2014 at 2:04 AM, Tomasz Figa wrote: >>> >>> Hi Ajay, >>> >>> >>> On 07.05.2014 14:56, Aj

[PATCH 2/2] ARM: dts: enable pwm backlight for snow

2014-05-08 Thread Ajay Kumar
Add PWM backlight node for exynos5250 based snow board. Signed-off-by: Olof Johansson Signed-off-by: Ajay Kumar --- arch/arm/boot/dts/exynos5250-snow.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250

[PATCH 1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250

2014-05-08 Thread Ajay Kumar
Adds the PWM nodes to 5250 pinctrl dtsi file. Signed-off-by: Ajay Kumar --- arch/arm/boot/dts/exynos5250-pinctrl.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi index

Re: [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow

2014-05-07 Thread Ajay kumar
Tomasz, On Thu, May 8, 2014 at 2:04 AM, Tomasz Figa wrote: > Hi Ajay, > > > On 07.05.2014 14:56, Ajay Kumar wrote: >> >> Add PWM backlight node for exynos5250 and enable the same on exynos5250 >> based snow board. >> >> Signed-off-by: Ol

[PATCH] ARM: dts: enable pwm backlight on exynos5250-snow

2014-05-07 Thread Ajay Kumar
Add PWM backlight node for exynos5250 and enable the same on exynos5250 based snow board. Signed-off-by: Olof Johansson Signed-off-by: Ajay Kumar --- arch/arm/boot/dts/exynos5250-pinctrl.dtsi |7 +++ arch/arm/boot/dts/exynos5250-snow.dts |5 + arch/arm/boot/dts/exynos5250

Re: [RFC V2 1/3] drm: implement chaining of drm bridges

2014-05-06 Thread Ajay kumar
On Wed, May 7, 2014 at 1:33 AM, Sean Paul wrote: > On Tue, May 6, 2014 at 12:45 PM, Ajay kumar wrote: >> Sean, >> >> >> On Tue, May 6, 2014 at 9:25 PM, Sean Paul wrote: >>> On Mon, May 5, 2014 at 12:52 PM, Ajay Kumar >>> wrote: >>>&g

Re: [RFC V2 3/3] drm/bridge: ptn3460: support bridge chaining

2014-05-06 Thread Ajay kumar
Sean, On Tue, May 6, 2014 at 9:24 PM, Sean Paul wrote: > On Mon, May 5, 2014 at 12:52 PM, Ajay Kumar wrote: >> modify the driver to call the bridge->funcs of the next bridge >> in the chain. >> We assume that the bridge sitting next to ptn3460 is a bridge-panel. >>

Re: [RFC V2 1/3] drm: implement chaining of drm bridges

2014-05-06 Thread Ajay kumar
Rob, On Tue, May 6, 2014 at 9:42 PM, Rob Clark wrote: > On Tue, May 6, 2014 at 11:55 AM, Sean Paul wrote: >> On Mon, May 5, 2014 at 12:52 PM, Ajay Kumar wrote: >>> As of now, we can have only one bridge hanging off the encoder. >>> With this patch, we allow multip

Re: [RFC V2 1/3] drm: implement chaining of drm bridges

2014-05-06 Thread Ajay kumar
Sean, On Tue, May 6, 2014 at 9:25 PM, Sean Paul wrote: > On Mon, May 5, 2014 at 12:52 PM, Ajay Kumar wrote: >> As of now, we can have only one bridge hanging off the encoder. >> With this patch, we allow multiple bridges to hang onto the same encoder >> with the use of a s

[RFC V2 1/3] drm: implement chaining of drm bridges

2014-05-05 Thread Ajay Kumar
dge drivers to call bridge->funcs for the next bridge in the chain. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/drm_crtc.c | 13 - include/drm/drm_crtc.h | 2 ++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c

[RFC V2 2/3] drm/bridge: add a dummy panel driver to support lvds bridges

2014-05-05 Thread Ajay Kumar
implement basic panel controls as a drm_bridge so that the existing bridges can make use of it. The driver assumes that it is the last entity in the bridge chain. Signed-off-by: Ajay Kumar --- .../bindings/drm/bridge/bridge_panel.txt | 45 drivers/gpu/drm/bridge/Kconfig

[RFC V2 3/3] drm/bridge: ptn3460: support bridge chaining

2014-05-05 Thread Ajay Kumar
modify the driver to call the bridge->funcs of the next bridge in the chain. We assume that the bridge sitting next to ptn3460 is a bridge-panel. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/ptn3460.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) d

[RFC V2 0/3] drm/bridge: panel and chaining

2014-05-05 Thread Ajay Kumar
dge. This works well with ptn3460 bridge chip on exynos5250-snow board. Still need to make use of standard list calls and figure out proper way of deleting the bridge chain. So, this is just a rough version. Ajay Kumar (3): [RFC V2 1/3] drm: implement chaining of drm bridges [RFC V2 2/3] dr

Re: [PATCH 4/4] ARM: dts: exynos5250-snow: add ptn3460 node

2014-04-30 Thread Ajay kumar
Hi, On Tue, Apr 15, 2014 at 4:24 AM, Olof Johansson wrote: > Hi Sachin, > > On Mon, Apr 14, 2014 at 6:16 AM, Sachin Kamat wrote: >> From: Doug Anderson >> >> Added nodes for ptn3460 driver to Snow board. >> >> Signed-off-by: Doug Anderson >> Signed

Re: [PATCH V2 2/9] drm/panel: add pre_enable and post_disable routines

2014-04-29 Thread Ajay kumar
ping! On Fri, Apr 25, 2014 at 11:46 PM, Ajay kumar wrote: > On Fri, Apr 25, 2014 at 11:34 AM, Ajay kumar wrote: >> On Friday, April 25, 2014, Thierry Reding wrote: >>> >>> On Thu, Apr 24, 2014 at 12:56:02AM +0530, Ajay kumar wrote: >>> > Thierry, >

Re: [PATCH V2 7/9] drm/bridge: ptn3460: add drm_panel controls

2014-04-28 Thread Ajay kumar
Daniel, On Sun, Apr 27, 2014 at 6:25 PM, Daniel Vetter wrote: > On Fri, Apr 25, 2014 at 8:17 AM, Ajay kumar wrote: >> We can call panel_enable/disable at the right point. Even the bridge chips >> expect the same. So, I am not ok with combining the bridge and panel and >

Re: [PATCH V2 2/9] drm/panel: add pre_enable and post_disable routines

2014-04-25 Thread Ajay kumar
On Fri, Apr 25, 2014 at 11:34 AM, Ajay kumar wrote: > On Friday, April 25, 2014, Thierry Reding wrote: >> >> On Thu, Apr 24, 2014 at 12:56:02AM +0530, Ajay kumar wrote: >> > Thierry, >> > >> > On Wed, Apr 23, 2014 at 1:12 PM, Thierry Reding >> >

Re: [PATCH V2 7/9] drm/bridge: ptn3460: add drm_panel controls

2014-04-24 Thread Ajay kumar
Sorry for the previous reply. Here goes the full explaination. On Fri, Apr 25, 2014 at 11:40 AM, Ajay kumar wrote: > On Thu, Apr 24, 2014 at 11:08 PM, Ajay kumar wrote: >> On Thu, Apr 24, 2014 at 10:55 PM, Rob Clark wrote: >>> On Thu, Apr 24, 2014 at 12:55 PM, Ajay kuma

Re: [PATCH V2 7/9] drm/bridge: ptn3460: add drm_panel controls

2014-04-24 Thread Ajay kumar
On Thu, Apr 24, 2014 at 11:08 PM, Ajay kumar wrote: > On Thu, Apr 24, 2014 at 10:55 PM, Rob Clark wrote: >> On Thu, Apr 24, 2014 at 12:55 PM, Ajay kumar wrote: >>> Rob, >>> >>> On Thu, Apr 24, 2014 at 9:41 PM, Rob Clark wrote: >>>> On

Re: [PATCH V2 2/9] drm/panel: add pre_enable and post_disable routines

2014-04-24 Thread Ajay kumar
On Friday, April 25, 2014, Thierry Reding wrote: > > On Thu, Apr 24, 2014 at 12:56:02AM +0530, Ajay kumar wrote: > > Thierry, > > > > On Wed, Apr 23, 2014 at 1:12 PM, Thierry Reding > > wrote: > > > On Wed, Apr 23, 2014 at 09:29:15AM +0200, Daniel Vett

Re: [PATCH V2 7/9] drm/bridge: ptn3460: add drm_panel controls

2014-04-24 Thread Ajay kumar
On Thu, Apr 24, 2014 at 10:55 PM, Rob Clark wrote: > On Thu, Apr 24, 2014 at 12:55 PM, Ajay kumar wrote: >> Rob, >> >> On Thu, Apr 24, 2014 at 9:41 PM, Rob Clark wrote: >>> On Wed, Apr 23, 2014 at 3:02 PM, Ajay kumar wrote: >>>> Sorry for the pr

Re: [PATCH V2 7/9] drm/bridge: ptn3460: add drm_panel controls

2014-04-24 Thread Ajay kumar
Rob, On Thu, Apr 24, 2014 at 9:41 PM, Rob Clark wrote: > On Wed, Apr 23, 2014 at 3:02 PM, Ajay kumar wrote: >> Sorry for the previous reply, >> >> Here goes the full explaination: >> >>> Rob, >>> >>> On Tue, Apr 22, 2014 at 5:04 PM, Ro

Re: [PATCH V2 2/9] drm/panel: add pre_enable and post_disable routines

2014-04-23 Thread Ajay kumar
Thierry, On Wed, Apr 23, 2014 at 1:12 PM, Thierry Reding wrote: > On Wed, Apr 23, 2014 at 09:29:15AM +0200, Daniel Vetter wrote: >> On Tue, Apr 22, 2014 at 08:06:19PM +0530, Ajay kumar wrote: >> > Hi Thierry, >> > >> > >> > On Tue, Apr 22, 2014 at 1

Re: [PATCH V2 2/9] drm/panel: add pre_enable and post_disable routines

2014-04-23 Thread Ajay kumar
Daniel, On Wed, Apr 23, 2014 at 12:59 PM, Daniel Vetter wrote: > On Tue, Apr 22, 2014 at 08:06:19PM +0530, Ajay kumar wrote: >> Hi Thierry, >> >> >> On Tue, Apr 22, 2014 at 1:49 PM, Thierry Reding >> wrote: >> > On Tue, Apr 22, 2014 at 04:09:11AM

Re: [PATCH V2 7/9] drm/bridge: ptn3460: add drm_panel controls

2014-04-23 Thread Ajay kumar
and one after SLP_N) -- sometimes panel controls needs to be done after bridge controls. So, putting these drm_panel controls inside individual bridge drivers will work, but keeping them in crtc_helpers might break stuff. Thanks and regards, Ajay Kumar -- To unsubscribe from this list: send the lin

Re: [PATCH V2 7/9] drm/bridge: ptn3460: add drm_panel controls

2014-04-23 Thread Ajay kumar
done before bridge controls, > ... and so on. > > If you don't need a real bridge, just create one of these w/ > pb->bridge==NULL, otherwise create it as a wrapper for your real > bridge. > > BR, > -R > > On Mon, Apr 21, 2014 at 6:39 PM, Ajay Kumar wrot

Re: [PATCH V2 9/9] drm/exynos: Add ps8622 lvds bridge discovery to DP driver

2014-04-22 Thread Ajay kumar
Hi Thierry, On Tue, Apr 22, 2014 at 2:57 PM, Thierry Reding wrote: > On Tue, Apr 22, 2014 at 04:09:18AM +0530, Ajay Kumar wrote: >> This patch adds ps8622 lvds bridge discovery code to the dp driver. >> >> Signed-off-by: Rahul Sharma >> Signed-off-by: Ajay Kumar

Re: [PATCH V2 4/9] drm/exynos: add exynos_dp_panel driver registration to drm driver

2014-04-22 Thread Ajay kumar
Hi Thierry, On Tue, Apr 22, 2014 at 2:03 PM, Thierry Reding wrote: > On Tue, Apr 22, 2014 at 04:09:13AM +0530, Ajay Kumar wrote: >> Register exynos_dp_panel before the list of exynos crtcs and >> connectors are probed. >> >> This is needed because exynos_dp_panel sho

Re: [PATCH V2 3/9] drm/panel: Add driver for exynos_dp based panels

2014-04-22 Thread Ajay kumar
Hi Thierry, On Tue, Apr 22, 2014 at 1:56 PM, Thierry Reding wrote: > On Tue, Apr 22, 2014 at 04:09:12AM +0530, Ajay Kumar wrote: >> This patch adds a simple driver to handle all the LCD and LED >> powerup/down routines needed to support eDP/eDP-LVDS panels >> suppo

Re: [PATCH V2 3/9] drm/panel: Add driver for exynos_dp based panels

2014-04-22 Thread Ajay kumar
Hi Jingoo, On Tue, Apr 22, 2014 at 12:52 PM, Jingoo Han wrote: > > On Tuesday, April 22, 2014 7:39 AM, Ajay Kumar wrote: > > > > This patch adds a simple driver to handle all the LCD and LED > > powerup/down routines needed to support eDP/eDP-LVDS panels > &

Re: [PATCH V2 8/9] drm/bridge: Add PS8622 bridge driver

2014-04-22 Thread Ajay kumar
Hi Sean, On Tue, Apr 22, 2014 at 7:01 PM, Sean Paul wrote: > > On Mon, Apr 21, 2014 at 6:39 PM, Ajay Kumar wrote: > > This patch adds a drm_bridge driver for the PS8622 DisplayPort to LVDS > > bridge chip. > > > > Signed-off-by: Andrew Bresticker > > Sign

[PATCH V2 2/9] drm/panel: add pre_enable and post_disable routines

2014-04-21 Thread Ajay Kumar
e can easily map the above scenario as shown below: poweron LCD unit/LCD_EN = "pre_enable" callback poweron LED unit/BL_EN = "enable" callback poweroff LED unit/BL_EN = "disable" callback poweroff LCD unit/LCD_EN = "post_disable" call

[PATCH V2 7/9] drm/bridge: ptn3460: add drm_panel controls

2014-04-21 Thread Ajay Kumar
attach ptn3460 connector to drm_panel and support drm_panel routines, if a valid drm_panel object is passed to ptn3460_init. Signed-off-by: Ajay Kumar --- Changes since V1: Address few coding style comments from Jingoo Han drivers/gpu/drm/bridge/Kconfig |1 + drivers/gpu

[PATCH V2 5/9] drm/exynos: dp: modify driver to support drm_panel

2014-04-21 Thread Ajay Kumar
This patch attaches the dp connector to exynos_dp_panel, and adds calls to drm_panel functions to control panel power sequence. Signed-off-by: Ajay Kumar --- Changes since V1: Addressed a comment from Jingoo Han. Also added post_disable control to exynos_dp driver. drivers/gpu

[PATCH V2 0/9] drm: exynos: few patches to enhance bridge chip support

2014-04-21 Thread Ajay Kumar
er is also added. For testing, I have used exynos5250-snow, and exynos5420-peach-pit boards along with a few local arch side patches. Andrew Bresticker (1): [PATCH 1/9] drm/exynos: dp: support hotplug detection via GPIO Ajay Kumar (7): [PATCH 2/9] drm/panel: add pre_enable and post_disable rou

[PATCH V2 9/9] drm/exynos: Add ps8622 lvds bridge discovery to DP driver

2014-04-21 Thread Ajay Kumar
This patch adds ps8622 lvds bridge discovery code to the dp driver. Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar --- Changes since V1: Pushing V1 for this as V2 because this patch holds good in this series. drivers/gpu/drm/exynos/exynos_dp_core.c |9 + 1 file

[PATCH V2 6/9] drm/bridge: ptn3460: enable polling based detection

2014-04-21 Thread Ajay Kumar
From: Rahul Sharma Add DRM_CONNECTOR_POLL_HPD to the set of connector flags while registering drm_connector for ptn3460. Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar --- Changes since V1: No Change since V1 drivers/gpu/drm/bridge/ptn3460.c |1 + 1 file changed, 1

[PATCH V2 1/9] drm/exynos: dp: support hotplug detection via GPIO

2014-04-21 Thread Ajay Kumar
he GPIO is then set up as an edge-triggered interrupt where the rising edge indicates hotplug-in and the falling edge indicates hotplug-out. Signed-off-by: Andrew Bresticker Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar --- Changes since V1: Address reiew comments from

[PATCH V2 4/9] drm/exynos: add exynos_dp_panel driver registration to drm driver

2014-04-21 Thread Ajay Kumar
Register exynos_dp_panel before the list of exynos crtcs and connectors are probed. This is needed because exynos_dp_panel should be registered to the drm_panel list via panel-exynos-dp probe, i.e much before exynos_dp_bind calls of_drm_find_panel(). Signed-off-by: Ajay Kumar --- Changes since

[PATCH V2 3/9] drm/panel: Add driver for exynos_dp based panels

2014-04-21 Thread Ajay Kumar
. Sometimes, we can have LCD_EN switches as well. The routines in this driver can be used to control panel power sequence on such boards. Signed-off-by: Ajay Kumar --- Changes since V1: Added routine for post_disable, removed few unwanted headers. Refactored a lot of code

[PATCH V2 8/9] drm/bridge: Add PS8622 bridge driver

2014-04-21 Thread Ajay Kumar
This patch adds a drm_bridge driver for the PS8622 DisplayPort to LVDS bridge chip. Signed-off-by: Andrew Bresticker Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar --- Changes since V1: Pushing V1 for this as V2 because this patch holds good in this

[PATCH 2/7] drm/panel: add pre_enable routine to drm panel

2014-04-16 Thread Ajay Kumar
ted. This patch adds a "pre_enable" callback which can be called before the actual video data is on, and then call the "enable" callback after the video data is available. Signed-off-by: Ajay Kumar --- include/drm/drm_panel.h | 9 + 1 file changed, 9 insertions(+) diff -

[PATCH 5/7] drm/exynos: dp: modify driver to support drm_panel

2014-04-16 Thread Ajay Kumar
This patch attaches the dp connector to exynos_dp_panel, and adds calls to drm_panel functions to control panel power sequence. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/Kconfig | 1 + drivers/gpu/drm/exynos/exynos_dp_core.c | 19 +++ drivers/gpu/drm/exynos

[PATCH 4/7] drm/exynos: add exynos_dp_panel driver registration to drm driver

2014-04-16 Thread Ajay Kumar
Register exynos_dp_panel before the list of exynos crtcs and connectors are probed. This is needed because exynos_dp_panel should be registered to the drm_panel list via panel-exynos-dp probe, i.e much before exynos_dp_bind calls of_drm_find_panel(). Signed-off-by: Ajay Kumar --- drivers/gpu

[PATCH 7/7] drm/bridge: ptn3460: add drm_panel controls

2014-04-16 Thread Ajay Kumar
attach ptn3460 connector to drm_panel and support drm_panel routines, if a valid drm_panel object is passed to ptn3460_init. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/Kconfig | 1 + drivers/gpu/drm/bridge/ptn3460.c| 17 - drivers/gpu/drm/exynos

[PATCH 0/7] drm: exynos: few patches to enhance bridge chip support

2014-04-16 Thread Ajay Kumar
s: dp: support hotplug detection via GPIO Ajay Kumar (5): [PATCH 2/7] drm/panel: add pre_enable routine to drm panel [PATCH 3/7] drm/panel: Add driver for exynos_dp based panels [PATCH 4/7] drm/exynos: add exynos_dp_panel driver registration to drm driver [PATCH 5/7] drm/exynos: dp: modify driv

[PATCH 6/7] drm/bridge: ptn3460: enable polling based detection

2014-04-16 Thread Ajay Kumar
From: Rahul Sharma Add DRM_CONNECTOR_POLL_HPD to the set of connector flags while registering drm_connector for ptn3460. Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/ptn3460.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge

[PATCH 3/7] drm/panel: Add driver for exynos_dp based panels

2014-04-16 Thread Ajay Kumar
-off-by: Ajay Kumar --- .../devicetree/bindings/panel/exynos-dp-panel.txt | 32 drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-exynos-dp.c| 213 + 4 files

[PATCH 1/7] drm/exynos: dp: support hotplug detection via GPIO

2014-04-16 Thread Ajay Kumar
he GPIO is then set up as an edge-triggered interrupt where the rising edge indicates hotplug-in and the falling edge indicates hotplug-out. Signed-off-by: Andrew Bresticker Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar --- .../devicetree/bindings/video/exynos_dp.txt| 4 +++ d

[RFC 3/4] drm: exynos: add IELCD post processor

2014-03-19 Thread Ajay Kumar
Add post processor ops for IELCD and their support functions. Expose an interface for the FIMD to register IELCD PP. Signed-off-by: Ajay Kumar Signed-off-by: Shirish S Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/Makefile | 3 +- drivers/gpu/drm/exynos/exynos_ielcd.c | 295

[RFC 2/4] drm: exynos: add MDNIE post processor

2014-03-19 Thread Ajay Kumar
Add post processor ops for MDNIE and their support functions. Expose an interface for the FIMD to register MDNIE PP. Signed-off-by: Ajay Kumar Signed-off-by: Shirish S Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/Makefile| 2 +- drivers/gpu/drm/exynos/exynos_mdnie.c

[RFC 4/4] drm: exynos: add MDNIE and IELCD to FIMD pp list

2014-03-19 Thread Ajay Kumar
This patch adds code to add MDNIE and IELCD onto the list of FIMD PP. Signed-off-by: Ajay Kumar Signed-off-by: Shirish S Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 17 + drivers/gpu/drm/exynos/exynos_fimd_pp.h | 2 ++ 2 files changed, 19

[RFC 0/4] drm: exynos: Add drivers for MDNIE and IELCD

2014-03-19 Thread Ajay Kumar
upport the enhanced display output. MDNIE and IELCD DT nodes are given as phandles to FIMD DT node. SOC specific information like base address, clocks and other configuration information are extracted via FIMD DT node. Ajay Kumar, Shirish, Rahul Sharma (4): drm: exynos: Add infrastructure to su

[RFC 1/4] drm: exynos: Add infrastructure to support FIMD post processors

2014-03-19 Thread Ajay Kumar
interfaces from FIMD driver to control FIMD PP. Signed-off-by: Ajay Kumar Signed-off-by: Shirish S Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 162 +++ drivers/gpu/drm/exynos/exynos_fimd_pp.h | 52 ++ include/video

Re: [PATCH 3/3] ARM: EXYNOS: Add g2d clock support for EXYNOS5

2012-12-20 Thread Ajay kumar
ping. On Wed, Nov 28, 2012 at 7:59 PM, Ajay Kumar wrote: > Add g2d clock instance for EXYNOS5 g2d controller. > > Signed-off-by: Ajay Kumar > --- > arch/arm/mach-exynos/clock-exynos5.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/ar

Re: [PATCH 2/3] ARM: EXYNOS: Add AUXDATA for G2D controller

2012-12-20 Thread Ajay kumar
ping. On Wed, Nov 28, 2012 at 7:59 PM, Ajay Kumar wrote: > Use AUXDATA to set the device names for G2D controller instance > discovered from device tree. > > Signed-off-by: Ajay Kumar > --- > arch/arm/mach-exynos/mach-exynos5-dt.c |2 ++ > 1 files changed, 2 inser

Re: [PATCH 1/3] ARM: dts: Add device tree node for G2D controller on Exynos5

2012-12-20 Thread Ajay kumar
ping. On Wed, Nov 28, 2012 at 7:59 PM, Ajay Kumar wrote: > Signed-off-by: Ajay Kumar > --- > arch/arm/boot/dts/exynos5250.dtsi |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/boot/dts/exynos5250.dtsi > b/arch/arm/boot/dts/ex

[PATCH 3/3] ARM: EXYNOS: Add g2d clock support for EXYNOS5

2012-11-28 Thread Ajay Kumar
Add g2d clock instance for EXYNOS5 g2d controller. Signed-off-by: Ajay Kumar --- arch/arm/mach-exynos/clock-exynos5.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock-exynos5.c index 5c63bc7..f16b027

[PATCH 2/3] ARM: EXYNOS: Add AUXDATA for G2D controller

2012-11-28 Thread Ajay Kumar
Use AUXDATA to set the device names for G2D controller instance discovered from device tree. Signed-off-by: Ajay Kumar --- arch/arm/mach-exynos/mach-exynos5-dt.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach

[PATCH 1/3] ARM: dts: Add device tree node for G2D controller on Exynos5

2012-11-28 Thread Ajay Kumar
Signed-off-by: Ajay Kumar --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 581e57a..6d50c15 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch

[PATCH V5 2/2] video: exynos_dp: device tree documentation

2012-10-12 Thread Ajay Kumar
Add documentation for the DT bindings in exynos display port driver. Signed-off-by: Ajay Kumar --- .../devicetree/bindings/video/exynos_dp.txt| 80 1 files changed, 80 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/video

[PATCH V5 1/2] video: exynos_dp: Add device tree support to DP driver

2012-10-12 Thread Ajay Kumar
This patch enables device tree based discovery support for DP driver. The driver is modified to handle platform data in both the cases: with DT and non-DT. Signed-off-by: Ajay Kumar Acked-by: Jingoo Han --- drivers/video/exynos/exynos_dp_core.c | 161 ++--- drivers

Re: [PATCH V4 2/2] video: exynos_dp: device tree documentation

2012-10-10 Thread Ajay kumar
Hi Sylwester, On Wed, Oct 10, 2012 at 2:59 AM, Sylwester Nawrocki wrote: > Hi Ajay, > > On 10/10/2012 01:08 AM, Ajay Kumar wrote: >> Add documentation for the DT bindings in exynos display port driver. >> >> Signed-off-by: Ajay Kumar >> --- >> .../

[PATCH V4 2/2] video: exynos_dp: device tree documentation

2012-10-09 Thread Ajay Kumar
Add documentation for the DT bindings in exynos display port driver. Signed-off-by: Ajay Kumar --- .../devicetree/bindings/video/exynos_dp.txt| 83 1 files changed, 83 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/video

[PATCH V4 1/2] video: exynos_dp: Add device tree support to DP driver

2012-10-09 Thread Ajay Kumar
child node with property name "samsung,dp_phy" associated with it. Signed-off-by: Ajay Kumar --- drivers/video/exynos/exynos_dp_core.c | 168 ++--- drivers/video/exynos/exynos_dp_core.h |2 + 2 files changed, 156 insertions(+), 14 deletions(-) di

[PATCH V4 0/2] video: exynos_dp: Add device tree support to DP driver

2012-10-09 Thread Ajay Kumar
Changes from V3: --Fix typos in the documentation file "exynos_dp.txt". --Use variable name enable_mask instead of enable_bit. --Use property name samsung,dp_phy instead of dp-phy. To linux-fbdev: [PATCH V4 1/2] video: exynos_dp: Add device tree support to DP driver To d

Re: [PATCH V3] video: exynos_dp: Add device tree support to DP driver

2012-09-30 Thread Ajay kumar
On Fri, Sep 28, 2012 at 5:41 AM, Jingoo Han wrote: > On Thursday, September 27, 2012 10:45 PM Sylwester Nawrocki wrote >> >> Hi, >> >> Cc: devicetree-disc...@lists.ozlabs.org >> >> On 09/24/2012 09:36 PM, Ajay Kumar wrote: >> > This patch enables d

Re: [PATCH] video: exynos_dp: Add device tree support to DP driver

2012-09-24 Thread Ajay kumar
Hi Jingoo, I have addressed all your comments and have sent the V3 Patch. Regards, Ajay Kumar On Thu, Sep 20, 2012 at 5:16 PM, Jingoo Han wrote: > On Friday, September 14, 2012 3:40 AM Ajay Kumar wrote >> >> This patch enables device tree based discovery support for DP driver. &

[PATCH V3] video: exynos_dp: Add device tree support to DP driver

2012-09-24 Thread Ajay Kumar
, and device node for DP should contain DP-PHY as child node with property name "dp-phy" associated with it. Signed-off-by: Ajay Kumar --- .../devicetree/bindings/video/exynos_dp.txt| 83 ++ drivers/video/exynos/exynos_dp_core.c | 168 ++-

[PATCH] video: exynos_dp: Add device tree support to DP driver

2012-09-13 Thread Ajay Kumar
child node with property name "dp-phy" associated with it. Signed-off-by: Ajay Kumar --- drivers/video/exynos/exynos_dp_core.c | 156 +++-- drivers/video/exynos/exynos_dp_core.h |2 + 2 files changed, 151 insertions(+), 7 deletions(-) diff --git a/dri

Re: [PATCH V2 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback

2012-07-18 Thread Ajay kumar
Hello Marek, On Wed, Jul 18, 2012 at 12:21 PM, Marek Szyprowski wrote: > Hello, > > On Wednesday, July 18, 2012 7:57 AM Leela Krishna Amudala wrote: > >> This patch updates the register address offsets and adds SFR definitions >> for writeback for Samsung's V8 display controller. >> >> Signed-off

Re: [PATCH V5 0/6] ARM: S5P64X0: Add Framebuffer support

2011-09-21 Thread Ajay kumar
Hi Kukjin, On Wed, Sep 21, 2011 at 5:43 PM, Kukjin Kim wrote: > Ajay Kumar wrote: >> >>  The patches are created against "for-next" branch of Kukjin Kim's tree > at: >>  git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git >> >

Re: [PATCH 1/3] include: fb: Add definiton for window positioning structure

2011-09-21 Thread Ajay kumar
On Wed, Sep 21, 2011 at 11:55 AM, Tomi Valkeinen wrote: > On Tue, 2011-09-20 at 20:08 +0300, Baruch Siach wrote: >> Hi Ajay, >> >> On Tue, Sep 20, 2011 at 08:56:57PM +0530, Ajay kumar wrote: >> > Hi Baruch, >> > On Tue, Sep 20, 2011 at 4:54

Re: [PATCH 1/3] include: fb: Add definiton for window positioning structure

2011-09-21 Thread Ajay kumar
Hi Florian, On Tue, Sep 20, 2011 at 10:25 PM, Florian Tobias Schandinat wrote: > On 09/20/2011 03:39 PM, Tomi Valkeinen wrote: >> On Tue, 2011-09-20 at 20:16 +0530, Ajay kumar wrote: >>> Hi Tomi, >>> >>> On Tue, Sep 20, 2011 at 4:40 PM, Tomi Valkeinen >

Re: [PATCH 1/3] include: fb: Add definiton for window positioning structure

2011-09-20 Thread Ajay kumar
Hi Baruch, On Tue, Sep 20, 2011 at 4:54 PM, Baruch Siach wrote: > Hi Ajay, > > On Tue, Sep 20, 2011 at 11:30:39AM -0400, Ajay Kumar wrote: >> This patch adds a data structure definiton to hold framebuffer >> windows/planes. >> An ioctl number is also added to provi

Re: [PATCH 1/3] include: fb: Add definiton for window positioning structure

2011-09-20 Thread Ajay kumar
Hi Tomi, On Tue, Sep 20, 2011 at 4:40 PM, Tomi Valkeinen wrote: > On Tue, 2011-09-20 at 11:30 -0400, Ajay Kumar wrote: >> This patch adds a data structure definiton to hold framebuffer >> windows/planes. >> An ioctl number is also added to provide user access >>

[PATCH 3/3] video: s3c-fb: Modify s3c-fb driver to support window positioning

2011-09-20 Thread Ajay Kumar
Positions the framebuffer window during driver initialization, using the platform data.It also adds an ioctl definition to change window position dynamically. Signed-off-by: Ajay Kumar Signed-off-by: Banajit Goswami Suggested-by: Marek Szyprowski --- drivers/video/s3c-fb.c | 37

[PATCH 2/3] ARM: SAMSUNG: Embed window positioning data structure in s3c-fb plat data

2011-09-20 Thread Ajay Kumar
This patch adds a new field in s3c_fb_pd_win structure, thereby allowing the user to place window at the desired position. Signed-off-by: Ajay Kumar Signed-off-by: Banajit Goswami Suggested-by: Marek Szyprowski --- arch/arm/plat-samsung/include/plat/fb.h |3 +++ 1 files changed, 3

[PATCH 1/3] include: fb: Add definiton for window positioning structure

2011-09-20 Thread Ajay Kumar
This patch adds a data structure definiton to hold framebuffer windows/planes. An ioctl number is also added to provide user access to change window position dynamically. Signed-off-by: Ajay Kumar Signed-off-by: Banajit Goswami Suggested-by: Marek Szyprowski --- include/linux/fb.h |7

[PATCH 0/3] FB: Add window positioning support

2011-09-20 Thread Ajay Kumar
This patchset adds support for positioning the overlay windows on the LCD. These patches are based on the discussion about adding features to fbdev at: http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg06292.html To Florian: include: fb: Add definiton for window positioning

[PATCH V5 5/6] ARM: S5P6440: Add LCD-LTE480 and enable Framebuffer support

2011-09-19 Thread Ajay Kumar
This patch: -- Adds platform device support for LCD-LTE480. -- Adds platform data for FB with win_mode and default_bpp. -- Enables FB device support and platform-lcd support. -- Adds SPCON settings for LCD. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0

[PATCH RESEND V5 4/6] ARM: S5P64X0: Add GPIO setup for LCD

2011-09-19 Thread Ajay Kumar
This patch adds GPIO lines settings(HSYNC, VSYNC, VCLK and VD) for LCD. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/Kconfig |6 ++ arch/arm/mach-s5p64x0/Makefile |1 + arch/arm/mach-s5p64x0/setup-fb-24bpp.c | 29 + arch/arm

[PATCH RESEND V5 3/6] ARM: S5P64X0: Set s3c_device_fb name

2011-09-19 Thread Ajay Kumar
Set s3c_device_fb name as "s5p64x0-fb" for S5P6440 and S5P6450. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/cpu.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5p64x0/cpu.c b/arch/arm/mach-s5p64x0/cpu.c index a5c0095..617da3b 100644

[PATCH RESEND V5 2/6] ARM: S5P64X0: Add register base and IRQ for Framebuffer

2011-09-19 Thread Ajay Kumar
This patch adds: -- Framebuffer related register mappings and bit fields. -- IRQ number being used. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/include/mach/irqs.h |4 arch/arm/mach-s5p64x0/include/mach/map.h |3 +++ 2 files changed, 7 insertions(+), 0

[PATCH V5 0/6] ARM: S5P64X0: Add Framebuffer support

2011-09-19 Thread Ajay Kumar
The patches are created against "for-next" branch of Kukjin Kim's tree at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git Changes since V1: - Remove mach/regs-fb.h, instead use plat/regs-fb.h. - Add common pdata for FB and LCD in SMDK6440 and SMDK6450.

[PATCH RESEND V5 1/6] video: s3c-fb: Add S5P64X0 specific s3c_fb_driverdata

2011-09-19 Thread Ajay Kumar
This patch: -- Adds s3c_fb_driverdata for S5P64X0, which supports 3 windows. -- Also, register "s5p64x0-fb" type driver_data. Signed-off-by: Ajay Kumar Acked-by: Jingoo Han Acked-by: Kukjin Kim --- drivers/video/s3c-fb.c | 27 +++ 1 files c

[PATCH V5 6/6] ARM: S5P6450: Add LCD-LTE480 and enable Framebuffer support

2011-09-19 Thread Ajay Kumar
This patch: -- Adds platform device support for LCD-LTE480. -- Adds platform data for FB with win_mode and default_bpp. -- Enables FB device support and platform-lcd support. -- Adds SPCON settings for LCD. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0

[PATCH V4 6/6] ARM: S5P6450: Add LCD-LTE480 and enable Framebuffer support

2011-09-09 Thread Ajay Kumar
This patch: -- Adds platform device support for LCD-LTE480. -- Adds platform data for FB with win_mode and default_bpp. -- Enables FB device support and platform-lcd support. -- Adds SPCON settings for LCD. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0

[PATCH V4 5/6] ARM: S5P6440: Add LCD-LTE480 and enable Framebuffer support

2011-09-09 Thread Ajay Kumar
This patch: -- Adds platform device support for LCD-LTE480. -- Adds platform data for FB with win_mode and default_bpp. -- Enables FB device support and platform-lcd support. -- Adds SPCON settings for LCD. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0

[PATCH V4 4/6] ARM: S5P64X0: Add GPIO setup for LCD

2011-09-09 Thread Ajay Kumar
This patch adds GPIO lines settings(HSYNC, VSYNC, VCLK and VD) for LCD. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/Kconfig |6 ++ arch/arm/mach-s5p64x0/Makefile |1 + arch/arm/mach-s5p64x0/setup-fb-24bpp.c | 29 + arch/arm

[PATCH V4 RESEND 3/6] ARM: S5P64X0: Set s3c_device_fb name

2011-09-09 Thread Ajay Kumar
Set s3c_device_fb name as "s5p64x0-fb" for S5P6440 and S5P6450. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/cpu.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5p64x0/cpu.c b/arch/arm/mach-s5p64x0/cpu.c index a5c0095..617da3b 100644

[PATCH V4 RESEND 2/6] ARM: S5P64X0: Add register base and IRQ for Framebuffer

2011-09-09 Thread Ajay Kumar
This patch adds: -- Framebuffer related register mappings and bit fields. -- IRQ number being used. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/include/mach/irqs.h |4 arch/arm/mach-s5p64x0/include/mach/map.h |3 +++ 2 files changed, 7 insertions(+), 0

[PATCH V4 RESEND 1/6] video: s3c-fb: Add S5P64X0 specific s3c_fb_driverdata

2011-09-09 Thread Ajay Kumar
This patch: -- Adds s3c_fb_driverdata for S5P64X0, which supports 3 windows. -- Also, register "s5p64x0-fb" type driver_data. Signed-off-by: Ajay Kumar Acked-by: Jingoo Han Acked-by: Kukjin Kim --- drivers/video/s3c-fb.c | 27 +++ 1 files c

[PATCH V4 0/6] ARM: S5P64X0: Add Framebuffer support

2011-09-09 Thread Ajay Kumar
The patches are created against "for-next" branch of Kukjin Kim's tree at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git Changes since V1: - Remove mach/regs-fb.h, instead use plat/regs-fb.h. - Add common pdata for FB and LCD in SMDK6440 and SMDK6450.

[PATCH V4 RESEND 1/6] video: s3c-fb: Add S5P64X0 specific s3c_fb_driverdata

2011-09-09 Thread Ajay Kumar
This patch: -- Adds s3c_fb_driverdata for S5P64X0, which supports 3 windows. -- Also, register "s5p64x0-fb" type driver_data. Signed-off-by: Ajay Kumar Acked-by: Jingoo Han Acked-by: Kukjin Kim --- drivers/video/s3c-fb.c | 27 +++ 1 files c

Re: [PATCH 0/2] video: s3c-fb: Add window positioning support

2011-09-06 Thread Ajay kumar
Hi Florian, On Thu, Sep 1, 2011 at 10:15 PM, Florian Tobias Schandinat wrote: > Hi all, > > On 08/25/2011 07:51 PM, Ajay Kumar wrote: >> Just as a note, there are many drivers like mx3fb.c, au1200fb.c and OMAP >> seem to be doing window/plane positioning in their driver co

[PATCH] ARM: S5P64X0: Fix mask value for S5P64X0 CPU IDs

2011-09-02 Thread Ajay Kumar
The current value for S5P64XX_CPU_MASK does not include the necessary bits, which causes detection failure. Signed-off-by: Ajay Kumar --- arch/arm/plat-samsung/include/plat/cpu.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-samsung/include/plat/cpu.h

Re: [PATCH 2/2] video: s3c-fb: Modify s3c-fb driver to support window positioning

2011-08-25 Thread Ajay kumar
Hi Jingoo, 2011/8/26 JinGoo Han : > Hi, Ajay. >> -Original Message- >> From: Ajay Kumar [mailto:ajaykumar...@samsung.com] >> Sent: Friday, August 26, 2011 4:52 AM >> To: linux-samsung-soc@vger.kernel.org; linux-fb...@vger.kernel.org; linux- >> arm

[PATCH 2/2] video: s3c-fb: Modify s3c-fb driver to support window positioning

2011-08-25 Thread Ajay Kumar
This patch modifies the existing s3c-fb driver to provide flexibility to the user to reposition the framebuffer windows. Signed-off-by: Ajay Kumar Signed-off-by: Banajit Goswami --- drivers/video/s3c-fb.c | 37 - 1 files changed, 32 insertions(+), 5

<    1   2   3   4   5   >