[PATCH 08/14] drm: exynos: hdmi: add support for exynos5 hdmiphy

2012-09-28 Thread Rahul Sharma
This patch adds support for exynos5 hdmi phy with device tree enabled. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmiphy.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmiphy.c b/drivers/gpu/drm/exynos

[PATCH 11/14] drm: exynos: hdmi: add support for exynos5 mixer

2012-09-28 Thread Rahul Sharma
This patch adds support for exynos5 mixer with device tree enabled. Signed-off-by: Rahul Sharma Signed-off-by: Fahad Kunnathadi --- drivers/gpu/drm/exynos/exynos_mixer.c | 41 ++-- drivers/gpu/drm/exynos/regs-mixer.h |2 + 2 files changed, 40 insertions

[PATCH 12/14] drm: exynos: hdmi: replace is_v13 with version check in hdmi

2012-09-28 Thread Rahul Sharma
This patch removed the is_v13 variable from the hdmi driver context. It is replaced with condition check for the hdmi version. This cleans the way for handling further hdmi versions. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 40

[PATCH 13/14] drm: exynos: hdmi: add support for exynos5 hdmi

2012-09-28 Thread Rahul Sharma
This patch adds support for exynos5 hdmi with device tree enabled. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 83 -- 1 files changed, 79 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu

[PATCH 14/14] drm: exynos: hdmi: remove drm common hdmi platform data struct

2012-09-28 Thread Rahul Sharma
exynos-drm-hdmi need context pointers from hdmi and mixer. These pointers were expected from the plf data. Cleaned this dependency by exporting i/f which are called by hdmi, mixer driver probes for setting their context. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c

[PATCH v1 00/14] drm: exynos: hdmi: add dt based support for exynos5 hdmi

2012-10-04 Thread Rahul Sharma
et is based on branch exynos-drm-next at git://git.infradead.org/users/kmpark/linux-samsung (linux v3.6-rc4) v2: - removed MXR_VER_INVALID - moved layer update from vsync ISR to mixer_graph_buffer - stopped enabling vsync interrupt after poweron Rahul Sharma (9): drm: exynos: remove drm hdmi pla

[PATCH v1 01/14] media: s5p-hdmi: add HPD GPIO to platform data

2012-10-04 Thread Rahul Sharma
From: Tomasz Stanislawski This patch extends s5p-hdmi platform data by a GPIO identifier for Hot-Plug-Detection pin. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- include/media/s5p_hdmi.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/m

[PATCH v1 02/14] drm: exynos: hdmi: support for platform variants

2012-10-04 Thread Rahul Sharma
From: Tomasz Stanislawski This patch implements check if HDMI is version 1.3 by using a driver variant instead of platform data. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c | 25 - 1 files changed, 24 inser

[PATCH v1 09/14] drm: exynos: hdmi: add support for platform variants for mixer

2012-10-04 Thread Rahul Sharma
This patch adds the support for multiple mixer versions avaialble in various platform variants. Version is passed as a driver data field instead of paltform data. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c | 28 1 files changed, 28

[PATCH v1 03/14] drm: exynos: hdmi: fix interrupt handling

2012-10-04 Thread Rahul Sharma
From: Tomasz Stanislawski This patch fixes 'unsigned < 0' check in probe. Moreover it releases an interrupt at remove. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff

[PATCH v1 05/14] drm: exynos: hdmi: turn off HPD interrupt in HDMI chip

2012-10-04 Thread Rahul Sharma
From: Tomasz Stanislawski The plug/unplug interrupt are handled by a separate interrupt. So there is no need to replicate this mechanism in HDMI core. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_hdmi.c |5 + 1 files changed, 1 inse

[PATCH v1 04/14] drm: exynos: hdmi: use s5p-hdmi platform data

2012-10-04 Thread Rahul Sharma
From: Tomasz Stanislawski The 'exynos-drm-hdmi' driver makes use of s5p-tv platform devices. Therefore the driver should use the same platform data to prevent crashes caused by dereferencing incorrect types. This patch corrects the exynos-drm-hdmi driver to the platform data from s5p-hdmi. Sign

[PATCH v1 10/14] drm: exynos: hdmi: add support to disable video processor in mixer

2012-10-04 Thread Rahul Sharma
This patch adds support for disabling the video processor code based on the platform type. This is done based on a field in the mixer driver data which changes with the platform variant. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c | 151

[PATCH v1 13/14] drm: exynos: hdmi: add support for exynos5 hdmi

2012-10-04 Thread Rahul Sharma
This patch adds support for exynos5 hdmi with device tree enabled. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 83 -- 1 files changed, 79 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu

[PATCH v1 07/14] drm: exynos: hdmi: add support for exynos5 ddc

