Re: [PATCH 1/3] drm/exynos: free DP if probe fails to find a panel or bridge

2014-11-23 Thread Jingoo Han
On Saturday, November 22, 2014 2:40 AM, Ajay kumar wrote: On Fri, Nov 21, 2014 at 5:24 AM, Gustavo Padovan gust...@padovan.org wrote: From: Gustavo Padovan gustavo.pado...@collabora.co.uk DP was leaked everytime function returns EPROBE_DEFER, free it before returning. Signed-off-by:

[PATCH 0/5] fix error return code

2014-11-23 Thread Julia Lawall
The complate semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @ok exists@ identifier f,ret,i; expression e; constant c; @@ // identify a function that returns a negative return value at least once. f(...) { ... when any ( return -c@i; | ret = -c@i; ...

[PATCH 2/5] drm/exynos/ipp: fix error return code

2014-11-23 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Propagate the returned error code on failure. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression e1,e2; @@ ( if (\(ret 0\|ret != 0\)) { ... return ret; } |

Re: [PATCH v2 4/5] ARM: dts: add pinctrl support to Exynos5410

2014-11-23 Thread Andreas Färber
Am 22.11.2014 um 21:26 schrieb Andreas Färber: From: Hakjoo Kim ruppi@hardkernel.com Add the required pin configuration support to Exynos5410 using pinctrl interface. Signed-off-by: Hakjoo Kim ruppi@hardkernel.com [AF: Rebased, style changes] Signed-off-by: Andreas Färber

[PATCH v3 4/5] ARM: dts: add pinctrl support to Exynos5410

2014-11-23 Thread Andreas Färber
From: Hakjoo Kim ruppi@hardkernel.com Add the required pin configuration support to Exynos5410 using pinctrl interface. Signed-off-by: Hakjoo Kim ruppi@hardkernel.com [AF: Rebased, style changes] Signed-off-by: Andreas Färber afaer...@suse.de --- v2 - v3: * Added wake-up IRQ controller

[PATCH v4 0/5] exynos: Move pmu driver to driver/soc folder and add exynos7 support

2014-11-23 Thread Amit Daniel Kachhap
This patch series [1 - 5] performs, 1) Moves pmu driver to driver/soc/samsung folder. This is needed as exynos7 is an arm64 based platform and hence PMU driver should be in driver folder. Some discussion happened about this in the v1 version. Finally adding it in driver/soc folder as it

[PATCH v4 3/5] driver: soc: exynos-pmu: Add an API to be called after wakeup

2014-11-23 Thread Amit Daniel Kachhap
This patch adds an API exynos_sys_powerup_conf to be called after system sleep wakeup. This will useful for exynos7 SoC to perform resume related initialisations. This is similar to currently existing API exynos_sys_powerdown_conf. Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by:

[PATCH v4 4/5] drivers: soc: exynos-pmu: Add support for Exynos7

2014-11-23 Thread Amit Daniel Kachhap
Add PMU settings for exynos7. This is required for future suspend-to-ram, cpuidle and power domain support. Note: In this patch some static declarations lines are over 80 characters per line for easy redability. Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Eunseok Choi

[PATCH v4 2/5] drivers: soc: Add support for Exynos PMU driver

2014-11-23 Thread Amit Daniel Kachhap
This patch moves Exynos PMU driver implementation from arm/mach-exynos to drivers/soc/samsung. This driver is mainly used for setting misc bits of register from PMU IP of Exynos SoC which will be required to configure before Suspend/Resume. Currently all these settings are done in

Re: [PATCH v5 1/2] clk: samsung: exynos5440: move restart code into clock driver

