[PATCH V7 00/12] drm/exynos: few patches to enhance bridge chip support

2014-09-10 Thread Ajay kumar
ping. On Wed, Aug 27, 2014 at 7:59 PM, Ajay Kumar wrote: > This series is based on master branch of Linus tree at: > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > I have tested this after adding few DT changes for exynos5250-snow and > exynos5420-p

[PATCH] drm/panel: simple: Add AUO B116XW03 panel support

2014-09-01 Thread Ajay Kumar
The AUO B116XW03 is a 11.6" HD TFT LCD panel connecting to a LVDS interface and with an integrated LED backlight unit. This panel is used on the Samsung Chromebook(XE303C12). Signed-off-by: Ajay Kumar --- .../devicetree/bindings/panel/auo,b116xw03.txt |7 ++ drivers/gpu/drm/

[PATCH V7 09/12] Documentation: drm: bridge: move to video/bridge

2014-08-27 Thread Ajay Kumar
Move drm/bridge documentation to video/bridge. Also, add proper documentation for gpios used by ptn3460. Signed-off-by: Ajay Kumar --- .../devicetree/bindings/drm/bridge/ptn3460.txt | 27 .../devicetree/bindings/video/bridge/ptn3460.txt | 27

[PATCH V7 10/12] Documentation: devicetree: Add vendor prefix for parade

2014-08-27 Thread Ajay Kumar
ps8622 eDP-LVDS converter bridge chip is from parade technologies Signed-off-by: Ajay Kumar --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings

[PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-08-27 Thread Ajay Kumar
Add documentation for DT properties supported by ps8622/ps8625 eDP-LVDS converter. Signed-off-by: Ajay Kumar --- .../devicetree/bindings/video/bridge/ps8622.txt| 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/bridge

[PATCH V7 12/12] drm/bridge: Add i2c based driver for ps8622/ps8625 bridge

2014-08-27 Thread Ajay Kumar
From: Vincent Palatin <vpala...@chromium.org> This patch adds drm_bridge driver for parade DisplayPort to LVDS bridge chip. Signed-off-by: Vincent Palatin Signed-off-by: Andrew Bresticker Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar --- drivers/g

[PATCH V7 08/12] drm/bridge: ptn3460: use gpiod interface

2014-08-27 Thread Ajay Kumar
Modify driver to support gpiod interface. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/ptn3460.c | 88 -- 1 file changed, 36 insertions(+), 52 deletions(-) diff --git a/drivers/gpu/drm/bridge/ptn3460.c b/drivers/gpu/drm/bridge/ptn3460.c index

[PATCH V7 07/12] drm/bridge: ptn3460: probe connector at the end of bridge attach

2014-08-27 Thread Ajay Kumar
Force bridge connector detection at the end of the bridge attach. This is needed to detect the bridge connector early. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/ptn3460.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/bridge/ptn3460.c b/drivers/gpu/drm

[PATCH V7 06/12] drm/bridge: ptn3460: support drm_panel

2014-08-27 Thread Ajay Kumar
Add drm_panel calls to the driver to make the panel and bridge work together in tandem. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/Kconfig |1 + drivers/gpu/drm/bridge/ptn3460.c | 37 + 2 files changed, 38 insertions(+) diff --git a/drivers

[PATCH V7 05/12] drm/exynos: dp: support drm_bridge

2014-08-27 Thread Ajay Kumar
Modify driver to support drm_bridge. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/Kconfig |1 + drivers/gpu/drm/exynos/exynos_dp_core.c | 38 +++ drivers/gpu/drm/exynos/exynos_dp_core.h |1 + 3 files changed, 30 insertions(+), 10 deletions

[PATCH V7 04/12] drm/bridge: ptn3460: Convert to i2c driver model

2014-08-27 Thread Ajay Kumar
Use drm_bridge helpers to modify the driver to support i2c driver model. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/Kconfig |6 +- drivers/gpu/drm/bridge/ptn3460.c| 122 +-- drivers/gpu/drm/exynos/Kconfig |2 +- drivers

[PATCH V7 03/12] drm/bridge: Add helper functions for drm_bridge

2014-08-27 Thread Ajay Kumar
tself with the drm core. Later, it calls "bridge->funcs->attach" so that bridge can continue with other initializations. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/Makefile |1 + drivers/gpu/drm/bridge/Kconfig | 15 -

[PATCH V7 02/12] drm/bridge: do not pass drm_bridge_funcs to drm_bridge_init

2014-08-27 Thread Ajay Kumar
. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/ptn3460.c |3 ++- drivers/gpu/drm/drm_crtc.c |5 + drivers/gpu/drm/msm/hdmi/hdmi_bridge.c |3 ++- drivers/gpu/drm/sti/sti_hda.c |3 ++- drivers/gpu/drm/sti/sti_hdmi.c |3 ++- include/drm

[PATCH V7 01/12] drm/bridge: ptn3460: Few trivial cleanups

2014-08-27 Thread Ajay Kumar
alphabetically. -- s/edid/EDID in all error messages. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/ptn3460.c | 95 +++--- 1 file changed, 48 insertions(+), 47 deletions(-) diff --git a/drivers/gpu/drm/bridge/ptn3460.c b/drivers/gpu/drm/bridge/ptn3460.c

[PATCH V7 00/12] drm/exynos: few patches to enhance bridge chip support

2014-08-27 Thread Ajay Kumar
DP depends on DRM_EXYNOS_FIMD drivers/gpu/drm/exynos/Kconfig:28: symbol DRM_EXYNOS_FIMD depends on FB_S3C drivers/video/fbdev/Kconfig:2038: symbol FB_S3C depends on FB What's the best way to fix the above ambiguity? Ajay Kumar (11): [PATCH V7 1/12] drm/bridge: ptn3460: Few trivial cleanup

[PATCH V6 6/8] drm/bridge: Modify drm_bridge core to support driver model

2014-08-25 Thread Ajay kumar
Hi Javier, On Sat, Aug 23, 2014 at 5:03 AM, Javier Martinez Canillas wrote: > Hello Ajay, > > On Thu, Jul 31, 2014 at 12:58 PM, Thierry Reding > wrote: >> On Wed, Jul 30, 2014 at 09:33:28PM +0530, Ajay kumar wrote: >>> On Wed, Jul 30, 2014 at 8:38 PM, Thierry

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

2014-08-21 Thread Ajay kumar
t; > On Tue, Apr 22, 2014 at 08:33:23PM +0530, Ajay kumar wrote: >>> >> Hi Thierry, >>> >> >>> >> On Tue, Apr 22, 2014 at 2:03 PM, Thierry Reding >>> >> wrote: >>> >> > On Tue, Apr 22, 2014 at 04:09:13AM +0530,

[PATCH 07/15] drm/exynos: dsi: Add support for panel prepare and unprepare routines

2014-08-05 Thread Ajay kumar
Hi Andreas, On Tue, Aug 5, 2014 at 3:33 PM, Andrzej Hajda wrote: > Hi Ajay, > > > On 07/31/2014 07:42 PM, Ajay Kumar wrote: >> Modify exynos_dsi driver to support the new panel calls: >> prepare and unprepare. >> >> Signed-off-by: Ajay Kumar >> --- &

[PATCH 14/15] drm/exynos: Move DP setup into commit()

2014-08-01 Thread Ajay kumar
On Fri, Aug 1, 2014 at 2:48 PM, Thierry Reding wrote: > On Thu, Jul 31, 2014 at 11:12:13PM +0530, Ajay Kumar wrote: >> Add commit callback for exynos_dp, and move the DP link training, >> video configuration code from the hotplug handler into commit(). >> >> Signed-o

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

2014-08-01 Thread Ajay kumar
Andreas, On Thu, Jul 31, 2014 at 7:52 PM, Andreas F?rber wrote: > Am 31.07.2014 12:23, schrieb Thierry Reding: >> On Thu, Jul 31, 2014 at 10:57:55AM +0200, Andreas F?rber wrote: >>> Am 31.07.2014 10:38, schrieb Ajay kumar: >>>> With just the spring-bridge.v6 bran

[PATCH 15/15] drm/exynos: dp: Modify driver to support drm_panel

2014-08-01 Thread Ajay Kumar
Add drm_panel controls to support powerup/down of the eDP panel, if one is present at the sink side. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/Kconfig |1 + drivers/gpu/drm/exynos/exynos_dp_core.c | 88 --- drivers/gpu/drm/exynos

[PATCH 14/15] drm/exynos: Move DP setup into commit()

2014-08-01 Thread Ajay Kumar
Add commit callback for exynos_dp, and move the DP link training, video configuration code from the hotplug handler into commit(). Signed-off-by: Sean Paul Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_dp_core.c | 24 +++- 1 file changed, 19 insertions(+), 5

[PATCH 13/15] drm/panel: simple: Add support for auo_b133htn01 panel

2014-08-01 Thread Ajay Kumar
Add panel_desc structure for auo_b133htn01 eDP panel. Signed-off-by: Ajay Kumar --- .../devicetree/bindings/panel/auo,b133htn01.txt|7 + drivers/gpu/drm/panel/panel-simple.c | 31 2 files changed, 38 insertions(+) create mode 100644

[PATCH 12/15] drm/panel: simple: Support usage of delays in panel functions

2014-08-01 Thread Ajay Kumar
For most of the panels, we need to provide delays during various stages of panel powerup/powerdown. So, Add a structure to hold those delay values and use them in corresponding functions. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/panel/panel-simple.c | 30

[PATCH 11/15] drm/panel: simple: Add proper definition for prepare and unprepare

2014-08-01 Thread Ajay Kumar
Move out code from enable and disable routines to prepare and unprepare routines, so that functionality is properly distributed across all the panel functions. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/panel/panel-simple.c | 37 +- 1 file changed, 27

[PATCH 10/15] drm/panel: s6e8aa0: Add proper definition for prepare and unprepare

2014-08-01 Thread Ajay Kumar
Move out code from enable and disable routines to prepare and unprepare routines, so that functionality is properly distributed across all the panel functions. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/panel/panel-s6e8aa0.c | 22 +++--- 1 file changed, 11 insertions(+), 11

[PATCH 09/15] drm/panel: ld9040: Add proper definition for prepare and unprepare

2014-08-01 Thread Ajay Kumar
Move out code from enable and disable routines to prepare and unprepare routines, so that functionality is properly distributed across all the panel functions. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/panel/panel-ld9040.c | 22 +++--- 1 file changed, 11 insertions(+), 11

[PATCH 08/15] drm/tegra: Add support for panel prepare and unprepare routines

2014-08-01 Thread Ajay Kumar
Modify tegra output driver to support the new panel calls: prepare and unprepare. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/tegra/output.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/tegra/output.c b/drivers/gpu/drm/tegra/output.c index 446837e..0c67d7e 100644

[PATCH 07/15] drm/exynos: dsi: Add support for panel prepare and unprepare routines

2014-08-01 Thread Ajay Kumar
Modify exynos_dsi driver to support the new panel calls: prepare and unprepare. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm

[PATCH 06/15] drm/exynos: dpi: Add support for panel prepare and unprepare routines

2014-08-01 Thread Ajay Kumar
Modify exynos_dpi driver to support the new panel calls: prepare and unprepare. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_drm_dpi.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dpi.c b/drivers/gpu/drm/exynos

[PATCH 05/15] drm/panel: simple: Add dummy prepare and unprepare routines

2014-08-01 Thread Ajay Kumar
This patch adds dummy definition for prepare and unprepare routines to simple panel driver. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/panel/panel-simple.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel

[PATCH 04/15] drm/panel: s6e8aa0: Add dummy prepare and unprepare routines

2014-08-01 Thread Ajay Kumar
This patch adds dummy definition for prepare and unprepare routines to s6e8aa0 panel driver. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/panel/panel-s6e8aa0.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-s6e8aa0.c b/drivers/gpu/drm/panel

[PATCH 03/15] drm/panel: ld9040: Add dummy prepare and unprepare routines

2014-08-01 Thread Ajay Kumar
This patch adds dummy definition for prepare and unprepare routines to ld9040 panel driver. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/panel/panel-ld9040.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-ld9040.c b/drivers/gpu/drm/panel/panel

[PATCH 02/15] drm/panel: Add get_modes helper

2014-08-01 Thread Ajay Kumar
Add a helper function drm_panel_get_modes to get modes from the panel. Signed-off-by: Ajay Kumar --- include/drm/drm_panel.h |8 1 file changed, 8 insertions(+) diff --git a/include/drm/drm_panel.h b/include/drm/drm_panel.h index 9addc69..efc63cc 100644 --- a/include/drm

[PATCH 01/15] drm/panel: add prepare and unprepare routines

2014-08-01 Thread Ajay Kumar
e can easily map the above scenario as shown below: poweron LCD unit/LCD_EN = "prepare" callback poweron LED unit/BACKLIGHT_EN = "enable" callback poweroff LED unit/BACKLIGHT_EN = "disable" callback poweroff LCD unit/LCD_EN = &quo

[PATCH 00/15] drm/panel: Add prepare and unprepare routines

2014-08-01 Thread Ajay Kumar
: As discussed, I have seperated patches such that they won't break the compilation in between. Also, I have incorporated all the comments given by you for panel patches. I assume you have already taken [PATCH 01/15] and hence it can be dropped from this patchset. Ajay Kumar

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

2014-07-31 Thread Ajay kumar
On Thu, Jul 31, 2014 at 2:27 PM, Andreas F?rber wrote: > Ajay, > > Am 31.07.2014 10:38, schrieb Ajay kumar: >> On Thu, Jul 31, 2014 at 1:02 AM, Andreas F?rber wrote: >>> Am 30.07.2014 08:21, schrieb Ajay kumar: >>>> On Tue, Jul 29, 2014 at 4:51 PM, A

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

2014-07-31 Thread Ajay kumar
Andreas, On Thu, Jul 31, 2014 at 1:02 AM, Andreas F?rber wrote: > Hi Ajay, > > Am 30.07.2014 08:21, schrieb Ajay kumar: >> On Tue, Jul 29, 2014 at 4:51 PM, Andreas F?rber wrote: >>> Am 28.07.2014 08:13, schrieb Ajay kumar: >>>> On 7/27/14, Andreas F?rb

[PATCH V2 7/8] drm/bridge: Add i2c based driver for ptn3460 bridge

2014-07-30 Thread Ajay kumar
On Wed, Jul 30, 2014 at 9:10 PM, Thierry Reding wrote: > On Wed, Jul 30, 2014 at 08:46:44PM +0530, Ajay kumar wrote: >> On Wed, Jul 30, 2014 at 5:35 PM, Thierry Reding > gmail.com> wrote: >> > On Sat, Jul 26, 2014 at 12:52:09AM +0530, Ajay Kumar wrote: > [...] >>

[PATCH V6 6/8] drm/bridge: Modify drm_bridge core to support driver model

2014-07-30 Thread Ajay kumar
On Wed, Jul 30, 2014 at 8:38 PM, Thierry Reding wrote: > On Wed, Jul 30, 2014 at 08:01:44PM +0530, Ajay kumar wrote: >> On Wed, Jul 30, 2014 at 4:49 PM, Thierry Reding >> wrote: >> > On Sat, Jul 26, 2014 at 12:52:08AM +0530, Ajay Kumar wrote: >> >> Thi

[PATCH V2 7/8] drm/bridge: Add i2c based driver for ptn3460 bridge

2014-07-30 Thread Ajay kumar
On Wed, Jul 30, 2014 at 5:35 PM, Thierry Reding wrote: > On Sat, Jul 26, 2014 at 12:52:09AM +0530, Ajay Kumar wrote: > [...] >> diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig >> index 1e2f96c..0b12d16 100644 >> --- a/drivers/gpu/drm/bridge/

[PATCH V6 6/8] drm/bridge: Modify drm_bridge core to support driver model

2014-07-30 Thread Ajay kumar
On Wed, Jul 30, 2014 at 4:49 PM, Thierry Reding wrote: > On Sat, Jul 26, 2014 at 12:52:08AM +0530, Ajay Kumar wrote: >> This patch tries to seperate drm_bridge implementation >> into 2 parts, a drm part and a non_drm part. >> >> A set of helper functions are de

[PATCH V6 3/8] drm/panel: simple: Add support for auo_b133htn01 panel

2014-07-30 Thread Ajay kumar
On Wed, Jul 30, 2014 at 7:00 PM, Thierry Reding wrote: > On Wed, Jul 30, 2014 at 05:02:11PM +0530, Ajay kumar wrote: >> On Wed, Jul 30, 2014 at 4:21 PM, Thierry Reding >> wrote: >> > On Sat, Jul 26, 2014 at 12:52:05AM +0530, Ajay Kumar wrote: >> >> Add panel_

[PATCH V6 4/8] drm/exynos: Move DP setup into commit()

2014-07-30 Thread Ajay kumar
On Wed, Jul 30, 2014 at 4:22 PM, Thierry Reding wrote: > On Sat, Jul 26, 2014 at 12:52:06AM +0530, Ajay Kumar wrote: >> This patch moves the DP training and video enable from the hotplug >> handler into commit(). > > I don't think I can comment on this one, but perhaps the co

[PATCH V6 3/8] drm/panel: simple: Add support for auo_b133htn01 panel

2014-07-30 Thread Ajay kumar
On Wed, Jul 30, 2014 at 4:21 PM, Thierry Reding wrote: > On Sat, Jul 26, 2014 at 12:52:05AM +0530, Ajay Kumar wrote: >> Add panel_desc structure for auo_b133htn01 eDP panel. >> >> Also, modify the panel_simple routines to support timing_parameter >> delays if mentioned

[PATCH V6 2/8] drm/panel: Add support for prepare and unprepare routines

2014-07-30 Thread Ajay kumar
On Wed, Jul 30, 2014 at 4:02 PM, Thierry Reding wrote: > On Sat, Jul 26, 2014 at 12:52:04AM +0530, Ajay Kumar wrote: >> Now that we have 2 new callbacks(prepare and unprepare) for drm_panel, >> make changes in all the drm drivers which use the drm_panel framework >> to supp

[PATCH V6 1/8] drm/panel: Add prepare, unprepare and get_modes routines

2014-07-30 Thread Ajay kumar
On Wed, Jul 30, 2014 at 3:30 PM, Thierry Reding wrote: > On Sat, Jul 26, 2014 at 12:52:03AM +0530, Ajay Kumar wrote: >> Most of the panels need an init sequence as mentioned below: >> -- poweron LCD unit/LCD_EN >> -- start video data >> -- po

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

2014-07-30 Thread Ajay kumar
On Wed, Jul 30, 2014 at 3:10 PM, Thierry Reding wrote: > On Wed, Jul 30, 2014 at 11:54:00AM +0530, Ajay kumar wrote: >> Hi Thierry, >> >> On Tue, Jul 29, 2014 at 5:17 PM, Thierry Reding >> wrote: >> > On Tue, Jul 29, 2014 at 01:42:09PM +0200, Andreas F?r

[PATCH V6 8/8] drm/bridge: Add i2c based driver for ps8622/ps8625 bridge

2014-07-30 Thread Ajay kumar
Hi Andreas, On Tue, Jul 29, 2014 at 4:59 PM, Andreas F?rber wrote: > Am 25.07.2014 21:22, schrieb Ajay Kumar: >> From: Vincent Palatin >> >> This patch adds drm_bridge driver for parade DisplayPort >> to LVDS bridge chip. >> >> Signed-off-by: Vincent Palat

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

2014-07-30 Thread Ajay kumar
gt;> >> >> >> Am 28.07.2014 08:13, schrieb Ajay kumar: >> >>> On 7/27/14, Andreas F?rber wrote: >> >>>> Am 25.07.2014 21:22, schrieb Ajay Kumar: >> >>>>> This series is based on exynos-drm-next branch of Inki Dae's tre

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

2014-07-30 Thread Ajay kumar
Hi Andreas, On Tue, Jul 29, 2014 at 4:51 PM, Andreas F?rber wrote: > Hi Ajay, > > Am 28.07.2014 08:13, schrieb Ajay kumar: >> On 7/27/14, Andreas F?rber wrote: >>> Am 25.07.2014 21:22, schrieb Ajay Kumar: >>>> This series is based on exynos-drm-next br

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

2014-07-28 Thread Ajay kumar
Hi Andreas, On 7/27/14, Andreas F?rber wrote: > Hi Ajay, > > Am 25.07.2014 21:22, schrieb Ajay Kumar: >> This series is based on exynos-drm-next branch of Inki Dae's tree at: >> git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git >> >> I hav

[PATCH V6 8/8] drm/bridge: Add i2c based driver for ps8622/ps8625 bridge

2014-07-26 Thread Ajay Kumar
From: Vincent Palatin <vpala...@chromium.org> This patch adds drm_bridge driver for parade DisplayPort to LVDS bridge chip. Signed-off-by: Vincent Palatin Signed-off-by: Andrew Bresticker Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar --- .../devi

[PATCH V2 7/8] drm/bridge: Add i2c based driver for ptn3460 bridge

2014-07-26 Thread Ajay Kumar
From: Sean Paul <seanp...@chromium.org> This patch adds ptn3460 as module_i2c_driver. Signed-off-by: Sean Paul Signed-off-by: Ajay Kumar --- .../devicetree/bindings/video/bridge/ptn3460.txt | 27 ++ drivers/gpu/drm/bridge/Kconfig | 10 + drivers/gpu/drm/

[PATCH V6 6/8] drm/bridge: Modify drm_bridge core to support driver model

2014-07-26 Thread Ajay Kumar
evice and the encoder pointers to the bridge object. Now that the drm_device pointer is available, the encoder then calls "bridge->funcs->post_encoder_init" to allow the bridge to continue registering itself with the drm core. Also, non driver model based ptn3460 driver is rem

[PATCH V6 5/8] drm/exynos: dp: Modify driver to support drm_panel

2014-07-26 Thread Ajay Kumar
Add drm_panel controls to support powerup/down of the eDP panel, if one is present at the sink side. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/Kconfig |1 + drivers/gpu/drm/exynos/exynos_dp_core.c | 88 --- drivers/gpu/drm/exynos

[PATCH V6 4/8] drm/exynos: Move DP setup into commit()

2014-07-26 Thread Ajay Kumar
This patch moves the DP training and video enable from the hotplug handler into commit(). Signed-off-by: Sean Paul Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_dp_core.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/gpu

[PATCH V6 3/8] drm/panel: simple: Add support for auo_b133htn01 panel

2014-07-26 Thread Ajay Kumar
Add panel_desc structure for auo_b133htn01 eDP panel. Also, modify the panel_simple routines to support timing_parameter delays if mentioned in the panel_desc structure. Signed-off-by: Ajay Kumar --- .../devicetree/bindings/panel/auo,b133htn01.txt|7 +++ drivers/gpu/drm/panel/panel

[PATCH V6 2/8] drm/panel: Add support for prepare and unprepare routines

2014-07-26 Thread Ajay Kumar
Now that we have 2 new callbacks(prepare and unprepare) for drm_panel, make changes in all the drm drivers which use the drm_panel framework to support the new callbacks. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_drm_dpi.c |8 +++-- drivers/gpu/drm/exynos/exynos_drm_dsi.c

[PATCH V6 1/8] drm/panel: Add prepare, unprepare and get_modes routines

2014-07-26 Thread Ajay Kumar
e can easily map the above scenario as shown below: poweron LCD unit/LCD_EN = "prepare" callback poweron LED unit/BACKLIGHT_EN = "enable" callback poweroff LED unit/BACKLIGHT_EN = "disable" callback poweroff LCD unit/LCD_EN = "unprepare&

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

2014-07-26 Thread Ajay Kumar
. -- Use gpiod interface in ptn3460 driver. -- Address all comments by Thierry Reding for V5 series. -- Address comments from Sean Paul for exynos_dp_commit issue. Ajay Kumar (6): [PATCH V6 1/8] drm/panel: Add prepare, unprepare and get_modes routines [PATCH V6 2/8] drm/panel

[RESEND PATCH V5 01/12] drm/exynos: Move DP setup out of hotplug workqueue

2014-07-23 Thread Ajay kumar
On Wed, Jul 23, 2014 at 8:12 PM, Sean Paul wrote: > On Wed, Jul 23, 2014 at 7:22 AM, Ajay kumar wrote: >> Sean, >> >> On Tue, Jul 22, 2014 at 8:29 PM, Sean Paul wrote: >>> On Thu, Jul 17, 2014 at 4:43 PM, Ajay Kumar >>> wrote: >>>> Mov

[RESEND PATCH V5 01/12] drm/exynos: Move DP setup out of hotplug workqueue

2014-07-23 Thread Ajay kumar
Sean, On Tue, Jul 22, 2014 at 8:29 PM, Sean Paul wrote: > On Thu, Jul 17, 2014 at 4:43 PM, Ajay Kumar > wrote: >> Move the DP training and video enable from the hotplug handler into >> a seperate function and call the same during dpms ON. >> >> With existing co

[RESEND PATCH V5 08/12] drm/bridge: ptn3460: Support bridge chaining

2014-07-22 Thread Ajay kumar
On Mon, Jul 21, 2014 at 6:10 PM, Thierry Reding wrote: > On Mon, Jul 21, 2014 at 05:28:13PM +0530, Ajay kumar wrote: >> Hi Thierry, >> >> On Mon, Jul 21, 2014 at 1:52 PM, Thierry Reding >> wrote: >> > On Fri, Jul 18, 2014 at 02:13:54AM +0530, Ajay Kumar

[RESEND PATCH V5 12/12] drm/exynos: Add ps8622 lvds bridge discovery to DP driver

2014-07-22 Thread Ajay kumar
On Mon, Jul 21, 2014 at 8:14 PM, Thierry Reding wrote: > On Mon, Jul 21, 2014 at 08:06:01PM +0530, Ajay kumar wrote: >> Hi Thierry, >> >> On Mon, Jul 21, 2014 at 6:24 PM, Thierry Reding >> wrote: >> > On Mon, Jul 21, 2014 at 04:58:25PM +0530, Ajay kumar wrote:

[RESEND PATCH V5 12/12] drm/exynos: Add ps8622 lvds bridge discovery to DP driver

2014-07-21 Thread Ajay kumar
Hi Thierry, On Mon, Jul 21, 2014 at 6:24 PM, Thierry Reding wrote: > On Mon, Jul 21, 2014 at 04:58:25PM +0530, Ajay kumar wrote: >> On Mon, Jul 21, 2014 at 12:40 PM, Thierry Reding >> wrote: >> > On Fri, Jul 18, 2014 at 02:13:58AM +0530, Ajay Kumar wrote:

[PATCH V5 05/12] Documentation: Add DT bindings for panel-lvds driver

2014-07-21 Thread Ajay kumar
Hi Thierry, On Mon, Jul 21, 2014 at 1:22 PM, Thierry Reding wrote: > On Fri, Jul 18, 2014 at 12:18:05PM +0530, Ajay kumar wrote: >> Hi Thierry, >> >> Thanks for your comments. >> >> On Fri, Jul 18, 2014 at 4:18 AM, Thierry Reding >> wrote: >> >

[RESEND PATCH V5 03/12] drm/exynos: dp: modify driver to support drm_panel

2014-07-21 Thread Ajay kumar
Hi Thierry, On Mon, Jul 21, 2014 at 1:44 PM, Thierry Reding wrote: > On Fri, Jul 18, 2014 at 02:13:49AM +0530, Ajay Kumar wrote: >> Add drm_panel controls to support powerup/down of the >> eDP panel, if one is present at the sink side. >> >> Signed-off-by: Ajay Kumar

[RESEND PATCH V5 08/12] drm/bridge: ptn3460: Support bridge chaining

2014-07-21 Thread Ajay kumar
Hi Thierry, On Mon, Jul 21, 2014 at 1:52 PM, Thierry Reding wrote: > On Fri, Jul 18, 2014 at 02:13:54AM +0530, Ajay Kumar wrote: > [...] >> Also, remove the drm_connector implementation from ptn3460, >> since the same is implemented using panel_binder. > > I think

[PATCH V5 00/12] drm/exynos: few patches to enhance bridge chip support

2014-07-21 Thread Ajay kumar
Hi Inki, On Mon, Jul 21, 2014 at 1:21 PM, Inki Dae wrote: > On 2014? 07? 18? 05:43, Ajay Kumar wrote: >> This series is based on exynos-drm-next branch of Inki Dae's tree at: >> git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git >> >> This patchse

[RESEND PATCH V5 12/12] drm/exynos: Add ps8622 lvds bridge discovery to DP driver

2014-07-21 Thread Ajay kumar
On Mon, Jul 21, 2014 at 12:40 PM, Thierry Reding wrote: > On Fri, Jul 18, 2014 at 02:13:58AM +0530, Ajay Kumar wrote: >> From: Rahul Sharma >> >> This patch adds ps8622 lvds bridge discovery code to the dp driver. >> >> Signed-off-by: Rahul Sha

[PATCH V5 11/12] Documentation: Add DT bindings for ps8622/ps8625 bridge driver

2014-07-21 Thread Ajay kumar
Hi Thierry, On Mon, Jul 21, 2014 at 12:36 PM, Thierry Reding wrote: > On Fri, Jul 18, 2014 at 02:13:57AM +0530, Ajay Kumar wrote: >> From: Vincent Palatin >> >> Add DT binding documentation for ps8622/ps8625 bridge driver. >> >> Signed-off-by: Vincent Pala

[PATCH V5 05/12] Documentation: Add DT bindings for panel-lvds driver

2014-07-18 Thread Ajay kumar
Hi Thierry, Thanks for your comments. On Fri, Jul 18, 2014 at 4:18 AM, Thierry Reding wrote: > On Fri, Jul 18, 2014 at 02:20:39AM +0530, Ajay kumar wrote: >> +devicetree at vger.kernel.org >> >> On Fri, Jul 18, 2014 at 2:13 AM, Ajay Kumar >> wrote: >> > Ad

[PATCH V5 11/12] Documentation: Add DT bindings for ps8622/ps8625 bridge driver

2014-07-18 Thread Ajay kumar
+devicetree at vger.kernel.org On Fri, Jul 18, 2014 at 2:13 AM, Ajay Kumar wrote: > From: Vincent Palatin > > Add DT binding documentation for ps8622/ps8625 bridge driver. > > Signed-off-by: Vincent Palatin > Signed-off-by: Ajay Kumar > --- > .../devicetree/bindin

[PATCH V5 05/12] Documentation: Add DT bindings for panel-lvds driver

2014-07-18 Thread Ajay kumar
+devicetree at vger.kernel.org On Fri, Jul 18, 2014 at 2:13 AM, Ajay Kumar wrote: > Add DT binding documentation for panel-lvds driver. > > Signed-off-by: Ajay Kumar > --- > .../devicetree/bindings/panel/panel-lvds.txt | 50 > > 1 file c

[RESEND PATCH V5 12/12] drm/exynos: Add ps8622 lvds bridge discovery to DP driver

2014-07-18 Thread Ajay Kumar
From: Rahul Sharma <rahul.sha...@samsung.com> This patch adds ps8622 lvds bridge discovery code to the dp driver. Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_dp_core.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/g

[PATCH V5 11/12] Documentation: Add DT bindings for ps8622/ps8625 bridge driver

2014-07-18 Thread Ajay Kumar
From: Vincent Palatin <vpala...@chromium.org> Add DT binding documentation for ps8622/ps8625 bridge driver. Signed-off-by: Vincent Palatin Signed-off-by: Ajay Kumar --- .../devicetree/bindings/drm/bridge/ps8622.txt | 21 1 file changed, 21 insertions(+)

[PATCH V5 10/12] drm/bridge: Add ps8622/ps8625 bridge driver

2014-07-18 Thread Ajay Kumar
From: Vincent Palatin <vpala...@chromium.org> This patch adds drm_bridge driver for parade DisplayPort to LVDS bridge chip. Signed-off-by: Vincent Palatin Signed-off-by: Andrew Bresticker Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar --- drivers/g

[RESEND PATCH V5 09/12] drm/exynos: dp: create bridge chain using ptn3460 and panel_binder

2014-07-18 Thread Ajay Kumar
exynos_dp supports a simple bridge chain with ptn3460 bridge and an LVDS panel attached to it. This patch creates the bridge chain with ptn3460 as the head of the list and panel_binder being the tail. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/exynos/exynos_dp_core.c | 12 +++- 1

[RESEND PATCH V5 08/12] drm/bridge: ptn3460: Support bridge chaining

2014-07-18 Thread Ajay Kumar
Modify the driver to invoke callbacks for the next bridge in the bridge chain. Also, remove the drm_connector implementation from ptn3460, since the same is implemented using panel_binder. Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/ptn3460.c| 137

[PATCH V5 07/12] drm/bridge: Add a driver which binds drm_bridge with drm_panel

2014-07-18 Thread Ajay Kumar
is hanging off). Signed-off-by: Ajay Kumar --- drivers/gpu/drm/bridge/Kconfig|7 ++ drivers/gpu/drm/bridge/Makefile |1 + drivers/gpu/drm/bridge/panel_binder.c | 193 + include/drm/bridge/panel_binder.h | 44 4 files changed

