[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 > &

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

2014-04-22 Thread Ajay kumar
Hi Thierry, On Tue, Apr 22, 2014 at 1:49 PM, Thierry Reding wrote: > On Tue, Apr 22, 2014 at 04:09:11AM +0530, Ajay Kumar wrote: >> Most of the panels need an init sequence as mentioned below: >> -- poweron LCD unit/LCD_EN >> -- start video data >>

[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 > &g

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

2014-04-22 Thread Ajay kumar
Hi Jingoo, On Tue, Apr 22, 2014 at 2:13 PM, Jingoo Han wrote: > On Tuesday, April 22, 2014 7:39 AM, Ajay Kumar wrote: > > > > This patch adds a drm_bridge driver for the PS8622 DisplayPort to LVDS > > bridge chip. > > > > Signed-off-by: Andrew Brestic

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

2014-04-22 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 8/9] drm/bridge: Add PS8622 bridge driver

2014-04-22 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

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

2014-04-22 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 6/9] drm/bridge: ptn3460: enable polling based detection

2014-04-22 Thread Ajay Kumar
From: Rahul Sharma <rahul.sha...@samsung.com> 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

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

2014-04-22 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 4/9] drm/exynos: add exynos_dp_panel driver registration to drm driver

2014-04-22 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-22 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 2/9] drm/panel: add pre_enable and post_disable routines

2014-04-22 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 1/9] drm/exynos: dp: support hotplug detection via GPIO

2014-04-22 Thread Ajay Kumar
used for hotplug detection. The 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: Addres

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

2014-04-22 Thread Ajay Kumar
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 routines

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

2014-04-19 Thread Ajay kumar
Hi Jingoo, On Fri, Apr 18, 2014 at 2:55 PM, Jingoo Han wrote: > On Wednesday, April 16, 2014 11:33 PM, Ajay Kumar wrote: > > > > attach ptn3460 connector to drm_panel and support drm_panel routines, > > if a valid drm_panel object is passed to ptn3460_init. > > &g

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

2014-04-19 Thread Ajay kumar
Hi Jingoo, On Fri, Apr 18, 2014 at 2:38 PM, Jingoo Han wrote: > On Wednesday, April 16, 2014 11:33 PM, Ajay Kumar wrote: > > > > This patch attaches the dp connector to exynos_dp_panel, and adds > > calls to drm_panel functions to control panel power sequence. > > &g

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

2014-04-19 Thread Ajay kumar
Hi Jingoo, On Fri, Apr 18, 2014 at 2:27 PM, Jingoo Han wrote: > On Wednesday, April 16, 2014 11:33 PM, Ajay Kumar wrote: > > > > Register exynos_dp_panel before the list of exynos crtcs and > > connectors are probed. > > > > This is needed because exy

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

2014-04-19 Thread Ajay kumar
Hi Jingoo, On Fri, Apr 18, 2014 at 2:17 PM, Jingoo Han wrote: > On Wednesday, April 16, 2014 11:33 PM, 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 > >

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

2014-04-19 Thread Ajay kumar
Hi Jingoo, On Fri, Apr 18, 2014 at 1:53 PM, Jingoo Han wrote: > On Wednesday, April 16, 2014 11:33 PM, Ajay Kumar wrote: > > > > From: Andrew Bresticker > > > > Certain bridge chips use a GPIO to indicate the cable status instead > > of the I_DP_HPD pin.

[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 6/7] drm/bridge: ptn3460: enable polling based detection

2014-04-16 Thread Ajay Kumar
From: Rahul Sharma <rahul.sha...@samsung.com> 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

[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 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 2/7] drm/panel: add pre_enable routine to drm panel

2014-04-16 Thread Ajay Kumar
supported. 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 1/7] drm/exynos: dp: support hotplug detection via GPIO

2014-04-16 Thread Ajay Kumar
used for hotplug detection. The 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/vid

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

2014-04-16 Thread Ajay Kumar
: 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 driver

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

2014-03-21 Thread Ajay kumar
Hi Sachin, On Fri, Mar 21, 2014 at 2:12 PM, Sachin Kamat wrote: > On 19 March 2014 19:52, Ajay Kumar wrote: > > Add post processor ops for IELCD and their support functions. > > Expose an interface for the FIMD to register IELCD PP. > [snip] > > + > > +#

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

2014-03-21 Thread Ajay kumar
Hi Sachin, On Wed, Mar 19, 2014 at 10:51 PM, Sachin Kamat wrote: > Hi Ajay, > > On 19 March 2014 19:52, Ajay Kumar wrote: > > Add post processor ops for MDNIE and their support functions. > > Expose an interface for the FIMD to register MDNIE PP. > > > > Sign

[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 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 1/4] drm: exynos: Add infrastructure to support FIMD post processors

2014-03-19 Thread Ajay Kumar
and 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

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

2014-03-19 Thread Ajay Kumar
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 support FIMD

Re: [PATCH] drm/exynos: Add device tree based discovery support for Exynos G2D

2013-01-04 Thread Ajay kumar
Hi Olof, On Sun, Dec 30, 2012 at 11:57 AM, Olof Johansson o...@lixom.net wrote: Hi, On Thu, Dec 27, 2012 at 8:00 PM, Ajay Kumar ajaykumar...@samsung.com wrote: This patch adds device tree match table for Exynos G2D controller. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com

[PATCH] drm/exynos: Add device tree based discovery support for Exynos G2D

2013-01-03 Thread Ajay kumar
Hi Olof, On Sun, Dec 30, 2012 at 11:57 AM, Olof Johansson wrote: > Hi, > > On Thu, Dec 27, 2012 at 8:00 PM, Ajay Kumar > wrote: >> This patch adds device tree match table for Exynos G2D controller. >> >> Signed-off-by: Ajay Kumar >> --- >> dr

[PATCH] drm/exynos: Add device tree based discovery support for Exynos G2D

2012-12-28 Thread Ajay Kumar
This patch adds device tree match table for Exynos G2D controller. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos

[PATCH] drm/exynos: Add device tree based discovery support for Exynos G2D

2012-12-27 Thread Ajay Kumar
This patch adds device tree match table for Exynos G2D controller. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c index

[PATCH] drm/exynos: Add device tree based discovery support for Exynos G2D

2012-12-27 Thread Ajay Kumar
This patch adds device tree match table for Exynos G2D controller. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos/exynos_drm_g2d.c index

[PATCH] drm/exynos: Add device tree based discovery support for Exynos G2D

2012-12-27 Thread Ajay Kumar
This patch adds device tree match table for Exynos G2D controller. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c b/drivers/gpu/drm/exynos

<    1   2   3   4