2014-11-23 Thread amit daniel kachhap
On Sat, Nov 22, 2014 at 7:38 AM, Kukjin Kim kg...@kernel.org wrote: Pankaj Dubey wrote: Hi Kukjin, Hi, On Thursday 20 November 2014 11:18 PM, Sylwester Nawrocki wrote: On 19/11/14 04:37, Pankaj Dubey wrote: +static int exynos5440_clk_restart_notify(struct notifier_block *this, +

Re: [PATCH 01/11] pinctrl: exynos: Add BUS1 pin controller for exynos7

2014-11-23 Thread Vivek Gautam
Hi Alim, On Sat, Nov 22, 2014 at 7:07 PM, Alim Akhtar alim.akh...@gmail.com wrote: Hi Vivek, On Fri, Nov 21, 2014 at 7:05 PM, Vivek Gautam gautam.vi...@samsung.com wrote: USB and Power regulator on Exynos7 require gpios available in BUS1 pin controller block. So adding the BUS1 pinctrl

[PATCH V2 RESEND] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-11-23 Thread Vivek Gautam
DP PHY now require pmu-system-controller to handle PMU register to control PHY's power isolation. Adding the same to dp-phy node. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Reviewed-by: Jingoo Han jg1@samsung.com Tested-by: Javier Martinez Canillas javier.marti...@collabora.co.uk

[PATCH] ASoC: Arndale: Add machine device tree binding documentation for Arndale board

2014-11-23 Thread Krishna Mohan Dani
Document the device tree binding for the Arndale board based machine driver. Signed-off-by: Krishna Mohan Dani krishna...@samsung.com --- .../devicetree/bindings/sound/arndale.txt | 24 1 file changed, 24 insertions(+) create mode 100644

Re: [PATCH 2/4 V3] ASoC: Samsung: Add arndale_rt5631 machine driver

2014-11-23 Thread D Krishna Mohan
machine DT binding file added and patch sent. -Krishna -- From: Mark Brown broo...@kernel.org Sent: Wednesday, November 19, 2014 11:21 PM To: Krishna Mohan Dani krishna...@samsung.com Cc: linux-samsung-soc@vger.kernel.org;

Arndale Octa application on top of SPL not working

2014-11-23 Thread Devarsh Thakkar
Hi, Using Arndale Octa board from samsung ,Iam trying to develop an application myapp which will be run on top of bl2 (SPL). I create my own function(board_init_f()) for basic initialization (taking reference from uboot),which includes UART configuration.After compiling my code I am not getting

Re: [PATCH] ASoC: rt5631: Fixing compilation warning when DT is disabled

2014-11-23 Thread D Krishna Mohan
Attaching the patch with changes suggested by Uwe. Though there is another patch which I submitted, but I leave it to Mark Brown as to which patch to pick. Previous patch : From 80b55f898d0a31b63fd6ed3bd82c548a0559b07b Mon Sep 17 00:00:00 2001 From: Krishna Mohan Dani krishna...@samsung.com

[PATCH RESEND 2/7] ARM: Exynos: add support for sub-power domains

2014-11-23 Thread Andrzej Hajda
From: Marek Szyprowski m.szyprow...@samsung.com This patch adds support for making one power domain a sub-domain of other domain. This is useful for modeling power dependences for devices like TV Mixer or Camera ISP, which needs to have more than one power domain enabled to be operational.

[PATCH RESEND 5/7] ARM: dts: exynos4412-odroid: enable hdmi support

2014-11-23 Thread Andrzej Hajda
From: Marek Szyprowski m.szyprow...@samsung.com This patch adds nodes specific to Exynos4412 based Odroid X/X2/U2/U3 boards required for enabling HDMI display. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Andrzej Hajda a.ha...@samsung.com ---

[PATCH RESEND 4/7] ARM: dts: exynos4: add dependency between TV and LCD0 power domains

2014-11-23 Thread Andrzej Hajda
From: Marek Szyprowski m.szyprow...@samsung.com TV Mixer needs both TV and LCD0 domains enabled to be fully operational. This dependency is modelled by making TV power domains a sub-domain of LCD0 power domain. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Andrzej Hajda

[PATCH RESEND 0/7] Enable HDMI support on Exynos platforms

2014-11-23 Thread Andrzej Hajda
Hi Kukjin, In this resend I have added missing Signed-Offs, thanks for pointing it out. This set of patches enables HDMI support for two Exynos based platforms: UniversalC210 and Odroid. Beside DTS changes patchset adds parent domain support for Exynos PM domains and small but critical change in

[PATCH RESEND 3/7] ARM: dts: exynos4: add hdmi related nodes

2014-11-23 Thread Andrzej Hajda
From: Marek Szyprowski m.szyprow...@samsung.com This patch adds entries for HDMI, Mixer and i2c with hdmi-phy modules found in Exynos 4210 and 4x12 SoCs. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- arch/arm/boot/dts/exynos4.dtsi

[PATCH RESEND 1/7] clk: samsung: exynos4: set parent of sclk_hdmiphy to hdmi

2014-11-23 Thread Andrzej Hajda
sclk_hdmiphy clock is generated by HDMI-PHY and depends on hdmi gate clock. The patch models this dependency using parent/child hirerarchy. The patch fixes issue with system hangs during mixer device access, mixer uses sclk_hdmiphy descendant clock. Signed-off-by: Andrzej Hajda

[PATCH RESEND 7/7] ARM: dts: exynos5250: add display power domain

2014-11-23 Thread Andrzej Hajda
The patch adds domain definition and references to it in appropriate devices. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi

[PATCH RESEND 6/7] ARM: dts: exynos4210-universal_c210: enable hdmi support

2014-11-23 Thread Andrzej Hajda
From: Tomasz Stanislawski t.stanisl...@samsung.com This patch adds configuration of hw modules required to enable HDMI support on Universal C210 board. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Andrzej

Re: [PATCH 3/3] drm/exynos: move Exynos platform drivers registration to init

2014-11-23 Thread Inki Dae
On 2014년 11월 21일 08:42, Gustavo Padovan wrote: From: Gustavo Padovan gustavo.pado...@collabora.co.uk Registering the Exynos DRM subdevices platform drivers in the probe function is causing an infinite loop. Fix this by moving it to the exynos_drm_init() function to register the drivers on