[RESEND PATCH V5 06/12] drm/bridge: add helper functions to support bridge chain

2014-07-18 Thread Ajay Kumar
Add helper functions to create bridge chain and to call the corresponding next_bridge functions. Signed-off-by: Ajay Kumar Suggested-by: Rob Clark --- include/drm/drm_crtc.h | 72 1 file changed, 72 insertions(+) diff --git a/include/drm

[PATCH V5 05/12] Documentation: Add DT bindings for panel-lvds driver

2014-07-18 Thread Ajay Kumar
Add DT binding documentation for panel-lvds driver. Signed-off-by: Ajay Kumar --- .../devicetree/bindings/panel/panel-lvds.txt | 50 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/panel-lvds.txt diff --git

[PATCH V5 04/12] drm/panel: Add driver for lvds/edp based panels

2014-07-18 Thread Ajay Kumar
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 Signed-off-by: Rahul Sharma --- drivers/gpu/drm/panel/Kconfig | 10 ++ drivers/gpu/drm/panel/Makefile |1 + drivers/gpu/drm/panel/panel-lvds.c

[RESEND PATCH V5 03/12] drm/exynos: dp: modify driver to support drm_panel

2014-07-18 Thread Ajay Kumar
Add drm_panel controls to support powerup/down of the eDP panel, if one is present at the sink side. Signed-off-by: Ajay Kumar --- .../devicetree/bindings/video/exynos_dp.txt|2 + drivers/gpu/drm/exynos/Kconfig |1 + drivers/gpu/drm/exynos/exynos_dp_core.c