2012-10-04 Thread Rahul Sharma
This patch adds support for exynos5 ddc with device tree enabled. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_ddc.c | 22 +- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c b/drivers/gpu/drm/exynos

[PATCH v1 06/14] drm: exynos: remove drm hdmi platform data struct

2012-10-04 Thread Rahul Sharma
This patch removes the drm hdmi platform data structure which is no longer in use by drm hdmi driver after this patch set get merged. s5p hdmi platform data structure is used instead. Signed-off-by: Rahul Sharma --- include/drm/exynos_drm.h | 13 - 1 files changed, 0 insertions

[PATCH v1 08/14] drm: exynos: hdmi: add support for exynos5 hdmiphy

2012-10-04 Thread Rahul Sharma
This patch adds support for exynos5 hdmi phy with device tree enabled. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmiphy.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmiphy.c b/drivers/gpu/drm/exynos

[PATCH v1 14/14] drm: exynos: hdmi: remove drm common hdmi platform data struct

2012-10-04 Thread Rahul Sharma
exynos-drm-hdmi need context pointers from hdmi and mixer. These pointers were expected from the plf data. Cleaned this dependency by exporting i/f which are called by hdmi, mixer driver probes for setting their context. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c

[PATCH v1 12/14] drm: exynos: hdmi: replace is_v13 with version check in hdmi

2012-10-04 Thread Rahul Sharma
This patch removed the is_v13 variable from the hdmi driver context. It is replaced with condition check for the hdmi version. This cleans the way for handling further hdmi versions. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 40

[PATCH v1 11/14] drm: exynos: hdmi: add support for exynos5 mixer

2012-10-04 Thread Rahul Sharma
This patch adds support for exynos5 mixer with device tree enabled. Signed-off-by: Rahul Sharma Signed-off-by: Fahad Kunnathadi --- drivers/gpu/drm/exynos/exynos_mixer.c | 49 +++-- drivers/gpu/drm/exynos/regs-mixer.h |3 ++ 2 files changed, 49 insertions

Re: Re: [PATCH 00/14] drm: exynos: hdmi: add dt based support for exynos5 hdmi

2012-10-05 Thread RAHUL SHARMA
Thanks Joonyoung, I have addressed your comments in v1 set. Please have a look at them. regards, Rahul Sharma On Tue, Oct 2, 2012 at 1:01 PM, Joonyoung Shim wrote: > Hi, > > > On 09/28/2012 11:25 PM, Rahul Sharma wrote: >> >> This patch set adds the DT based support for

[PATCH 0/2] add exynos-drm platform device registration to driver

2012-10-11 Thread Rahul Sharma
from non-dt platforms" is posted to linux-samsung-soc mailing list. This patchset is based on branch exynos-drm-next at git://git.infradead.org/users/kmpark/linux-samsung (linux v3.6-rc4) Rahul Sharma (2): drm: exynos: moved exynos drm device registration to drm driver drm: exynos: mo

[PATCH 1/2] drm: exynos: moved exynos drm device registration to drm driver

2012-10-11 Thread Rahul Sharma
This patch moved the exynos-drm platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos

[PATCH 2/2] drm: exynos: moved exynos drm hdmi device registration to drm driver

2012-10-11 Thread Rahul Sharma
This patch moved the exynos-drm-hdmi platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm

Re: Re: [PATCH 2/2] drm: exynos: moved exynos drm hdmi device registration to drm driver

2012-10-12 Thread RAHUL SHARMA
On Fri, Oct 12, 2012 at 6:22 AM, Inki Dae wrote: > > > 2012? 10? 12? ???? Rahul Sharma?? ??: > >> This patch moved the exynos-drm-hdmi platform device registration to the >> drm >> driver. When DT is enabled, platform devices needs to be registered within >>

[PATCH v1 0/2] add exynos-drm platform device registration to driver

2012-10-12 Thread Rahul Sharma
from non-dt platforms" is posted to linux-samsung-soc mailing list. This patchset is based on branch exynos-drm-next at git://git.infradead.org/users/kmpark/linux-samsung (linux v3.6-rc4) v1: - moved exynos_drm_hdmi_pdev to drm hdmi layer - added exynos_platform_device_hdmi_register interf

[PATCH v1 1/2] drm: exynos: moved exynos drm device registration to drm driver

2012-10-12 Thread Rahul Sharma
This patch moved the exynos-drm platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos

[PATCH v1 2/2] drm: exynos: moved exynos drm hdmi device registration to drm driver

2012-10-12 Thread Rahul Sharma
This patch moved the exynos-drm-hdmi platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm

[PATCH v2 0/2] add exynos-drm platform device registration to driver

