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

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

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

2013-06-12 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

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

2013-06-16 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

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

2013-06-17 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 > &

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

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

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

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

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

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

2013-06-18 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

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

2013-06-18 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 0/5] clk/exynos5420: add clocks for hdmi subsystem

2013-06-18 Thread Rahul Sharma
linux-samsung.git. This set dependents on the following patches which add support for Exynos5420 http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg19264.html Rahul Sharma (5): clk/exynos5420: add sclk_hdmiphy to the list of special clocks clk/exynos5420: add gate clock for tv sysmmu

[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

[PATCH 2/5] clk/exynos5420: add gate clock for tv sysmmu

2013-06-18 Thread Rahul Sharma
Adding sysmmu clock for tv for exynos5420. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5420-clock.txt |1 + drivers/clk/samsung/clk-exynos5420.c |3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation

[PATCH 3/5] clk/exynos5420: fix the order of parents of hdmi mux

2013-06-18 Thread Rahul Sharma
Listing sclk_hdmiphy at 0th position in the list of parents is causing wrong configuration in reg SRC_DISP10. Signed-off-by: Rahul Sharma --- drivers/clk/samsung/clk-exynos5420.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b

[PATCH 4/5] clk/exynos5420: add hdmi mux to change parents in hdmi driver

2013-06-18 Thread Rahul Sharma
hdmi driver needs to change the parent of hdmi clock to pixel clock or hdmiphy clock, based on the stability of hdmiphy. This patch is exposing the mux for changing the parent. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/clock/exynos5420-clock.txt |5 + drivers/clk

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

2013-06-18 Thread Rahul Sharma
27;on'. Signed-off-by: Rahul Sharma --- drivers/clk/samsung/clk-exynos5420.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 59cf177..edd0696 100644 --- a/drivers/clk/samsung/clk-exynos54

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

2013-06-19 Thread Rahul Sharma
.com; >> s.nawro...@samsung.com; grant.lik...@linaro.org; Rahul Sharma >> Subject: Re: [PATCH 1/4] drm/exynos: rename compatible strings for hdmi >> subsystem >> >> Am Mittwoch, den 19.06.2013, 09:52 +0200 schrieb Tomasz Figa: >> > Hi Rahul, >> > >>

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

2013-06-19 Thread Rahul Sharma
On Wed, Jun 19, 2013 at 3:20 PM, Tomasz Figa wrote: > Hi Rahul, > > On Wednesday 19 of June 2013 15:02:59 Rahul Sharma wrote: >> Hi All, >> >> On Wed, Jun 19, 2013 at 1:57 PM, Inki Dae wrote: >> >> -Original Message- >>

Re: [PATCH v3 3/3] ARM/dts: change compatible strings for hdmi subsystem

2013-06-19 Thread Rahul Sharma
Thanks Mr. Kim, I will post v4 with aforesaid change. regards, Rahul Sharma. On Wed, Jun 19, 2013 at 7:22 PM, Kukjin Kim wrote: > On 06/19/13 22:50, Kukjin Kim wrote: >> >> On 06/19/13 21:51, Rahul Sharma wrote: >>> >>> This patch renames the combatible str

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

2013-06-19 Thread Rahul Sharma
Add support for exynos5420 mixer IP in the drm mixer driver. Signed-off-by: Rahul Sharma --- .../devicetree/bindings/video/exynos_mixer.txt |1 + drivers/gpu/drm/exynos/exynos_mixer.c | 49 +++- drivers/gpu/drm/exynos/regs-mixer.h|7

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

2013-06-19 Thread Rahul Sharma
)update device mixer tree binding document with "samsung,exynos5420-mixer" Rahul Sharma (3): drm/exynos: add new compatible strings for hdmi subsystem drm/exynos: add support for exynos5420 mixer ARM/dts: change compatible strings for hdmi subsystem .../devicetree/bindings/vid

[PATCH v3 1/3] drm/exynos: add new compatible strings for hdmi subsystem

2013-06-19 Thread Rahul Sharma
strings in device tree is deprecated. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/video/exynos_hdmi.txt |7 +-- .../devicetree/bindings/video/exynos_hdmiddc.txt |7 +-- .../devicetree/bindings/video/exynos_hdmiphy.txt |7

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

