[PATCH 2/4] drm/exynos: implement display-mode-check callback in mixer driver

2013-01-03 Thread Rahul Sharma
On Wed, Jan 2, 2013 at 10:45 PM, Sean Paul wrote: > On Thu, Dec 27, 2012 at 6:38 AM, Rahul Sharma > wrote: >> This patch adds the implementation of check_mode callback in the mixer >> driver. Based on the mixer version, correct set of restrictions will be >> expose

[PATCH 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2013-01-03 Thread Rahul Sharma
On Wed, Jan 2, 2013 at 10:46 PM, Sean Paul wrote: > On Thu, Dec 27, 2012 at 6:38 AM, Rahul Sharma > wrote: >> With this patch, mixer driver find the correct resolution mode for >> the range of resolutions, upto 1080 vertical lines. Resolution will >> be categorized to N

[PATCH v3] drm/exynos: let drm handle edid allocations

2013-01-02 Thread Rahul Sharma
nside vidi driver. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Signed-off-by: Seung-Woo Kim --- This patch is based on branch "exynos-drm-next" at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git drivers/gpu/drm/exynos/exynos_drm_connector.c | 37 ++--

[PATCH] drm/exynos: move finish page flip to a common place

2013-01-03 Thread Rahul Sharma
This patch implements the exynos_drm_crtc_finish_pageflip in exynos_drm_crtc.c. This avoids the duplication of same code in mixer, fimd and vidi. Signed-off-by: Rahul Sharma --- This patch is based on branch "exynos-drm-next" at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-

[PATCH] drm/exynos: move finish page flip to a common place

2013-01-03 Thread Rahul Sharma
This patch implements the exynos_drm_crtc_finish_pageflip in exynos_drm_crtc.c. This avoids the duplication of same code in mixer, fimd and vidi. Signed-off-by: Rahul Sharma Signed-off-by: Stephane Marchesin --- This patch is based on branch "exynos-drm-next" at http://git.kernel.or

[PATCH 0/2] drm/exynos: add support for more resolutions to exynos5

2013-01-04 Thread Rahul Sharma
Please Abandon this patch set. Same code is posted under new patch set at http://comments.gmane.org/gmane.comp.video.dri.devel/78392 regards, Rahul Sharma On Tue, Dec 18, 2012 at 7:42 PM, Rahul Sharma wrote: > This patch set adds support for more resolutions and refresh rates to Sams

[PATCH v4] drm/exynos: let drm handle edid allocations

2013-01-04 Thread Rahul Sharma
o fail for Virtual Connectors like VIDI. Thanks to Seung-Woo Kim. v3: - removed MAX_EDID as it is not used anymore. v2: - changed vidi_get_edid callback inside vidi driver. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Signed-off-by: Seung-Woo Kim --- This patch is based on branch "exyn

[PATCH v2 0/4] drm/exynos: add support for extra resolutions to exynos5

2013-01-04 Thread Rahul Sharma
;exynos-drm-next" at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git Rahul Sharma (3): drm/exynos: add display-mode-check operation to exynos_mixer_ops struct drm/exynos: implement display-mode-check callback in mixer driver drm/exynos: mixer: set correct mode for rang

[PATCH v2 1/4] drm/exynos: add display-mode-check operation to exynos_mixer_ops struct

2013-01-04 Thread Rahul Sharma
check-mode and hdmi check-timing callbacks are called one after another and ANDed result is returned back. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 12 drivers/gpu/drm/exynos/exynos_drm_hdmi.h | 5 - drivers/gpu/drm/exynos/exynos_hdmi.c

[PATCH v2 2/4] drm/exynos: implement display-mode-check callback in mixer driver

2013-01-04 Thread Rahul Sharma
This patch adds the implementation of check_mode callback in the mixer driver. Based on the mixer version, correct set of restrictions will be exposed by the mixer driver. A resolution will be acceptable only if passes the criteria set by mixer and hdmi IPs. Signed-off-by: Rahul Sharma Signed

[PATCH v2 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2013-01-04 Thread Rahul Sharma
With this patch, mixer driver find the correct resolution mode for the range of resolutions, upto 1080 vertical lines. Resolution will be categorized to NTSC SD, PAL SD or HD and the correct mode is set to the mixer configuration register. Signed-off-by: Rahul Sharma Signed-off-by: Sean Paul

[PATCH v2 4/4] drm/exynos: hdmi: support extra resolutions using drm_display_mode timings

2013-01-04 Thread Rahul Sharma
: Rahul Sharma Signed-off-by: Sean Paul Signed-off-by: Shirish S Signed-off-by: Akshay Saraswat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 1022 +- 1 file changed, 374 insertions(+), 648 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers

[PATCH v3 0/4] drm/exynos: add support for extra resolutions to exynos5

2013-01-07 Thread Rahul Sharma
*" - organised the implementation of check_timing callback in mixer driver. This patch series is based on branch "exynos-drm-next" at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git Rahul Sharma (3): drm/exynos: add display-mode-check operation to exynos_mixer_ops

[PATCH v3 1/4] drm/exynos: add display-mode-check operation to exynos_mixer_ops struct

2013-01-07 Thread Rahul Sharma
check-mode and hdmi check-timing callbacks are called one after another and ANDed result is returned back. Signed-off-by: Rahul Sharma Reviewed-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 12 drivers/gpu/drm/exynos/exynos_drm_hdmi.h | 5 - drivers/gpu/drm

[PATCH v3 2/4] drm/exynos: implement display-mode-check callback in mixer driver

2013-01-07 Thread Rahul Sharma
This patch adds the implementation of check_timing callback in the mixer driver. Based on the mixer version, correct set of restrictions will be exposed by the mixer driver. A resolution will be acceptable only if passes the criteria set by mixer and hdmi IPs. Signed-off-by: Rahul Sharma Signed

[PATCH v3 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2013-01-07 Thread Rahul Sharma
With this patch, mixer driver find the correct resolution mode for the range of resolutions, upto 1080 vertical lines. Resolution will be categorized to NTSC SD, PAL SD or HD and the correct mode is set to the mixer configuration register. Signed-off-by: Rahul Sharma Signed-off-by: Sean Paul

[PATCH v3 4/4] drm/exynos: hdmi: support extra resolutions using drm_display_mode timings

2013-01-07 Thread Rahul Sharma
: Rahul Sharma Signed-off-by: Sean Paul Signed-off-by: Shirish S Signed-off-by: Akshay Saraswat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 1022 +- 1 file changed, 374 insertions(+), 648 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers

[RFC v2 0/5] Common Display Framework

2013-01-09 Thread Rahul Sharma
operation in hdmi/dp panel, I need to implement edid parser inside the panel driver. It will be meaningful to add get_edid control operation for hdmi/dp. regards, Rahul Sharma. On Tue, Jan 8, 2013 at 9:43 PM, Rob Clark wrote: > On Tue, Jan 8, 2013 at 2:25 AM, Laurent Pinchart > wrote: >

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

2013-01-14 Thread Rahul Sharma
Thanks Sachin, On Mon, Jan 14, 2013 at 11:13 AM, Sachin Kamat wrote: > +CC: ALSA mailing list, Mark Brown > > On 13 January 2013 18:22, Rahul Sharma wrote: >> This patch registers hdmi-audio codec to the ALSA framework. This is the >> second >> client to the hdmi

[PATCH v4 0/4] drm/exynos: add support for extra resolutions to exynos5

2013-01-15 Thread Rahul Sharma
ing from check_mode - callback parameter is changed to type "struct fb_videomode *" from "void *" - organised the implementation of check_timing callback in mixer driver. This patch series is based on branch "exynos-drm-fixes" at http://git.kernel.org/?p=linux/kernel/

[PATCH v4 1/4] drm/exynos: add display-mode-check operation to exynos_mixer_ops struct

2013-01-15 Thread Rahul Sharma
check-mode and hdmi check-timing callbacks are called one after another and ANDed result is returned back. Signed-off-by: Rahul Sharma Reviewed-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_hdmi.c | 12 drivers/gpu/drm/exynos/exynos_drm_hdmi.h | 5 - drivers/gpu/drm

[PATCH v4 2/4] drm/exynos: implement display-mode-check callback in mixer driver

2013-01-15 Thread Rahul Sharma
This patch adds the implementation of check_timing callback in the mixer driver. Based on the mixer version, correct set of restrictions will be exposed by the mixer driver. A resolution will be acceptable only if passes the criteria set by mixer and hdmi IPs. Signed-off-by: Rahul Sharma Signed

[PATCH v4 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2013-01-15 Thread Rahul Sharma
With this patch, mixer driver find the correct resolution mode for the range of resolutions, upto 1080 vertical lines. Resolution will be categorized to NTSC SD, PAL SD or HD and the correct mode is set to the mixer configuration register. Signed-off-by: Rahul Sharma Signed-off-by: Sean Paul

[PATCH v4 4/4] drm/exynos: hdmi: support extra resolutions using drm_display_mode timings

2013-01-15 Thread Rahul Sharma
: Rahul Sharma Signed-off-by: Sean Paul Signed-off-by: Shirish S Signed-off-by: Akshay Saraswat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 1022 +- 1 file changed, 374 insertions(+), 648 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers

[PATCH 1/2] drm/exynos: add support for dt based search to exynos4 hdmi

2013-01-25 Thread Rahul Sharma
Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_ddc.c | 2 ++ drivers/gpu/drm/exynos/exynos_hdmi.c| 6 ++ drivers/gpu/drm/exynos/exynos_hdmiphy.c | 2 ++ 3 files changed, 10 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_ddc.c b/drivers/gpu/drm/exynos

[PATCH 2/2] drm/exynos: add support for dt based search to exynos4 mixer

2013-01-25 Thread Rahul Sharma
Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index c414584..67f50b5 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu

[PATCH 0/2] drm/exynos: add dt support to exynos4 mixer and hdmi

2013-01-25 Thread Rahul Sharma
This patch enables the DT based search to DRM Mixer and HDMI driver for Samsung Exynos4 family soc. This set is base on "exynos-drm-fixes" branch at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git Rahul Sharma (2): drm/exynos: add support for dt based search to ex

[PATCH] drm: modify pages_to_sg prime helper to create optimized SG table

2013-01-28 Thread Rahul Sharma
os-drm-fixes" branch at http://git.kernel.org/?p=linux/kernel/git/daeinki/drm-exynos.git Signed-off-by: Rahul Sharma --- drivers/gpu/drm/drm_prime.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index 7f12

[PATCH v2] drm/exynos: Get HDMI version from device tree

2013-01-31 Thread Rahul Sharma
ware of the ip > version itself and should the driver only aware of it through device > tree? So I thought using the version property is proper way. > I want to second Sylwester's proposal. Compatibility information should be carried in compatible string. 'version' property is

[PATCH 1/2] drm/exynos: add support for dt based search to exynos4 hdmi

2013-01-31 Thread Rahul Sharma
Thanks Mr. Dae, I will include DT binding documentation in Arch side patches. I am following the mentioned thread. regards, Rahul Sharma. On Wed, Jan 30, 2013 at 12:07 PM, Inki Dae wrote: > Hi Rahul, > > Could you add descriptions to dt document file? For this, you can > refer

[PATCH] drm: modify pages_to_sg prime helper to create optimized SG table

2013-01-31 Thread Rahul Sharma
On Tue, Jan 29, 2013 at 10:40 PM, Aaron Plattner wrote: > On 01/28/2013 05:38 AM, Rahul Sharma wrote: >> >> It fixes the issue arises due to passing 'nr_pages' in place of 'nents' to >> sg_alloc_table. When ARM_HAS_SG_CHAIN is disabled, it is causing f

[PATCH] drm: modify pages_to_sg prime helper to create optimized SG table

2013-01-31 Thread Rahul Sharma
On Thu, Jan 31, 2013 at 2:23 PM, Daniel Vetter wrote: > On Thu, Jan 31, 2013 at 9:38 AM, Rahul Sharma wrote: >> On Tue, Jan 29, 2013 at 10:40 PM, Aaron Plattner >> wrote: >>> On 01/28/2013 05:38 AM, Rahul Sharma wrote: >>>> >>>> It fixes the is

[PATCH] drm: modify pages_to_sg prime helper to create optimized SG table

2013-01-31 Thread Rahul Sharma
On Thu, Jan 31, 2013 at 5:47 PM, Daniel Vetter wrote: > On Thu, Jan 31, 2013 at 12:54 PM, Rahul Sharma wrote: >> I have parsed the related code and it looks fine to me. I couldn't find >> any code section, expecting sg-tables with single-page sgl entries. I >> just wa

[RFC] drm/exynos: abort commit when framebuffer is removed from plane

2014-07-08 Thread Rahul Sharma
Hi Inki, What do you think about the following fix? I need your inputs for this. Regards, Rahul Sharma On 19 June 2014 20:43, Rahul Sharma wrote: > This situation arises when userspace remove the frambuffer object > and call setmode ioctl. > > drm_mode_rmfb --> drm_plan

[RFC] drm/exynos: abort commit when framebuffer is removed from plane

2014-07-09 Thread Rahul Sharma
On 8 July 2014 21:25, Inki Dae wrote: > 2014-06-20 0:13 GMT+09:00 Rahul Sharma : >> This situation arises when userspace remove the frambuffer object >> and call setmode ioctl. >> >> drm_mode_rmfb --> drm_plane_force_disable --> plane->crt

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

2012-11-01 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

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

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

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

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

2012-11-20 Thread Rahul Sharma
Hi All, Kindly review the following patch-set. regards, Rahul Sharma On Fri, Nov 9, 2012 at 9:51 PM, Rahul Sharma wrote: > This patch set adds provision for composing and sending AVI and AUI > infoframes by exynos drm hdmi driver. > > It also adds provision to get CEA Video ID

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

2012-11-20 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 |9 + 1 files changed, 9 insertions

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

2013-05-03 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

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

2013-05-03 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

[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

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

2013-07-30 Thread Rahul Sharma
On Tue, Jun 18, 2013 at 5:07 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 18 June 2013 03:33 PM, Rahul Sharma wrote: > > Thanks all, > > > > On Fri, Jun 14, 2013 at 11:39 AM, ??? wrote: > >> Hello Kishon, > >> > >> On 2013?

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

2013-07-30 Thread Rahul Sharma
On Tue, Jul 30, 2013 at 10:37 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 30 July 2013 09:12 AM, Rahul Sharma wrote: > > > > > > On Tue, Jun 18, 2013 at 5:07 PM, Kishon Vijay Abraham I > <mailto:kishon at ti.com>> wrote: > > > >

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

2013-07-30 Thread Rahul Sharma
Thanks Seung-Woo, On Tue, Jul 30, 2013 at 11:36 AM, Seung-Woo Kim wrote: > Hi Rahul, > > On 2013? 07? 30? 12:42, Rahul Sharma wrote: >> >> >> On Tue, Jun 18, 2013 at 5:07 PM, Kishon Vijay Abraham I > <mailto:kishon at ti.com>> wrote: >> >>

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

2013-07-31 Thread Rahul Sharma
On Tue, Jul 30, 2013 at 2:21 PM, Rahul Sharma wrote: > Thanks Seung-Woo, > > On Tue, Jul 30, 2013 at 11:36 AM, Seung-Woo Kim > wrote: >> Hi Rahul, >> >> On 2013? 07? 30? 12:42, Rahul Sharma wrote: >>> >>> >>> On Tue, Jun 18, 2013 at 5:

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

2013-08-01 Thread Rahul Sharma
Thanks Sylwester, On Wed, Jul 31, 2013 at 5:41 PM, Sylwester Nawrocki wrote: > Hi Rahul, > > On 07/31/2013 01:23 PM, Rahul Sharma wrote: >>>> I think your hdmiphy pmu patch is good enough just if dt binding for pmu >>>> >> is in hdmiphy binding instead of

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

[PATCH 0/9] exynos5420/hdmi: add support for hdmi subsystem

2013-06-11 Thread Rahul Sharma
Add support for exynos5420 hdmi subsystem. It adds compatible strings for exynos5420 and Changes the drivers as per IP modifications. This set is based on drm-next branch of Inki Dae's tree at http://git.kernel.org/cgit/linux/kernel/git/daeinki/drm-exynos.git. Rahul Sharma (9): drm/exynos

[PATCH 1/9] drm/exynos: use SoC name to identify hdmi version

2013-06-11 Thread Rahul Sharma
configuration set. Based on the HDMI IP version we cannot decide to pick Exynos5250 phy conf and use i2c for data transfer or Exynos5420 phy confs and platform bus calls for communication. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 249

[PATCH 5/9] drm/exynos: add support for exynos5420 mixer

2013-06-11 Thread Rahul Sharma
Add support for exynos5420 mixer IP in the drm mixer driver. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c | 49 + drivers/gpu/drm/exynos/regs-mixer.h |7 + 2 files changed, 44 insertions(+), 12 deletions(-) diff --git a

[PATCH 6/9] drm/exynos: fix interlace resolutions for exynos5420

2013-06-11 Thread Rahul Sharma
Modified code for calculating hdmi IP register values from drm timing values. The modification is based on the inputs from hw team and specifically proposed for 1440x576i and 1440x480i. But same changes holds good for other interlaced resolutions also. Signed-off-by: Rahul Sharma --- drivers

[PATCH 7/9] drm/exynos: use of_get_named_gpio to get hdmi hpd gpio

2013-06-11 Thread Rahul Sharma
Cleanup by removing flags variable from drm_hdmi_dt_parse_pdata which is not used anywhere. Swtiching to of_get_named_gpio instead of of_get_named_gpio_flags solved this. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions

[PATCH 3/9] drm/exynos: add support for exynos5420 hdmi

2013-06-11 Thread Rahul Sharma
Add support for exynos5420 hdmi IP. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index a7f7ab3..0c94e54 100644 --- a/drivers/gpu/drm

[PATCH 8/9] ARM/dts: add phy property to exynos5250 hdmi dt node

2013-06-11 Thread Rahul Sharma
Add property to hdmi node to get phandle for hdmiphy node. This is required to check the compatible type of phy in hdmi driver. If phy is compatible to exynos5420, it needs to be treated as a platform device rather than a i2c device. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5250

[PATCH 9/9] ARM/dts: update device tree binding documentation for hdmi susbsystem

2013-06-11 Thread Rahul Sharma
Update device tree binding documentation for hdmi subsystem with the clock information, phy property information and compatible strings for exynos5420. Signed-off-by: Rahul Sharma --- .../devicetree/bindings/video/exynos_hdmi.txt | 19 +++ .../devicetree/bindings/video

[PATCH 2/9] drm/exynos: rename compatible strings for hdmi subsystem

2013-06-11 Thread Rahul Sharma
This patch renames the combatible strings for hdmi, mixer, ddc and hdmiphy. It follows the convention of using compatible string which represent the SoC in which the IP was added for the first time. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/video/exynos_hdmi.txt

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

2013-06-13 Thread Rahul Sharma
d post them. I hope we should be able to close on one of the above approaches for hdmiphy. regards, Rahul Sharma. On Wed, Jun 12, 2013 at 9:57 AM, Inki Dae wrote: > > > > 2013/6/12 Inki Dae >> >> Hi Rahul, >> >> This patch is important to us. Actua

[PATCH 1/9] drm/exynos: use SoC name to identify hdmi version

2013-06-17 Thread Rahul Sharma
Thanks Seung-Woo, On Fri, Jun 14, 2013 at 12:23 PM, ??? wrote: > Hello Rahul, > > On 2013? 06? 11? 23:11, Rahul Sharma wrote: >> Exynos hdmi IP version is named after hdmi specification version i.e. >> 1.3 and 1.4. This versioning mechanism is not sufficient to handle &g

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

2013-06-18 Thread Rahul Sharma
Hi Mr. Kukjin, Kindly consider the following patches for review and integration. regards, Rahul Sharma. On Fri, Jun 14, 2013 at 3:39 PM, Arun Kumar K wrote: > Hi, > Tested this series on snow board and is working fine. > > Tested-by: Arun Kumar K > > Regards > Arun >

exynos-drm-next todo work.

2013-06-18 Thread Rahul Sharma
the single cpu dai for HDMI and Speaker sound card, only one card can support playback at a time. I would like to work on this to provide a more refined solution. regards, Rahul Sharma. On Tue, Jun 18, 2013 at 12:03 PM, Inki Dae wrote: > Hi all, > > I'd like to discuss Exynos DRM

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

2013-06-18 Thread Rahul Sharma
- >>>> From: Sylwester Nawrocki [mailto:s.nawrocki at samsung.com] >>>> Sent: Thursday, June 13, 2013 5:56 PM >>>> To: Rahul Sharma >>>> Cc: Rahul Sharma; Inki Dae; linux-samsung-soc at vger.kernel.org; >>>> devicetree- >>>> discu

[PATCH 7/9] drm/exynos: use of_get_named_gpio to get hdmi hpd gpio

2013-06-18 Thread Rahul Sharma
Thanks Mr. Dae, Please discard the REST of the patches in this series. I am posting a another patch-set which has all the patches independent of hdmiphy related changes. regards, Rahul Sharma. On Mon, Jun 17, 2013 at 8:22 AM, Inki Dae wrote: > Applied. > > Thanks, > Inki Dae >

[PATCH 0/4] exynos5420/hdmi: add support for hdmi subsystem

2013-06-18 Thread Rahul Sharma
kernel.org/cgit/linux/kernel/git/daeinki/drm-exynos.git. Rahul Sharma (4): drm/exynos: rename compatible strings for hdmi subsystem drm/exynos: add support for exynos5420 mixer drm/exynos: fix interlace resolutions for exynos5420 ARM/dts: change compatible strings for hdmi subsystem .../

[PATCH 1/4] drm/exynos: rename compatible strings for hdmi subsystem

2013-06-18 Thread Rahul Sharma
This patch renames the combatible strings for hdmi, mixer, ddc and hdmiphy. It follows the convention of using compatible string which represent the SoC in which the IP was added for the first time. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/video/exynos_hdmi.txt

[PATCH 2/4] drm/exynos: add support for exynos5420 mixer

2013-06-18 Thread Rahul Sharma
Add support for exynos5420 mixer IP in the drm mixer driver. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c | 49 + drivers/gpu/drm/exynos/regs-mixer.h |7 + 2 files changed, 44 insertions(+), 12 deletions(-) diff --git a

[PATCH 3/4] drm/exynos: fix interlace resolutions for exynos5420

2013-06-18 Thread Rahul Sharma
Modified code for calculating hdmi IP register values from drm timing values. The modification is based on the inputs from hw team and specifically proposed for 1440x576i and 1440x480i. But same changes holds good for other interlaced resolutions also. Signed-off-by: Rahul Sharma --- drivers

[PATCH 4/4] ARM/dts: change compatible strings for hdmi subsystem

2013-06-18 Thread Rahul Sharma
This patch renames the combatible strings for hdmi, mixer, ddc and hdmiphy. It follows the convention of using compatible string which represent the SoC in which the IP was added for the first time. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/cros5250-common.dtsi|4 ++-- arch/arm

[PATCH 5/5] clk/exynos5420: assign sclk_pixel id to pixel clock divider

2013-06-18 Thread Rahul Sharma
clock gate. Regards, Rahul Sharma. On Tue, Jun 18, 2013 at 8:03 PM, Rahul Sharma wrote: > sclk_pixel is used to represent pixel clock divider on all exynos > SoCs not as a gate clock. It is queried in driver to pass as the > parent to hdmi clock while switching between parents. A new ID

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

2013-06-19 Thread Rahul Sharma
+ mike On Tue, Jun 18, 2013 at 8:03 PM, Rahul Sharma wrote: > Add clock changes for hdmi subsystem for exynos5250 SoC. These > include addition of new clocks like mout_hdmi and smmu_tv, associating > ID to clk_hdmiphy and some essential corrections. > > This set is based on ku

[PATCH 2/4] drm/exynos: add support for exynos5420 mixer

2013-06-19 Thread Rahul Sharma
Sure Seung-Woo, I will update binding document along with this patch. regards, Rahul Sharma. On Wed, Jun 19, 2013 at 10:54 AM, ??? wrote: > Hi Rahul, > > Code part looks good to me but IMHO, binding document for exynos_mixer > is also fixed like following because compitable stri

[PATCH 1/5] clk/exynos5420: add sclk_hdmiphy to the list of special clocks

2013-06-18 Thread Rahul Sharma
Add sclk_hdmiphy to the list of exposed clocks. This is required by hdmi driver to change the parent of hdmi clock. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5420-clock.txt |1 + drivers/clk/samsung/clk-exynos5420.c |4 ++-- 2

<    1   2   3   4   5   6   7   >