[PATCH v3 1/3] phy: Add exynos-simple-phy driver

2014-05-15 Thread Rahul Sharma
On 15 May 2014 19:11, Kishon Vijay Abraham I wrote: > > > On Thursday 15 May 2014 07:05 PM, Rahul Sharma wrote: >> Hi, >> >> On 15 May 2014 19:01, Bartlomiej Zolnierkiewicz >> wrote: >>> >>> Hi, >>> >>> On Thursday, May 15

[PATCH 1/3] drm: exynos: hdmi: add exynos5 support to mixer driver

2012-09-13 Thread RAHUL SHARMA
AM, Inki Dae wrote: > > -Original Message- > From: Joonyoung Shim [mailto:jy0922.shim at samsung.com] > Sent: Thursday, September 13, 2012 10:44 AM > To: Rahul Sharma > Cc: dri-devel at lists.freedesktop.org; sw0312.kim at samsung.com; > inki.dae at samsung.com; kyun

[PATCH 2/3] drm: exynos: hdmi: add exynos5 support to hdmi driver

2012-09-13 Thread RAHUL SHARMA
> Hi, Rahul. > > Overall, i think this patch causes messy codes. > > > On 09/12/2012 09:08 PM, Rahul Sharma wrote: >> >> Added support for exynos5 to hdmi driver. Resource init >> is splitted for exynos5 and exynos4. Exynos5 hdmi driver >> is dt based whil

[PATCH 3/3] drm: exynos: hdmi: clean dependency on plf data for mixer, hdmi context

2012-09-13 Thread RAHUL SHARMA
r context. > > > It is reasonable to me. This can remove struct exynos_drm_common_hdmi_pd. > > Thanks. > I am talking about exynos_drm_common_hdmi_pd only. With above change, it won't be required anymore. regards, Rahul Sharma > >> Signed-off-by: Ra

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

2012-09-28 Thread Rahul Sharma
This patch set adds the DT based support for Samsung's Exynos5250 in DRM-HDMI. It includes disabling of hdmi internal interrupt, suppport for platform variants for hdmi and mixer, support to disable video processor based on platform type and removal of drm common platform data. Rahul Shar

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

2012-09-28 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 02/14] drm: exynos: hdmi: support for platform variants

2012-09-28 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 04/14] drm: exynos: hdmi: use s5p-hdmi platform data

2012-09-28 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 03/14] drm: exynos: hdmi: fix interrupt handling

2012-09-28 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 06/14] drm: exynos: remove drm hdmi platform data struct

2012-09-28 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 05/14] drm: exynos: hdmi: turn off HPD interrupt in HDMI chip

2012-09-28 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 09/14] drm: exynos: hdmi: add support for platform variants for mixer

2012-09-28 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 07/14] drm: exynos: hdmi: add support for exynos5 ddc

2012-09-28 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 10/14] drm: exynos: hdmi: add support to disable video processor in mixer

2012-09-28 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 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

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

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

2013-04-29 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.sharma at samsung.com Samsung Research India, Bangalore. Regards, > - Seung-Woo Kim > > On 201

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

2013-04-29 Thread Rahul Sharma
On Mon, Apr 29, 2013 at 10:22 AM, Inki Dae wrote: > > Hi Rahul, > > > 2013/4/26 Rahul Sharma >> >> Right now hdmiphy operations and configs are kept inside hdmi driver. hdmiphy >> related code is tightly coupled with hdmi ip driver. Physicaly they are &