[RESEND PATCH V5 02/12] drm/panel: add prepare and unprepare routines

2014-07-18 Thread Ajay Kumar
e can easily map the above scenario as shown below: poweron LCD unit/LCD_EN = "prepare" callback poweron LED unit/BACKLIGHT_EN = "enable" callback poweroff LED unit/BACKLIGHT_EN = "disable" callback poweroff LCD unit/LCD_EN = &quo

[RESEND PATCH V5 01/12] drm/exynos: Move DP setup out of hotplug workqueue

2014-07-18 Thread Ajay Kumar
Move the DP training and video enable from the hotplug handler into a seperate function and call the same during dpms ON. With existing code, DP HPD should be generated just few ms before calling enable_irq in dp_poweron. This patch removes that stringent time constraint. Signed-off-by: Ajay

[PATCH V5 00/12] drm/exynos: few patches to enhance bridge chip support

2014-07-18 Thread Ajay Kumar
. -- Rebase on top of the tree. Ajay Kumar (9): [RESEND PATCH V5 01/12] drm/exynos: Move DP setup out of hotplug workqueue [RESEND PATCH V5 02/12] drm/panel: add prepare and unprepare routines [RESEND PATCH V5 03/12] drm/exynos: dp: modify driver to support drm_panel [PATCH V5 04/12] drm/panel