2012-10-15 Thread Rahul Sharma
erface v2: - moved register/unregister hdmi device function declarations to exynos_drm_drv.h Rahul Sharma (2): drm: exynos: moved exynos drm device registration to drm driver drm: exynos: moved exynos drm hdmi device registration to drm driver drivers/gpu/drm/exynos/exynos_drm_drv

[PATCH v2 1/2] drm: exynos: moved exynos drm device registration to drm driver

2012-10-15 Thread Rahul Sharma
This patch moved the exynos-drm platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos

[PATCH v2 2/2] drm: exynos: moved exynos drm hdmi device registration to drm driver

2012-10-15 Thread Rahul Sharma
This patch moved the exynos-drm-hdmi platform device registration to the drm driver. When DT is enabled, platform devices needs to be registered within the driver code. This patch fits the requirement of both DT and Non DT based drm drivers. Signed-off-by: Rahul Sharma --- drivers/gpu/drm

[PATCH] drm: exynos: removed warning due to missing typecast for mixer driver data

2012-10-30 Thread Rahul Sharma
Removing the warning by adding proper type casting where local pointer variable of type mixer driver data is assigned with void pointer. This patch is based on branch exynos-drm-next at git://git.infradead.org/users/kmpark/linux-samsung Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos

[PATCH] drm: exynos: fix for mapping non contig dma buffers

2012-11-02 Thread Rahul Sharma
offset belongs to that list. This patch is based on branch exynos-drm-next-iommu at git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 34 +++--- 1 files changed, 30 insertions

Re: [PATCH] drm: exynos: fix for mapping non contig dma buffers

2012-11-03 Thread Rahul Sharma
Thanks Mr. Dae, I improvised the above patch and submitted another patch for contiguous buffer. regards, Rahul Sharma On Fri, Nov 2, 2012 at 10:14 AM, Inki Dae wrote: > It's good patch. Right, there was my missing point. I thought each sgl would > always have 4k page. But dma

[PATCH v1] drm: exynos: fix for mapping non contig dma buffers

2012-11-04 Thread Rahul Sharma
) instead of mapping whole section, mapping single page. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 22 -- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos

[PATCH 1/1] drm: exynos: fix for mapping contigous dma buffers

2012-11-04 Thread Rahul Sharma
frame number for mapping. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_gem.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index c557ac7..50d73f1 100644 --- a/d

[PATCH] drm: exynos: add iommu support in hdmi driver with dt enabled

2012-11-05 Thread Rahul Sharma
g/?p=linux/kernel/git/daeinki/drm-exynos.git This patch is having dependency on linux-samsung-soc patchset named "add dt based support for iommu for hdmi" Signed-off-by: Rahul Sharma Signed-off-by: Prathyush K --- drivers/gpu/drm/exynos/exynos_hdmi.c | 35 +++

[PATCH] drm: exynos: add iommu support in hdmi driver with dt enabled

2012-11-05 Thread Rahul Sharma
g/?p=linux/kernel/git/daeinki/drm-exynos.git This patch is having dependency on linux-samsung-soc patchset posted at http://permalink.gmane.org/gmane.linux.kernel.samsung-soc/13556 Signed-off-by: Rahul Sharma Signed-off-by: Prathyush K --- drivers/gpu/drm/exynos/exynos_hdm

[PATCH] drm: exynos: fix for mapping of dma buffers

2012-11-05 Thread Rahul Sharma
pages unmapped, leading to a crash. Given solution finds the page struct for the faulting page through parsing SG table and map it. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 28 +--- 1 files changed, 25 insertions(+), 3 deletions(-) diff -

[PATCH] drm/exynos: Add exynos drm specific fb_mmap function

2012-11-07 Thread Rahul Sharma
. dma_mmap_writecombine will be able to map a contiguous buffer as well as non-contig buffer depending on whether an IOMMU mapping is created for drm or not. Signed-off-by: Prathyush K Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 26 ++ 1 files changed

Re: [PATCH] drm: exynos: add iommu support in hdmi driver with dt enabled

2012-11-07 Thread Rahul Sharma
On Wed, Nov 7, 2012 at 3:11 PM, Inki Dae wrote: > > > 2012/11/7 Leela Krishna Amudala >> >> Hello Rahul, >> >> On Mon, Nov 5, 2012 at 2:32 PM, Rahul Sharma >> wrote: >> > This patch adds iommu support for hdmi driver with device tree based >>

Re: [PATCH] drm/exynos: Add exynos drm specific fb_mmap function

2012-11-09 Thread Rahul Sharma
Hi All, Please review the following patch. regards, Rahul Sharma On Wed, Nov 7, 2012 at 4:38 PM, Rahul Sharma wrote: > From: Prathyush K > > This patch adds a exynos drm specific implementation of fb_mmap > which supports mapping a non-contiguous buffer to user space. > >