2013-06-19 Thread Rahul Sharma
Add support for exynos5420 mixer IP in the drm mixer driver. Signed-off-by: Rahul Sharma --- .../devicetree/bindings/video/exynos_mixer.txt |1 + drivers/gpu/drm/exynos/exynos_mixer.c | 49 +++- drivers/gpu/drm/exynos/regs-mixer.h|7

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

2013-06-19 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

Re: [PATCH v3 1/3] drm/exynos: add new compatible strings for hdmi subsystem

2013-06-19 Thread Rahul Sharma
Hi Tomasz, Lucas, How does this patch look to you ? Please share your views. regards, Rahul Sharma. On Wed, Jun 19, 2013 at 6:21 PM, Rahul Sharma wrote: > This patch adds new combatible strings for hdmi, mixer, ddc > and hdmiphy. It follows the convention of using compatible string &

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

2013-06-20 Thread Rahul Sharma
On Fri, Jun 21, 2013 at 10:02 AM, Mike Turquette wrote: > Quoting Kukjin Kim (2013-06-19 07:01:17) >> On 06/19/13 13:04, Rahul Sharma wrote: >> > + mike >> > >> Mike, I'm waiting for your reply on this. If you're OK, let me take this >> series on

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

2013-06-20 Thread Rahul Sharma
+Mike On Mon, Jun 10, 2013 at 4:17 PM, Rahul Sharma wrote: > 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 > wrot

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

2013-06-20 Thread Rahul Sharma
+Mike On Mon, Jun 10, 2013 at 4:30 PM, Rahul Sharma wrote: > hdmi driver needs to change the parent of hdmi clock > frequently between pixel clock and hdmiphy clock. hdmiphy is > not stable after power on and for a short interval while changing > the phy configuration. For this du

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

2013-06-20 Thread Rahul Sharma
+Mike On Mon, Jun 10, 2013 at 4:31 PM, Rahul Sharma wrote: > 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/bind

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

2013-06-20 Thread Rahul Sharma
+Mike On Mon, Jun 10, 2013 at 4:31 PM, Rahul Sharma wrote: > 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 > --- > Doc

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

2013-06-20 Thread Rahul Sharma
+Mike On Mon, Jun 10, 2013 at 4:31 PM, Rahul Sharma wrote: > 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-b

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

2013-06-20 Thread Rahul Sharma
+Mike On Tue, Jun 18, 2013 at 8:03 PM, Rahul Sharma wrote: > 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/exynos542

Re: [PATCH 2/5] clk/exynos5420: add gate clock for tv sysmmu

2013-06-20 Thread Rahul Sharma
+Mike On Tue, Jun 18, 2013 at 8:03 PM, Rahul Sharma wrote: > Adding sysmmu clock for tv for exynos5420. > > Signed-off-by: Rahul Sharma > --- > Documentation/devicetree/bindings/clock/exynos5420-clock.txt |1 + > drivers/clk/samsung/clk-exynos5420.c

Re: [PATCH 3/5] clk/exynos5420: fix the order of parents of hdmi mux

2013-06-20 Thread Rahul Sharma
+Mike On Tue, Jun 18, 2013 at 8:03 PM, Rahul Sharma wrote: > Listing sclk_hdmiphy at 0th position in the list of parents is > causing wrong configuration in reg SRC_DISP10. > > Signed-off-by: Rahul Sharma > --- > drivers/clk/samsung/clk-exynos5420.c |2 +- > 1 file

Re: [PATCH 4/5] clk/exynos5420: add hdmi mux to change parents in hdmi driver

2013-06-20 Thread Rahul Sharma
+Mike On Tue, Jun 18, 2013 at 8:03 PM, Rahul Sharma wrote: > hdmi driver needs to change the parent of hdmi clock > to pixel clock or hdmiphy clock, based on the stability > of hdmiphy. This patch is exposing the mux for changing > the parent. > > Signed-of

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

2013-06-20 Thread Rahul Sharma
+Mike On Tue, Jun 18, 2013 at 7:54 PM, Rahul Sharma wrote: > With this patch, it is at par with Exynos5250 and Exynos4 clocks > where sclk_pixel ID is assigned to a divider clock but in real, > sclk_pixel is listed under gate clocks (enum value). > > Alternate to this, I can al

