Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-05-13 Thread Rahul Sharma
On 7 May 2014 21:03, Tomasz Figa wrote: > [CCing more DT-folks :)] > > On 07.05.2014 16:19, Rahul Sharma wrote: >> On 7 May 2014 19:06, Tomasz Stanislawski wrote: >>> On 05/07/2014 12:38 PM, Rahul Sharma wrote: >>>> On 5 May 2014 15:14, Kishon Vijay Abraha

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-05-07 Thread Rahul Sharma
On 7 May 2014 19:06, Tomasz Stanislawski wrote: > On 05/07/2014 12:38 PM, Rahul Sharma wrote: >> On 5 May 2014 15:14, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Wednesday 09 April 2014 03:31 PM, Sylwester Nawrocki wrote: >>>> Hi, >>>

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-05-07 Thread Rahul Sharma
On 5 May 2014 15:14, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 09 April 2014 03:31 PM, Sylwester Nawrocki wrote: >> Hi, >> >> On 09/04/14 11:12, Rahul Sharma wrote: >>> Idea looks good. How about keeping compatible which is independent >>>

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-04-30 Thread Rahul Sharma
Sure (5250, 5420). I will wait for the same to update DT patches, if any. Regards, Rahul Sharma. On 30 April 2014 14:02, Tomasz Stanislawski wrote: > Hi Rahul, > I will prepare we v3 version. > Do you want me to add your patches for exynos5?50 to the patchset? > Regards, > Toma

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-04-29 Thread Rahul Sharma
Hi Tomasz, I have tested your patches for exynos5250 and 5420. Works fine. Are you planning to post v3? If you want I can share hand with you for v3. Regards, Rahul Sharma On 9 April 2014 17:17, Andreas Oberritter wrote: > Hello Andrzej, > > On 09.04.2014 10:37, Andrzej Ha

Re: [PATCHv2 4/4] drm: exynos: hdmi: add support for pixel clock limitation

2014-04-15 Thread Rahul Sharma
On 15 April 2014 19:59, Tomasz Stanislawski wrote: > On 04/15/2014 03:42 PM, Rahul Sharma wrote: >> On 15 April 2014 18:41, Tomasz Stanislawski wrote: >>> On 04/15/2014 11:42 AM, Rahul Sharma wrote: >>>> Hi Tomasz, >>>> >>>> On 15 April 20

Re: [PATCHv2 4/4] drm: exynos: hdmi: add support for pixel clock limitation

2014-04-15 Thread Rahul Sharma
On 15 April 2014 18:41, Tomasz Stanislawski wrote: > On 04/15/2014 11:42 AM, Rahul Sharma wrote: >> Hi Tomasz, >> >> On 15 April 2014 14:57, Tomasz Stanislawski wrote: >>> Adds support for limitation of maximal pixel clock of HDMI >>> signal. This fe

Re: [PATCHv2 4/4] drm: exynos: hdmi: add support for pixel clock limitation

2014-04-15 Thread Rahul Sharma
diff --git a/include/media/s5p_hdmi.h b/include/media/s5p_hdmi.h > index 181642b..7272d65 100644 > --- a/include/media/s5p_hdmi.h > +++ b/include/media/s5p_hdmi.h > @@ -31,6 +31,7 @@ struct s5p_hdmi_platform_data { > int mhl_bus; > struct i2c_board_info *mhl

Re: [PATCHv2 2/3] drm: exynos: hdmi: use hdmiphy as PHY

2014-04-09 Thread Rahul Sharma
ase of clk it would be easier. If it is really required to change this divider, it should be registered as a clock provider in clock driver exposing single divider clock. Regards, Rahul Sharma > > Regards > Andrzej > > > ___

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-04-09 Thread Rahul Sharma
_provider; >> + >> + /* count number of phys to create */ >> + for (count = 0; offsets[count] != ~0; ++count) >> + ; > > count = ARRAY_SIZE(offsets) - 1; > >> + >> + phys = devm_kzalloc(dev, (count + 1) * sizeof(phys[0]), GFP_KERNE

[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

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

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

2013-01-13 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

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

2013-01-13 Thread Rahul Sharma
000..50e8564 --- /dev/null +++ b/sound/soc/codecs/exynos_hdmi_audio.c @@ -0,0 +1,307 @@ +/* + * ALSA SoC codec driver for HDMI audio on Samsung Exynos processors. + * Copyright (C) 2012 Samsung corp. + * Author: Rahul Sharma + * + * This program is free software; you can redistribute it and/or

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

2013-01-13 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 1/4] video: display: add event handling, set mode and hdmi ops to cdf core

2013-01-13 Thread Rahul Sharma
rface type (i2s/ spdif), SF, Audio Channels, BPS. set_audiostate: enable disable audio. Signed-off-by: Rahul Sharma --- drivers/video/display/display-core.c | 85 +++ include/video/display.h | 111 ++- 2 files changed, 193

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

2013-01-13 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 0/4] exynos-drm-hdmi driver to CDF complaint display driver

2013-01-13 Thread Rahul Sharma
ering hdmi-audio sound card. 2) Moving exynos_hdmi to driver/video/display Rahul Sharma (4): 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 drm hdmi driver to cdf framework alsa/soc

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

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

2012-10-04 Thread RAHUL SHARMA
Hi Mr. Tomasz, Mr. Park, list, First patch in the following set belongs to s5p-media, rest to exynos-drm. Please review the media patch so that It can be merged for mainline. regards, Rahul Sharma On Thu, Oct 4, 2012 at 9:12 PM, Rahul Sharma wrote: > From: Tomasz Stanislawski > > T

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

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