[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

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

2013-04-30 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 >>>

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.

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

2012-07-19 Thread RAHUL SHARMA
An HTML attachment was scrubbed... URL: -- next part -- A non-text attachment was scrubbed... Name: 201207191525531_BGFC2LL5.jpg Type: image/jpeg Size: 72722 bytes Desc: not

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

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

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

[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

[PATCH] drm/exynos: fix nested calls to lock mutex in drm resume

2014-04-30 Thread Rahul Sharma
From: Rahul Sharma While testing S2R on exynos board, system is hanging and rebooting due to nested mutex_lock calls in exynos drm resume callback. Changing the order of the calls is fixing the issue. Change-Id: I3f3ada8a413a414dca0bbac53cfc5fe3138af4d6 Signed-off-by: Rahul Sharma --- drivers

[PATCH] drm/exynos: fix nested calls to lock mutex in drm resume

2014-04-30 Thread Rahul Sharma
From: Rahul Sharma While testing S2R on exynos board, system is hanging and rebooting due to nested mutex_lock calls in exynos drm resume callback. Changing the order of the calls is fixing the issue. Signed-off-by: Rahul Sharma --- Based on exynos-drm-next branch in Inki Dae's tree. dr

[PATCH v2 0/7] drm/exynos: move hdmiphy related code to hdmiphy driver

2013-10-22 Thread Rahul Sharma
://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git Arch related paches are based on for-next branch at http://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git Rahul Sharma (7): drm/exynos: move hdmiphy code to hdmiphy i2c driver drm/exynos: remove dummy hdmiphy clock drm

[PATCH v2 1/7] drm/exynos: move hdmiphy code to hdmiphy i2c driver

2013-10-22 Thread Rahul Sharma
, exynos4212 and exynos5250. Signed-off-by: Rahul Sharma --- .../devicetree/bindings/video/exynos_hdmi.txt |2 + drivers/gpu/drm/exynos/Makefile|2 +- drivers/gpu/drm/exynos/exynos_hdmi.c | 362 - drivers/gpu/drm/exynos/exynos_hdmiphy.c

[PATCH v2 3/7] drm/exynos: add hdmiphy platform driver for exynos5420

2013-10-22 Thread Rahul Sharma
Exynos5420 hdmiphy device is a platform device, unlike predecessor SoCs where it used to be a I2C device. This support is added to the hdmiphy platform driver. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/Makefile |1 + drivers/gpu/drm/exynos/exynos_hdmi.c

[PATCH v2 4/7] drm/exynos: add hdmiphy pmu bit control in hdmiphy drivers

2013-10-22 Thread Rahul Sharma
Before hdmiphy operation like config, start etc, hdmiphy bit in PMU block should be enabled. Earlier this happens in hdmi driver through a dummy "hdmiphy" clock. Pmu bit control is added in both i2c and platform driver for exynos hdmiphy. Signed-off-by: Rahul Sharma --- .../devicetre

[PATCH v2 2/7] drm/exynos: remove dummy hdmiphy clock

2013-10-22 Thread Rahul Sharma
hdmiphy is a dummy clock which actually controls the PMU bit to enable/disable hdmiphy (before CCF). This clock is cleaned from the hdmi driver. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c |8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 6/7] ARM: dts: update hdmiphy dt node for exynos5250

2013-10-22 Thread Rahul Sharma
hdmiphy dt node needs a child node called 'phy-power-control' which represents the PMU register for power controlling the hdmiphy. hdmi driver dt node provides phy property which points to the hdmiphy dt node. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5250-smdk5250.

[PATCH v2 5/7] exynos/drm: fix ddc i2c device probe failure

2013-10-22 Thread Rahul Sharma
Exynos hdmi ddc is a I2C device and if we register hdmi ddc driver with id_table as NULL, cause failure in probing. id_table field should not be NULL for i2c_driver registeration. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_ddc.c |5 + 1 file changed, 5 insertions

[PATCH v2 7/7] ARM: dts: update hdmiphy dt node for exynos5420

2013-10-22 Thread Rahul Sharma
hdmiphy dt node needs a child node called 'phy-power-control' which represents the PMU register for power controlling the hdmiphy. hdmi driver dt node provides phy property which points to the hdmiphy dt node. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420.d

[PATCH v2 0/7] drm/exynos: move hdmiphy related code to hdmiphy driver

2013-10-29 Thread Rahul Sharma
n. regards, Rahul Sharma. > Thanks, > Inki Dae > > 2013/10/22 Rahul Sharma : >> Currently, exynos hdmiphy operations and configs are kept >> inside the hdmi driver. Hdmiphy related code is very tightly >> coupled with hdmi IP driver. With these patches, hdmiphy >

[PATCH 2/7] drm/exynos: Debounce HDMI hotplug interrupts

2014-04-03 Thread Rahul Sharma
: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 79f98ac..f6d4435 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c

[PATCH 1/5] drm/exynos: remove dummy hdmiphy clock from hdmi driver

2014-04-02 Thread Rahul Sharma
From: Rahul Sharma Exynos drm hdmi driver used to get dummy hdmiphy clock to control the PMU bit for hdmiphy. This clock is removed during CCF migration. This should also be cleaned from hdmi driver. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c |8 1 file

[PATCH 2/5] drm/exynos: use regmap interface to set hdmiphy control bit in pmu

2014-04-02 Thread Rahul Sharma
From: Rahul Sharma Hdmiphy control bit needs to be set before setting the resolution to hdmi hardware. This was handled using dummy hdmiphy clock which is removed now. PMU is already defined as system controller for exynos SoC. Registers of PMU are accessed using regmap interfaces. Devicetree

[PATCH 3/5] drm/exynos: remove unnecessary read for phy configuration values

2014-04-02 Thread Rahul Sharma
From: Rahul Sharma Cleaning up unnecessary i2c read call after hdmiphy configuration. This check is redundant since check for hdmiphy pll lock status confirms the correct settings for phy. Signed-off-by: Rahul Sharma Signed-off-by: Daniel Kurtz --- drivers/gpu/drm/exynos/exynos_hdmi.c | 10

[PATCH 5/5] drm/exynos: enable support for exynos5420 hdmi device

2014-04-02 Thread Rahul Sharma
From: Rahul Sharma Enable support for hdmi for exynos5420 hdmiphy. Add compatible string in the of_match table. Also added hdmiphy configuration values for exynos5420. Signed-off-by: Rahul Sharma Signed-off-by: Shirish S --- .../devicetree/bindings/video/exynos_hdmi.txt |1

[PATCH 0/7] drm/exynos: fixes for hdmi related issues

2014-04-03 Thread Rahul Sharma
From: Rahul Sharma Series is addressing various issues in the drm hdmi driver for exynos Soc. Based on Inki Dae's exynos-drm-next branch. Daniel Kurtz (1): drm/exynos: hdmi: remove unnecessary memset Paul Taysom (1): drm/exynos: check for null pointers in error handling Rahul Shar

[PATCH 1/7] drm/exynos: Don't reset hdmiphy on hdmi off

2014-04-03 Thread Rahul Sharma
-off-by: Sean Paul Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index f3189af..79f98ac 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c

[PATCH 3/7] drm/exynos: check for null pointers in error handling

2014-04-03 Thread Rahul Sharma
From: Paul Taysom Smatch error from arm build: drivers/gpu/drm/exynos/ exynos_hdmi.c:2374 hdmi_probe() error: potential NULL dereference 'hdata->hdmiphy_port'. Added check for hdata->hdmiphy_port that it is not NULL. Signed-off-by: Paul Taysom Signed-off-by: Rahul Sharma ---

[PATCH 5/7] drm/exynos: add hdmiphy power on/off sequence

2014-04-03 Thread Rahul Sharma
From: Shirish S This patch implements the power on/off sequence of HDMI PHY in exynos5420 and exynos5250 as provided by the hardware team. This has been verified for mulitple iterations of S2R. Signed-off-by: Shirish S Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c

[PATCH 7/7] drm/exynos: replace hdmi reset with hdmi disable

2014-04-03 Thread Rahul Sharma
changed. Signed-off-by: Rahul Sharma Signed-off-by: Shirish S --- drivers/gpu/drm/exynos/exynos_hdmi.c | 40 ++ 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index

[PATCH 0/5] drm/exynos: enable support for exynos5420 hdmi

2014-04-02 Thread Rahul Sharma
From: Rahul Sharma Adds apb mapped phy support for exynos5420 hdmi. Replace dummy hdmiphy clock with regmap calls. Based on Inki Dae's exynos-drm-next branch. Rahul Sharma (5): drm/exynos: remove dummy hdmiphy clock from hdmi driver drm/exynos: use regmap interface to set hdmiphy co

[PATCH 4/5] drm/exynos: add support for apb mapped phys in hdmi driver

2014-04-02 Thread Rahul Sharma
From: Rahul Sharma Previous SoCs have hdmi phys which are accessible through dedicated i2c lines. Newer SoCs have Apb mapped hdmi phys. Hdmi driver is modified to support apb mapped phys. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 142

[PATCH 4/7] drm/exynos: hdmi: remove unnecessary memset

2014-04-03 Thread Rahul Sharma
From: Daniel Kurtz Our resources were just zalloc'ed as part of hdata. They are already 0. Signed-off-by: Daniel Kurtz Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/dr

[PATCH 6/7] drm/exynos: Read hpd gpio in is_connected callback

2014-04-03 Thread Rahul Sharma
Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index b2cbf43..fce2f7b 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm

[PATCH 2/5] drm/exynos: use regmap interface to set hdmiphy control bit in pmu

2014-04-04 Thread Rahul Sharma
Thanks Inki, On 3 April 2014 21:23, Inki Dae wrote: > Hi Rahul, > > Thanks for contributions. > > 2014-04-03 2:13 GMT+09:00 Rahul Sharma : >> From: Rahul Sharma >> >> Hdmiphy control bit needs to be set before setting the resolution >> to hdmi hardwar

[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

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

[PATCH 1/5] drm/exynos: remove dummy hdmiphy clock from hdmi driver

2014-04-11 Thread Rahul Sharma
Hi Tomasz, On 10 April 2014 21:02, Tomasz Figa wrote: > Hi Rahul, > > On 02.04.2014 19:13, Rahul Sharma wrote: >> >> From: Rahul Sharma >> >> Exynos drm hdmi driver used to get dummy hdmiphy clock to >> control the PMU bit for hdmiphy. This clock is remov

[PATCH 2/5] drm/exynos: use regmap interface to set hdmiphy control bit in pmu

2014-04-11 Thread Rahul Sharma
Thanks Tomasz, This patch is not longer required after rebasing to Tomasz Stanislawski's Simple Phy patches. Regards, Rahul Sharma. On 10 April 2014 22:30, Tomasz Figa wrote: > Hi Rahul, > > On 02.04.2014 19:13, Rahul Sharma wrote: >> >> From: Rahul Sharma >>

[PATCH 4/5] drm/exynos: add support for apb mapped phys in hdmi driver

2014-04-11 Thread Rahul Sharma
Thanks Tomasz, On 10 April 2014 22:47, Tomasz Figa wrote: > Hi Rahul, > > On 02.04.2014 19:13, Rahul Sharma wrote: >> >> From: Rahul Sharma >> >> Previous SoCs have hdmi phys which are accessible through >> dedicated i2c lines. Newer SoCs have Apb mapped h

[Bug 74121] New: [3.15-rc1] Exynos: Sandbox report fatal error "Unexpected 64bit argument detected"

2014-04-15 Thread Rahul Sharma
-- Forwarded message -- From: Date: 15 April 2014 14:32 Subject: [Bug 74121] New: [3.15-rc1] Exynos: Sandbox report fatal error "Unexpected 64bit argument detected" To: dri-devel at lists.freedesktop.org https://bugzilla.kernel.org/show_bug.cgi?id=74121 Bug ID: 7412

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

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

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

2014-04-16 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, >>>> >>>&

[PATCH v2 2/3] drm/exynos: add support for apb mapped phys in hdmi driver

2014-04-20 Thread Rahul Sharma
From: Rahul Sharma Previous SoCs have hdmi phys which are accessible through dedicated i2c lines. Newer SoCs have Apb mapped hdmi phys. Hdmi driver is modified to support apb mapped phys. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 142

[PATCH] drm/exynos: enable fimd clocks in probe before accessing fimd registers

2014-04-20 Thread Rahul Sharma
From: Rahul Sharma Fimd probe is accessing fimd Registers without enabling the fimd gate clocks. This hangs the system at boot time. This issue got surfaced when verifying with sysmmu enabled. Probe of fimd Sysmmu enables the master clock before accessing sysmmu regs and then disables. Later

[PATCH v2 0/3] drm/exynos: enable support for exynos5420 hdmi

2014-04-20 Thread Rahul Sharma
From: Rahul Sharma V2: 1) Rebased on Tomasz Stanislawski at https://lkml.org/lkml/2014/4/8/226. Adds apb mapped phy support for exynos5420 hdmi. Replace dummy hdmiphy clock with regmap calls. Based on Inki Dae's exynos-drm-next branch. Rahul Sharma (3): drm/exynos: remove unnecessary

[PATCH v2 1/3] drm/exynos: remove unnecessary read for phy configuration values

2014-04-20 Thread Rahul Sharma
From: Rahul Sharma Cleaning up unnecessary i2c read call after hdmiphy configuration. This check is redundant since check for hdmiphy pll lock status confirms the correct settings for phy. Signed-off-by: Rahul Sharma Signed-off-by: Daniel Kurtz Reviewed-by: Tomasz Figa --- drivers/gpu/drm

[PATCH v2 3/3] drm/exynos: enable support for exynos5420 hdmi device

2014-04-20 Thread Rahul Sharma
From: Rahul Sharma Enable support for hdmi for exynos5420 hdmiphy. Add compatible string in the of_match table. Also added hdmiphy configuration values for exynos5420. Signed-off-by: Rahul Sharma Signed-off-by: Shirish S --- .../devicetree/bindings/video/exynos_hdmi.txt |1

[PATCH v2 0/3] drm/exynos: enable support for exynos5420 hdmi

2014-04-20 Thread Rahul Sharma
From: Rahul Sharma V2: 1) Rebased on Tomasz Stanislawski's Simple phy driver patches at https://lkml.org/lkml/2014/4/8/226. Adds apb mapped phy support for exynos5420 hdmi. Replace dummy hdmiphy clock with regmap calls. Based on Inki Dae's exynos-drm-next branch. Rahul Sharma