Re: [PATCH v3 3/3] ARM/dts: change compatible strings for hdmi subsystem

2013-06-20 Thread Rahul Sharma
Thanks Mr. Dae, nothing else for this series. On Fri, Jun 21, 2013 at 10:47 AM, Inki Dae wrote: > > > > 2013/6/20 Rahul Sharma >> >> Thanks Mr. Kim, >> >> I will post v4 with aforesaid change. >> > > You don't need to re-post it. I gonna c

[PATCH v2 0/8] ARM: dts: exynos5420: add support for hdmi subsystem

2013-06-21 Thread Rahul Sharma
properties to exynos5.dtsi 3) moved hpd pinctrl node to board file. 4) Added Sachin's patch to update binding document for hdmi with hpd information. Andrew Bresticker (1): ARM: dts: exynos5420: add i2c device nodes Rahul Sharma (6): ARM: dts: exynos5250: move common i2c properties to exynos5

[PATCH v2 1/8] ARM: dts: exynos5250: move common i2c properties to exynos5 dtsi

2013-06-21 Thread Rahul Sharma
I2C nodes shares many properties across exynos5 SoCs (exynos5250 and exyno5420). Common code is moved to exynos5.dtsi which is included in exyno5250 and exynos5420 SoC files. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5.dtsi| 36 + arch/arm

[PATCH v2 2/8] ARM: dts: exynos5420: add i2c device nodes

2013-06-21 Thread Rahul Sharma
From: Andrew Bresticker This adds device-tree nodes for the i2c busses on Exynos 5420 platforms. Signed-off-by: Andrew Bresticker Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm

[PATCH v2 3/8] ARM: dts: exynos5250: move common hdmi properties to exynos5 dtsi

2013-06-21 Thread Rahul Sharma
: Rahul Sharma --- arch/arm/boot/dts/cros5250-common.dtsi|2 +- arch/arm/boot/dts/exynos5.dtsi| 12 arch/arm/boot/dts/exynos5250-arndale.dts |7 ++- arch/arm/boot/dts/exynos5250-smdk5250.dts |7 ++- arch/arm/boot/dts/exynos5250-snow.dts

[PATCH v2 4/8] ARM: dts: exynos5420: add dt nodes for hdmi subsystem

2013-06-21 Thread Rahul Sharma
Add hdmi, mixer, ddc device tree nodes for Exynos 5420 SoC. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 20 arch/arm/boot/dts/exynos5420.dtsi |8 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v2 5/8] ARM: dts: exynos5420: add clocks for hdmi subsystem

2013-06-21 Thread Rahul Sharma
Add clocks for hdmi and mixer for exynos5420 SoC. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 93caef7..5fa4093 100644 --- a/arch/arm

[PATCH v2 6/8] ARM: dts: exynos5420: add hdmi hpd gpio pinctrl node

2013-06-21 Thread Rahul Sharma
Add pinctrl node for hdmi-hpd gpio pin to exynos5420 device tree files. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420

[PATCH v2 7/8] of/documentation: Update hpd gpio property for exynos_hdmi

2013-06-21 Thread Rahul Sharma
From: Sachin Kamat Exynos SoCs use pinctrl to configure GPIOs. Update the document to reflect this change. Signed-off-by: Sachin Kamat Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/video/exynos_hdmi.txt |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff

[PATCH v2 8/8] of/documentation: update with clock information for exynos hdmi subsystem

2013-06-21 Thread Rahul Sharma
Adding information about clocks to the binding documentation for exynos mixer and hdmi. Signed-off-by: Rahul Sharma --- Documentation/devicetree/bindings/video/exynos_hdmi.txt | 14 +- Documentation/devicetree/bindings/video/exynos_mixer.txt |4 2 files changed, 17

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

2013-06-23 Thread Rahul Sharma
Thanks Mike. I will rebase these patches to v3.11-next/samsung-clk branch and post v2. regards, Rahul Sharma. On Fri, Jun 21, 2013 at 10:13 PM, Mike Turquette wrote: > Quoting Rahul Sharma (2013-06-20 21:47:35) >> On Fri, Jun 21, 2013 at 10:02 AM, Mike Turquette >> wrote: >

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