[PATCH V3 1/7] drm/exynos: Support DP CLKCON register in FIMD driver

2014-07-09 Thread Ajay kumar
ping On Mon, Jun 30, 2014 at 9:39 PM, Inki Dae wrote: > 2014-06-30 14:31 GMT+09:00 Andrzej Hajda : >> On 06/30/2014 03:14 AM, Jingoo Han wrote: >>> On Friday, June 27, 2014 10:03 PM, Ajay kumar wrote: >>>> On Fri, Jun 27, 2014 at 6:14 PM, Andrzej Hajda >>&g

[PATCH V4 00/10] drm: exynos: few patches to enhance bridge chip support

2014-07-09 Thread Ajay kumar
Hi Daniel, Thierry and Rob, Currently, the following boards are working fine with the bridge chip series: - snow - spring - peach_pit - peach_pi And, I did change my original patchset based on your comments here: (1) [RFC V2 0/3] drm/bridge: panel and chaining

[PATCH V4 00/10] drm: exynos: few patches to enhance bridge chip support

2014-07-03 Thread Ajay kumar
Hi Andreas, On Thu, Jul 3, 2014 at 10:49 AM, Andreas F?rber wrote: > Hi Ajay, > > Thanks a lot for your work on this. > > Am 11.06.2014 20:26, schrieb Ajay Kumar: >> This series is based on exynos-drm-next branch of Inki Dae's tree at: >> git://git.kernel.org/pub/scm/l