Adding set_blob ioctl to DRM

2014-02-20 Thread Rahul Sharma
alternatives do I have inside drm to set multiple parameters otherwise? (other than Exynos specific ioctls) Please guide me. Regards, Rahul Sharma.

Adding set_blob ioctl to DRM

2014-02-20 Thread Rahul Sharma
gree with you. I will define these as generic structures which are complete sets of parameters, required by standard color algorithms. Something like this: Color Reproduction: - R[r,g,b], G[r,g,b], B[r,g,b] - Cyan[r,g,b], Magenta[r,g,b], Yellow[r,g,b] - White[r,g,b] - B

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

2013-02-07 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

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

2013-02-27 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 >

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

2013-02-27 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
/msg34733.html http://www.mail-archive.com/dri-devel at lists.freedesktop.org/msg34861.html http://www.mail-archive.com/dri-devel at 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

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

2013-01-02 Thread Rahul Sharma
On Wed, Jan 2, 2013 at 6:05 AM, ??? wrote: > Hi Rahul, > > On 2012? 12? 28? 16:01, Rahul Sharma wrote: >> There's no need to allocate edid twice and do a memcpy when drm helpers >> exist to do just that. This patch cleans that interaction up, and >> doesn'

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

2013-01-02 Thread Rahul Sharma
There's no need to allocate edid twice and do a memcpy when drm helpers exist to do just that. This patch cleans that interaction up, and doesn't keep the edid hanging around in the connector. v2: - changed vidi_get_edid callback inside vidi driver. Signed-off-by: Sean Paul Signed-off

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

2013-01-03 Thread Rahul Sharma
On Wed, Jan 2, 2013 at 10:37 PM, Sean Paul wrote: > On Thu, Dec 27, 2012 at 6:38 AM, Rahul Sharma > wrote: >> This patch adds the display mode check operation to exynos_mixer_ops >> in drm-common-hdmi. In Exynos SoCs, mixer IP can put certain restrictions >> on the propo

<    1   2   3   4   5   6   7   >