2013-06-23 Thread Rahul Sharma
Hi Mr. Kim, v3.11-next/soc-exynos5420 seems correct branch for it, not v3.11-next/samsung-clk. In this case rebasing is not required. It cleanly applies there. regards, Rahul Sharma. On Mon, Jun 24, 2013 at 9:33 AM, Rahul Sharma wrote: > Thanks Mike. > > I will rebase these patches

[PATCH 0/3] drm/exynos: add runtime pm support for hdmi and mixer.

2012-12-14 Thread Rahul Sharma
Hi All, Kindly review the following patch set for Runtime PM Changes for Mixer and Hdmi. regards, Rahul Sharma On Wed, Nov 28, 2012 at 11:30 AM, Rahul Sharma wrote: > This patch set adds support for runtime power management for hdmi and > mixer devices. Its also adds support for h

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

2012-12-18 Thread Rahul Sharma
refresh rates enabled as a result to this exercise. Rahul Sharma (2): drm/exynos: hdmi: add support for extra permissable resolutions drm/exynos: mixer: add support for extra resolutions drivers/gpu/drm/exynos/exynos_hdmi.c | 1004 - drivers/gpu/drm/exynos

[PATCH 1/2] drm/exynos: hdmi: add support for extra permissable resolutions

2012-12-18 Thread Rahul Sharma
rates. It also reduces the duplication of the timing data. Signed-off-by: Rahul Sharma Signed-off-by: Sean Paul Signed-off-by: Shirish S Signed-off-by: Akshay Saraswat --- drivers/gpu/drm/exynos/exynos_hdmi.c | 1004 -- 1 files changed, 354 insertions(+), 650

[PATCH 2/2] drm/exynos: mixer: add support for extra resolutions

2012-12-18 Thread Rahul Sharma
Extend the mixer configuration to include more resolutions that can be generated by the mixer. This adds 640x480, 720x576 and 1680x1050. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_mixer.c |8 1 files changed, 4 insertions(+), 4 deletions

[PATCH 1/2] drm/exynos: hdmi: add support for extra permissable resolutions

2012-12-19 Thread Rahul Sharma
On Tue, Dec 18, 2012 at 8:35 PM, Sean Paul wrote: > On Tue, Dec 18, 2012 at 9:12 AM, Rahul Sharma > wrote: >> Program the core and timing generator registers using the timing data >> provided in drm_display_mode instead of using hardcoded configurations. >> This a

[PATCH 1/2] drm/exynos: hdmi: add support for extra permissable resolutions

2012-12-20 Thread Rahul Sharma
On Wed, Dec 19, 2012 at 8:14 PM, Sean Paul wrote: > On Wed, Dec 19, 2012 at 12:06 AM, Rahul Sharma wrote: >> On Tue, Dec 18, 2012 at 8:35 PM, Sean Paul wrote: >>> On Tue, Dec 18, 2012 at 9:12 AM, Rahul Sharma >>> wrote: >>>> Program the core and timi

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

2012-12-27 Thread Rahul Sharma
the display mode. 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 struct drm/exynos: implement display-mode-check callbac

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

2012-12-27 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 | 3 +++ 2 files changed, 15 insertions(+) diff --git

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

2012-12-27 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 3/4] drm/exynos: mixer: set correct mode for range of resolutions

2012-12-27 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 4/4] drm/exynos: hdmi: support extra resolutions using drm_display_mode timings

2012-12-27 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] drm/exynos: let drm handle edid allocations

2012-12-28 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. Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma --- This patch is based on branch &

Adding set_blob ioctl to DRM

2014-03-05 Thread Rahul Sharma
). And at last, it looks more complete and appropriate to provide writable blobs just like other KMS property. I am ready with RFC and posting it today. We can also continue this discussion in RFC thread. Regards, Rahul Sharma. On 4 March 2014 23:09, Bob Paauwe wrote: > On Tue, 4 Mar 2014 09:35

[RFC 2/4] drm: add ioctl to write into binary blob KMS properties