[PATCH V3 1/7] drm/exynos: Support DP CLKCON register in FIMD driver

2014-06-30 Thread Ajay kumar
Hi Inki, On Mon, Jun 30, 2014 at 11:01 AM, Andrzej Hajda wrote: > On 06/30/2014 03:14 AM, Jingoo Han wrote: >> On Friday, June 27, 2014 10:03 PM, Ajay kumar wrote: >>> On Fri, Jun 27, 2014 at 6:14 PM, Andrzej Hajda >>> wrote: >>>> On 06/27/2014 01:48 PM,

[PATCH V3 1/7] drm/exynos: Support DP CLKCON register in FIMD driver

2014-06-27 Thread Ajay kumar
Hi Andrej, On Fri, Jun 27, 2014 at 6:14 PM, Andrzej Hajda wrote: > On 06/27/2014 01:48 PM, Ajay kumar wrote: >> Hi Andrej, >> >> On Fri, Jun 27, 2014 at 4:52 PM, Andrzej Hajda >> wrote: >>> Hi Ajay, >>> >>> +CC DT >>> >>>

[PATCH V3 1/7] drm/exynos: Support DP CLKCON register in FIMD driver

2014-06-27 Thread Ajay kumar
Hi Andrej, On Fri, Jun 27, 2014 at 4:52 PM, Andrzej Hajda wrote: > Hi Ajay, > > +CC DT > > On 06/27/2014 12:12 PM, Ajay Kumar wrote: >> Add the missing setting for DP CLKCON register. >> >> This register is present on Exynos5 based FIMD controllers, >>