[PATCH] drm: exynos: fix for loosing display mode header during mode adjustment

2012-11-12 Thread Rahul Sharma
This patch is to preserve the display mode header during the mode adjustment. Display mode header is overwritten with the adjusted mode header which is throwing the stack dump. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c |8 1 files changed, 8 insertions

[PATCH 0/2] drm: exynos: hdmi: sending AVI and AUI info frames

2012-11-12 Thread Rahul Sharma
/kernel/git/daeinki/drm-exynos.git Rahul Sharma (1): drm: exynos: compose and send avi and aui info frames Stephane Marchesin (1): drm: get cea video id code for a given display mode drivers/gpu/drm/drm_edid.c | 20 +++ drivers/gpu/drm/exynos/exynos_hdmi.c | 97

[PATCH 1/2] drm: get cea video id code for a given display mode

2012-11-12 Thread Rahul Sharma
. Signed-off-by: Stephane Marchesin Signed-off-by: Rahul Sharma --- drivers/gpu/drm/drm_edid.c | 20 include/drm/drm_crtc.h |1 + 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index fadcd44

[PATCH 2/2] drm: exynos: compose and send avi and aui info frames

2012-11-12 Thread Rahul Sharma
This patch adds code for composing AVI and AUI info frames and send them every VSYNC. This patch is important for hdmi certification. Signed-off-by: Fahad Kunnathadi Signed-off-by: Shirish S Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 97

exynos drm hdmi audio: how to recieve audio parameters (sf, bps, channel count)

2012-07-17 Thread RAHUL SHARMA
change in audio parameters through kernel notifiers. drm hdmi driver subscribed for the same. Please suggest me a good way to implement this. regards, Rahul Sharma. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org

Re: RE: exynos drm hdmi audio: how to recieve audio parameters (sf, bps, channel count)

2012-07-20 Thread RAHUL SHARMA
On Fri, Jul 20, 2012 at 11:40 AM, RAHUL SHARMA wrote: > > > --- Original Message --- > Sender : Lars-Peter Clausen > Date : Jul 19, 2012 19:12 (GMT+05:30) > Title : Re: exynos drm hdmi audio: how to recieve audio parameters (sf, bps, > channel count) > >

Re: [PATCH] ARM: dts: moving dt binding documents for video devices to common place