2014-03-06 Thread Rahul Sharma
ned-off-by: Rahul Sharma --- drivers/gpu/drm/drm_crtc.c | 73 ++- drivers/gpu/drm/drm_drv.c |1 + include/drm/drm_crtc.h |2 ++ include/uapi/drm/drm.h |1 + include/uapi/drm/drm_mode.h |8 + 5 files changed, 84 insert

[RFC 0/4] drm: add generic KMS blob properties for image enhancement

2014-03-06 Thread Rahul Sharma
From: Rahul Sharma Patch set has following proposal. 1) Add writable KMS blob properties patch 1: drm: allow to create blank writable blob properties patch 2: drm: add ioctl to write into binary blob KMS properties 2) Add generic image enhancement properties. Added as per

[RFC 1/4] drm: allow to create blank writable blob properties

2014-03-06 Thread Rahul Sharma
can be filled by user application through set_blob ioctl. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/drm_crtc.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 35ea15d..9a2215c 100644 --- a/drivers/gpu

[RFC 3/4] drm: add generic blob properties for image enhancement

2014-03-06 Thread Rahul Sharma
Add generic KMS blob properties to core drm framework. These are writable blob properties which can be used to set Image Enhancement parameters. The properties which are added here are meant for color reproduction, color saturation and edge enhancement. Signed-off-by: Rahul Sharma --- drivers

[RFC 4/4] drm: export create and destroy function for blob properties

2014-03-06 Thread Rahul Sharma
Drm drivers can also create and attach private blob properties. This patch exports functions to create and destroy blob properties. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/drm_crtc.c |8 +--- include/drm/drm_crtc.h |4 2 files changed, 9 insertions(+), 3 deletions

[RFC 0/4] drm: add generic KMS blob properties for image enhancement

2014-03-06 Thread Rahul Sharma
From: Rahul Sharma Patch set has following proposal. 1) Add writable KMS blob properties patch 1: drm: allow to create blank writable blob properties patch 2: drm: add ioctl to write into binary blob KMS properties 2) Add generic image enhancement properties. Added as per

[RFC 1/4] drm: allow to create blank writable blob properties

2014-03-06 Thread Rahul Sharma
can be filled by user application through set_blob ioctl. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/drm_crtc.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 35ea15d..9a2215c 100644 --- a/drivers/gpu

[RFC 2/4] drm: add ioctl to write into binary blob KMS properties

2014-03-06 Thread Rahul Sharma
ned-off-by: Rahul Sharma --- drivers/gpu/drm/drm_crtc.c | 73 ++- drivers/gpu/drm/drm_drv.c |1 + include/drm/drm_crtc.h |2 ++ include/uapi/drm/drm.h |1 + include/uapi/drm/drm_mode.h |8 + 5 files changed, 84 insert

[RFC 3/4] drm: add generic blob properties for image enhancement

2014-03-06 Thread Rahul Sharma
Add generic KMS blob properties to core drm framework. These are writable blob properties which can be used to set Image Enhancement parameters. The properties which are added here are meant for color reproduction, color saturation and edge enhancement. Signed-off-by: Rahul Sharma --- drivers

[RFC 4/4] drm: export create and destroy function for blob properties

2014-03-06 Thread Rahul Sharma
Drm drivers can also create and attach private blob properties. This patch exports functions to create and destroy blob properties. Signed-off-by: Rahul Sharma --- drivers/gpu/drm/drm_crtc.c |8 +--- include/drm/drm_crtc.h |4 2 files changed, 9 insertions(+), 3 deletions

[RFC 3/4] drm: add generic blob properties for image enhancement

2014-03-07 Thread Rahul Sharma
Hi Daniel, On 7 March 2014 14:06, Daniel Vetter wrote: > On Thu, Mar 06, 2014 at 11:42:13AM +0530, Rahul Sharma wrote: >> Add generic KMS blob properties to core drm framework. These >> are writable blob properties which can be used to set Image >> Enhancement parameters.

[RFC 3/4] drm: add generic blob properties for image enhancement

2014-03-10 Thread Rahul Sharma
On 8 March 2014 06:16, Matt Roper wrote: > On Fri, Mar 07, 2014 at 03:50:54PM +0530, Rahul Sharma wrote: >> Hi Daniel, >> >> On 7 March 2014 14:06, Daniel Vetter wrote: >> > On Thu, Mar 06, 2014 at 11:42:13AM +0530, Rahul Sharma wrote: >> >> Add generic

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