[PATCH V3 7/7] ARM: dts: Add FIMD output property for arndale

2014-06-27 Thread Ajay kumar
+DT mailing list On Fri, Jun 27, 2014 at 3:42 PM, Ajay Kumar wrote: > Set FIMD output type for arndale as DP. > > Signed-off-by: Ajay Kumar > --- > arch/arm/boot/dts/exynos5250-arndale.dts |1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts/exy

[PATCH V3 5/7] ARM: dts: Add FIMD output property for smdk5250

2014-06-27 Thread Ajay kumar
+DT mailing list On Fri, Jun 27, 2014 at 3:42 PM, Ajay Kumar wrote: > Set FIMD output type for smdk5250 as DP. > > Signed-off-by: Ajay Kumar > --- > arch/arm/boot/dts/exynos5250-smdk5250.dts |1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts

[PATCH V3 6/7] ARM: dts: Add FIMD output property for smdk5420

2014-06-27 Thread Ajay kumar
+DT mailing list On Fri, Jun 27, 2014 at 3:42 PM, Ajay Kumar wrote: > Set FIMD output type for smdk5420 as DP. > > Signed-off-by: Ajay Kumar > --- > arch/arm/boot/dts/exynos5420-smdk5420.dts |1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts

[PATCH V3 2/7] ARM: dts: Add FIMD output property for snow

2014-06-27 Thread Ajay kumar
+DT mailing list On Fri, Jun 27, 2014 at 3:42 PM, Ajay Kumar wrote: > Set FIMD output type for snow as DP. > > Signed-off-by: Ajay Kumar > --- > arch/arm/boot/dts/exynos5250-snow.dts |1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts/exynos525

[PATCH V3 4/7] ARM: dts: Add FIMD output property for peach_pi

2014-06-27 Thread Ajay kumar
+DT mailing list On Fri, Jun 27, 2014 at 3:42 PM, Ajay Kumar wrote: > Set FIMD output type for peach_pi as DP. > > Signed-off-by: Ajay Kumar > --- > arch/arm/boot/dts/exynos5800-peach-pi.dts |1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts

[PATCH V3 3/7] ARM: dts: Add FIMD output property for peach_pit

2014-06-27 Thread Ajay kumar
+DT mailing list On Fri, Jun 27, 2014 at 3:42 PM, Ajay Kumar wrote: > Set FIMD output type for peach_pit as DP. > > Signed-off-by: Ajay Kumar > --- > arch/arm/boot/dts/exynos5420-peach-pit.dts |1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/b

<    1   2   3   4   >