2013-02-06 Thread Rahul Sharma
Hi Sylwester, On Wed, Feb 6, 2013 at 8:20 PM, Sylwester Nawrocki wrote: > Hi Rahul, > > On 02/06/2013 03:57 PM, Rahul Sharma wrote: >> Binding Documents for drm-devices are placed in >> Documentation/devicetree/bindings/drm/*. But these devices are common >> for v4l

[PATCH] ARM: dts: moving dt binding documents for video devices to common place

2013-02-06 Thread Rahul Sharma
ned-off-by: Rahul Sharma --- It is base on for-next branch of git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git .../devicetree/bindings/drm/exynos/hdmi.txt| 22 -- .../devicetree/bindings/drm/exynos/hdmiddc.txt | 12 .../devicetree/bindings/

[PATCH] ARM: dts: moving dt binding documents for video devices to common place

2013-02-06 Thread Rahul Sharma
Binding Documents for drm-devices are placed in Documentation/devicetree/bindings/drm/*. But these devices are common for v4l framework, hence moved to a common place Documentation/devicetree/bindings/video/. 'exynos_' prefix is added to associate them with exynos soc series. Signed-off

[RFC PATCH v2 0/5] exynos-hdmi to CDF compliant display driver

2013-02-07 Thread Rahul Sharma
io setting and audio control. It also subscribes for hpd notification to implement hpd related audio requirements. Rahul Sharma (5): video: display: add event handling, set mode and hdmi ops to cdf core drm/edid: temporarily exposing generic edid-read interface from drm drm/exynos: moved dr

[RFC PATCH v2 1/5] video: display: add event handling, set mode and hdmi ops to cdf core

2013-02-07 Thread Rahul Sharma
le disable audio. Signed-off-by: Rahul Sharma --- drivers/video/display/display-core.c | 85 +++ include/video/display.h | 111 ++- 2 files changed, 193 insertions(+), 3 deletions(-) diff --git a/drivers/video/display/display

[RFC PATCH v2 2/5] drm/edid: temporarily exposing generic edid-read interface from drm

2013-02-07 Thread Rahul Sharma
It exposes generic interface from drm_edid.c to get the edid data and length by any display entity. Once I get clear idea about edid handling in CDF, I need to revert these temporary changes. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/drm_edid.c | 88

[RFC PATCH v2 3/5] drm/exynos: moved drm hdmi driver to cdf framework

2013-02-07 Thread Rahul Sharma
successful, proceeds for mode setting. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/Kconfig | 6 + drivers/gpu/drm/exynos/Makefile | 1 + drivers/gpu/drm/exynos/exynos_drm_drv.c | 24 ++ drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 + drivers/gpu/drm/exynos

[RFC PATCH v2 4/5] alsa/soc: add hdmi audio codec based on cdf

2013-02-07 Thread Rahul Sharma
audio requirements. Signed-off-by: Rahul Sharma --- sound/soc/codecs/Kconfig | 3 + sound/soc/codecs/Makefile| 2 + sound/soc/codecs/exynos_hdmi_audio.c | 424 +++ 3 files changed, 429 insertions(+) create mode 100644 sound/soc/codecs

[RFC PATCH v2 5/5] alsa/soc: add hdmi audio card using cdf based hdmi codec

2013-02-07 Thread Rahul Sharma
It registers hdmi-audio card to ALSA framework which associates i2s dai and cdf based hdmi audio codec. Signed-off-by: Rahul Sharma --- sound/soc/samsung/Kconfig | 8 ++ sound/soc/samsung/Makefile | 2 + sound/soc/samsung/hdmi.c | 260 + 3

[PATCH] drm/exynos: modify condition in mixer and hdmi resume

2013-02-14 Thread Rahul Sharma
issue is fixed by reversing the condiftion. It also holds good for hdmi driver. Inline with http://lists.freedesktop.org/archives/dri-devel/2013-January/032920.html. Signed-off-by: Prathyush K Signed-off-by: Rahul Sharma --- It is based on exynos-drm-next-todo branch at git://git.kernel.org/pub

[PATCH] drm/exynos: hdmi: using drm_display_mode timings for exynos4

2013-02-22 Thread Rahul Sharma
, work fine for the same range of resolutions. Hence same condition (to find the supported mode) is applied to both. More exynos4 phy configs can be added later to extend the mode supprot. Signed-off-by: Rahul Sharma --- It is based on exynos-drm-next-todo branch at git://git.kernel.org/pub/scm/linux

[PATCH v2] drm/exynos: modify condition in mixer and hdmi resume

2013-02-22 Thread Rahul Sharma
issue is fixed by reversing the condiftion. It also holds good for hdmi driver. v2: updated the error messages. Signed-off-by: Prathyush K Signed-off-by: Rahul Sharma --- It is based on exynos-drm-next-todo branch at git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git drivers

[PATCH] drm/exynos: hdmi: use drm_display_mode to check the supported modes

2013-02-26 Thread Rahul Sharma
://patchwork.kernel.org/patch/2176021/. Signed-off-by: Rahul Sharma --- It is based on exynos-drm-next-todo branch at git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git drivers/gpu/drm/exynos/exynos_drm_connector.c | 5 + drivers/gpu/drm/exynos/exynos_drm_hdmi.h | 6

[PATCH] drm/exynos: hdmi: move mode_fixup to drm common hdmi

2013-02-26 Thread Rahul Sharma
patch is dependent on https://patchwork.kernel.org/patch/2176021/. Signed-off-by: Rahul Sharma --- It is based on exynos-drm-next-todo branch at git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 40 --- driver

Re: [PATCH] drm/exynos: hdmi: use drm_display_mode to check the supported modes

2013-02-26 Thread Rahul Sharma
Thanks Sean, On Tue, Feb 26, 2013 at 10:55 PM, Sean Paul wrote: > On Tue, Feb 26, 2013 at 7:16 AM, Rahul Sharma > wrote: >> Exynos hdmi driver is using drm_display_mode for setting timing values >> for a supported resolution. Conversion to fb_videomode and then comparing >

Re: [PATCH] drm/exynos: hdmi: using drm_display_mode timings for exynos4

2013-02-26 Thread Rahul Sharma
Thanks Sean, On Tue, Feb 26, 2013 at 11:33 PM, Sean Paul wrote: > On Fri, Feb 22, 2013 at 8:32 AM, Rahul Sharma > wrote: >> Exynos5 is already using drm_display_mode for timings parameters. Exynos4 >> is also modifed to use the same. List of supported resolutions and >&g

[PATCH RFC] drm/exynos: hdmi: move hdmiphy related code to hdmiphy driver

2013-02-27 Thread Rahul Sharma
.html http://www.mail-archive.com/dri-devel@lists.freedesktop.org/msg34861.html http://www.mail-archive.com/dri-devel@lists.freedesktop.org/msg34862.html Signed-off-by: Rahul Sharma --- It is based on exynos-drm-next-todo branch at git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git

Re: [PATCH RFC] drm/exynos: hdmi: move hdmiphy related code to hdmiphy driver

2013-03-06 Thread Rahul Sharma
Thanks Seung Woo, Mr. Dae, On Thu, Mar 7, 2013 at 10:13 AM, Inki Dae wrote: > 2013/3/7 김승우 : >> >> >> On 2013년 03월 04일 23:05, Rahul Sharma wrote: >>> Thanks Sean, >>> >>> On Wed, Feb 27, 2013 at 9:47 PM, Sean Paul wrote: >>>>

Re: [PATCH RFC] drm/exynos: hdmi: move hdmiphy related code to hdmiphy driver

2013-03-07 Thread Rahul Sharma
On Thu, Mar 7, 2013 at 12:37 PM, Stéphane Marchesin wrote: > On Wed, Mar 6, 2013 at 8:43 PM, Inki Dae wrote: >> 2013/3/7 김승우 : >>> >>> >>> On 2013년 03월 04일 23:05, Rahul Sharma wrote: >>>> Thanks Sean, >>>> >>>> On Wed, Feb 2

Re: [PATCH RFC] drm/exynos: hdmi: move hdmiphy related code to hdmiphy driver

2013-03-08 Thread Rahul Sharma
On Thu, Mar 7, 2013 at 2:05 PM, Inki Dae wrote: > > >> -Original Message- >> From: 김승우 [mailto:sw0312@samsung.com] >> Sent: Thursday, March 07, 2013 4:04 PM >> To: Rahul Sharma >> Cc: Inki Dae; linux-samsung-...@vger.kernel.org;

Re: [RFC][PATCH] drm/prime: fixed to allocate sg table considering contiguous pages

2013-04-26 Thread Rahul Sharma
Hi Seung Woo, I had posted the same solution at http://lists.freedesktop.org/archives/dri-devel/2013-January/034119.html. This has been pulled in drm-intel-next. regards, Rahul Sharma. On Fri, Apr 26, 2013 at 2:18 PM, Seung-Woo Kim wrote: > Allocating scatter table with sg_alloc_table() d

[PATCH] drm/exynos: hdmi: move hdmiphy related code to hdmiphy driver

2013-04-27 Thread Rahul Sharma
@lists.freedesktop.org/msg34861.html v2: 1) Moved hdmi subsystem registration to drm-common-hdmi. 2) removed __func__ as DRM_DEBUG_KMS print it by default. 3) removed devname from "hdmiphy" clock as it needs to be accessed by hdmi and hdmiphy driver. Signed-off-by: Rahul Sharma --- It is based on

[RFC v2] drm/exynos: hdmi: move hdmiphy related code to hdmiphy driver

2013-04-27 Thread Rahul Sharma
ver. This implementations is tested for: 1) Resolutions supported by exynos4 and 5 hdmi. 2) Runtime PM and S2R scenarions for exynos5. This patch is dependent on the patch, posted at http://www.mail-archive.com/dri-devel@lists.freedesktop.org/msg34861.html Signed-off-by: Rahul Sharma --- It is based on

[PATCH v2] drm/exynos: hdmi: use drm_display_mode to check the supported modes

2013-04-27 Thread Rahul Sharma
) Corrected DRM_DEBUG_KMS to print the resolution properly. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_connector.c | 36 + drivers/gpu/drm/exynos/exynos_drm_hdmi.h |6 ++--- drivers/gpu/drm/exynos/exynos_hdmi.c | 15

Re: [PATCH v2] drm/exynos: hdmi: use drm_display_mode to check the supported modes

2013-04-28 Thread Rahul Sharma
> > Thanks Seung-Woo, I agree with you. After replacment, it will look like: int (*check_mode)(struct device *dev, struct drm_display_mode *mode); Regards, Rahul Sharma, email to: rahul.sha...@samsung.com Samsung Research India, Bangalore. Regards, > - Seung-Woo Kim > > On 201

[PATCH v4] drm/exynos: hdmi: use drm_display_mode to check the supported modes

2013-04-29 Thread Rahul Sharma
-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_connector.c | 38 ++--- drivers/gpu/drm/exynos/exynos_drm_drv.h |4 +-- drivers/gpu/drm/exynos/exynos_drm_fimd.c |4 +-- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 17 +-- drivers/gpu/drm

[PATCH 0/4] drm/exynos: hdmi: move hdmiphy related code to hdmiphy driver

2013-04-29 Thread Rahul Sharma
@vger.kernel.org/msg17905.html This series is based on exynos-drm-next branch at git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git Rahul Sharma (4): drm/exynos: hdmi: move hdmi subsystem registration to drm common hdmi drm/exynos: hdmi: register hdmiphy driver from common drm

[PATCH 1/4] drm/exynos: hdmi: move hdmi subsystem registration to drm common hdmi

2013-04-29 Thread Rahul Sharma
hdmi sub-system components are moved to exynos_drm_hdmi.c. This ensures limited & relevant exposure of hdmi-sub-system components to exynos_drm_drv.c. It will also help in handling the hdmi-sub-system diversities within the exynos-common-hdmi. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/ex

[PATCH 2/4] drm/exynos: hdmi: register hdmiphy driver from common drm hdmi

2013-04-29 Thread Rahul Sharma
independent driver, having own set of requried callbacks which are called by common drm hdmi, parallel to hdmi and mixer driver. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 61 +++--- drivers/gpu/drm/exynos/exynos_drm_hdmi.h | 17

[PATCH 3/4] drm/exynos: hdmi: move hdmiphy callbacks to hdmiphy driver

2013-04-29 Thread Rahul Sharma
block is changed but the other one is not, which is not proper. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c| 345 +-- drivers/gpu/drm/exynos/exynos_hdmiphy.c | 574 ++- drivers/gpu/drm/exynos/regs-hdmiphy.h | 61 3

[PATCH 4/4] ARM: EXYNOS: remove parent device for hdmiphy clock

2013-04-29 Thread Rahul Sharma
to the clock. Signed-off-by: Rahul Sharma --- arch/arm/mach-exynos/clock-exynos4.c |1 - arch/arm/mach-exynos/clock-exynos5.c |1 - 2 files changed, 2 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c index 8a8468d..a43afcd 100644

Re: [PATCH 4/4] ARM: EXYNOS: remove parent device for hdmiphy clock

2013-04-29 Thread Rahul Sharma
On Mon, Apr 29, 2013 at 11:07 PM, Sylwester Nawrocki wrote: > Hi, > > On 04/29/2013 07:04 PM, Sean Paul wrote: >> On Mon, Apr 29, 2013 at 10:50 AM, Rahul Sharma >> wrote: >>> Hdmiphy clock flows from hdmiphy hw to hdmi ip and mixer. It is commonly >>>

Re: [PATCH v4] drm/exynos: hdmi: use drm_display_mode to check the supported modes

2013-05-02 Thread Rahul Sharma
On Mon, Apr 29, 2013 at 9:54 PM, Sean Paul wrote: > On Mon, Apr 29, 2013 at 7:14 AM, Rahul Sharma > wrote: >> Exynos hdmi driver is using drm_display_mode for setting timing values >> for a supported resolution. Conversion to fb_videomode and then comparing >> with the

Re: [PATCH 1/4] drm/exynos: hdmi: move hdmi subsystem registration to drm common hdmi

2013-05-02 Thread Rahul Sharma
On Mon, Apr 29, 2013 at 10:06 PM, Sean Paul wrote: > On Mon, Apr 29, 2013 at 10:50 AM, Rahul Sharma > wrote: >> Exynos hdmi sub-system consists of mixer, hdmi ip, hdmi-phy and hdmi-ddc >> components. Currently, drivers for these components are getting registered >> in ex

Re: [PATCH 2/4] drm/exynos: hdmi: register hdmiphy driver from common drm hdmi

2013-05-03 Thread Rahul Sharma
Hi Sean, On Mon, Apr 29, 2013 at 10:28 PM, Sean Paul wrote: > On Mon, Apr 29, 2013 at 10:50 AM, Rahul Sharma > wrote: >> hdmiphy hardware block is a physically separate device. Hdmiphy driver >> is glued inside hdmi driver and acessed through hdmi callbacks. With >> i

Re: [PATCH 1/5] clk/exynos5250: Fix HDMI clock number in documentation

2013-06-10 Thread Rahul Sharma
This patch is already posted at http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg18331.html and Reviewed-by: Doug Anderson On Mon, Jun 10, 2013 at 4:30 PM, Rahul Sharma wrote: > From: Arun Kumar K > > This patch corrects the HDMI clock number given wrongly

[PATCH v4] drm/exynos: hdmi: use drm_display_mode to check the supported modes

2013-06-10 Thread Rahul Sharma
. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_connector.c | 38 ++--- drivers/gpu/drm/exynos/exynos_drm_drv.h |4 +-- drivers/gpu/drm/exynos/exynos_drm_fimd.c |4 +-- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 17

[PATCH 0/5] clk/exynos5250: add clocks for hdmi subsystem

2013-06-10 Thread Rahul Sharma
linux-samsung.git. Arun Kumar K (1): clk/exynos5250: Fix HDMI clock number in documentation Rahul Sharma (4): clk/exynos5250: add mout_hdmi mux clock for hdmi clk/exynos5250: add sclk_hdmiphy in the list of special clocks clk/exynos5250: add clock for tv sysmmu clk/exynos5250: change pare

[PATCH 1/5] clk/exynos5250: Fix HDMI clock number in documentation

2013-06-10 Thread Rahul Sharma
From: Arun Kumar K This patch corrects the HDMI clock number given wrongly in the documentation. Signed-off-by: Arun Kumar K Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5250-clock.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 2/5] clk/exynos5250: add mout_hdmi mux clock for hdmi

2013-06-10 Thread Rahul Sharma
changing parent. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5250-clock.txt |8 drivers/clk/samsung/clk-exynos5250.c |5 - 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH 3/5] clk/exynos5250: add sclk_hdmiphy in the list of special clocks

2013-06-10 Thread Rahul Sharma
hdmi driver needs hdmiphy clock which is one of the parent for hdmi mux clock. This is required while changing the parent of mux clock. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5250-clock.txt |1 + drivers/clk/samsung/clk-exynos5250.c

[PATCH 4/5] clk/exynos5250: add clock for tv sysmmu

2013-06-10 Thread Rahul Sharma
Adding sysmmu clock for tv for exynos5250 SoC. It also adds aclk200_disp1 mux which is the actual parent of the disp1 block (contains hdmi, mixer, sysmmu_tv). Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5250-clock.txt |1 + drivers/clk/samsung/clk

[PATCH 5/5] clk/exynos5250: change parent to aclk200_disp1 for hdmi subsystem

2013-06-10 Thread Rahul Sharma
parent of hdmi and mixer block is mentioned as aclk200 which is not correct. It is clocked by the ouput of aclk200_disp1. Hence parent for mixer and hdmi clocks is changed to aclk200_disp1. Signed-off-by: Rahul Sharma --- drivers/clk/samsung/clk-exynos5250.c |4 ++-- 1 file changed, 2

[PATCH 1/4] drm/exynos: Prepare/Unprepare HDMI subsystem clocks

2013-06-11 Thread Rahul Sharma
From: Sean Paul Change the clk_enable/clk_disable calls in mixer and hdmi drivers into clk_prepare_enable/clk_disable_unprepare, respectively. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 24 drivers/gpu/drm

[PATCH 0/4] exynos5250/hdmi: modify driver and arch data towards CCF migration

2013-06-11 Thread Rahul Sharma
After switching to CCF, driver and device tree nodes are required to be update with clock information. This set includes those changes. After these patches, the only missing portion is hdmiphy power control which is posted independently. Together, basic hdmi is working for exynos5250. Rahul

[PATCH 2/4] drm/exynos: add mout_hdmi clock in hdmi driver to change parent

2013-06-11 Thread Rahul Sharma
HDMI driver needs to configure the mout_hdmi mux clock to change the parent between sclk_hdmiphy and sclk_pixel. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos

[PATCH 3/4] ARM: dts: Add mixer clocks to mixer node

2013-06-11 Thread Rahul Sharma
From: Sean Paul This patch adds the mixer clocks to the mixer node in the dts file. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5250.dtsi |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts

[PATCH 4/4] ARM/dts: add clocks to hdmi dt node for exynos5250

2013-06-11 Thread Rahul Sharma
Fix wrong clock numbers in hdmi dt node. Removed hdmiphy clock which was a dummy clock earlier and not required now. Also added mux clock to change the clock parent. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5250.dtsi |6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[RFC 0/2] exynos5250/hdmi: replace dummy hdmiphy clock with pmu reg control

2013-06-11 Thread Rahul Sharma
register to toggle the power control bit. This is based on drm-next branch in Inki Dae's tree. Rahul Sharma (2): drm/exynos: replace dummy hdmiphy clock with pmu register control ARM/dts: add hdmiphy power control pmu register to hdmi dt node arch/arm/boot/dts/exynos5250.dtsi|

[RFC 1/2] drm/exynos: replace dummy hdmiphy clock with pmu register control

2013-06-11 Thread Rahul Sharma
register to toggle the power control bit. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 69 ++ drivers/gpu/drm/exynos/regs-hdmi.h |4 ++ 2 files changed, 65 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/exynos

[RFC 2/2] ARM/dts: add hdmiphy power control pmu register to hdmi dt node

2013-06-11 Thread Rahul Sharma
Add hdmiphy power control node as a child to hdmi node. This node will be parsed by hdmi driver to map phy control pmu reg and control the phy power. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 4/9] drm/exynos: add support for exynos5420 hdmiphy

2013-06-11 Thread Rahul Sharma
eated as a platform bus mapped device, else i2c device. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 274 ++ 1 file changed, 243 insertions(+), 31 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exy

<    1   2   3   4   5   6   7   >