2014-05-06 Thread Rahul Sharma
Hi Everybody, Gentle ping. Please have a look at the patches in this series? There are few more in pipeline. Please consider these as well. http://comments.gmane.org/gmane.linux.kernel.samsung-soc/30501 http://www.spinics.net/lists/linux-samsung-soc/msg28083.html Warm Regards, Rahul Sharma On

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

[PATCH] drm/exynos: use 4WORD dma burst length for small fbs

2014-05-07 Thread Rahul Sharma
From: Rahul Sharma In case of exynos, setting dma-burst to 16Word causes permanent tearing for very small buffers, e.g. cursor buffer. Burst Mode switching, which is based on overlay size is not recommended as overlay size varies a lot towards the end of the screen. This causes unstable DMA

[PATCH] drm/exynos: allocate non-contigous buffers when iommu is enabled

2014-05-07 Thread Rahul Sharma
From: Rahul Sharma Allow to allocate non-contigous buffers when iommu is enabled. Currently, it tries to allocates contigous buffer which consistently fail for large buffers and then fall back to non contigous. Apart from being slow, this implementation is also very noisy and fills the screen

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

[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

[PATCH v3 2/3] drm: exynos: hdmi: use hdmiphy as PHY

2014-05-15 Thread Rahul Sharma
awski Signed-off-by: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 9a6d652..ef1cdd0 100644 --- a/drivers/gpu/drm/exynos/exynos_h

[PATCH v3 3/3] s5p-tv: hdmi: use hdmiphy as PHY

2014-05-15 Thread Rahul Sharma
awski Signed-off-by: Rahul Sharma --- drivers/media/platform/s5p-tv/hdmi_drv.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/media/platform/s5p-tv/hdmi_drv.c b/drivers/media/platform/s5p-tv/hdmi_drv.c index 534722c..8013e52 100644 --- a/drivers/media/pla

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

2014-05-15 Thread Rahul Sharma
From: Tomasz Stanislawski Add exynos-simple-phy driver to support a single register PHY interfaces present on Exynos4 SoC. Signed-off-by: Tomasz Stanislawski Signed-off-by: Rahul Sharma --- .../devicetree/bindings/phy/samsung-phy.txt| 56 ++ drivers/phy/Kconfig

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

2014-05-15 Thread Rahul Sharma
From: Rahul Sharma Hi All, This series has been originally proposed by Tomasz Stanislawski. With his permission, I have addressed the following review comments in V3. Changelog: v3: * Implement lazy-init of PHYs. * Use MACROs instead of numbers to represent phys. * Use

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

2014-05-15 Thread Rahul Sharma
stem_controller: system-controller at 1004 { ... simple_phys: simple-phys { compatible = "samsung,exynos5420-simple-phy"; ... }; }; Regards, Rahul Sharma. > Otherwise looks good. > > Best regards, > Tomasz > ___

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

2014-05-15 Thread Rahul Sharma
Hi Thierry, On 15 May 2014 03:44, Thierry Reding wrote: > On Thu, May 15, 2014 at 12:47:21AM +0530, Rahul Sharma wrote: > [...] >> diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt >> b/Documentation/devicetree/bindings/phy/samsung-phy.txt > [...] >&g

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

2014-05-15 Thread Rahul Sharma
On 15 May 2014 13:12, Thierry Reding wrote: > On Thu, May 15, 2014 at 10:49:37AM +0530, Rahul Sharma wrote: >> Hi Thierry, >> >> On 15 May 2014 03:44, Thierry Reding wrote: >> > On Thu, May 15, 2014 at 12:47:21AM +0530, Rahul Sharma wrote: > [...] >> &g

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

2014-05-15 Thread Rahul Sharma
Hi, On 15 May 2014 19:01, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Thursday, May 15, 2014 12:47:21 AM Rahul Sharma wrote: >> From: Tomasz Stanislawski >> >> Add exynos-simple-phy driver to support a single register >> PHY interfaces present on Exyn

<    1   2   3   4   5   6   7   >