[PATCH v6 2/2] DT: exynos: update PMU binding

2015-03-11 Thread Marc Zyngier
Document the fact that some Exynos PMUs are capable of acting as an interrupt controller. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 17 + 1 file changed, 17 insertions(+) diff --git

[PATCH v6 0/2] irqchip: Move Exynos PM to use stacked domains

2015-03-11 Thread Marc Zyngier
This series is extracted from [4], which is trying to remove all traces of gic_arch_extn from the tree. As some maintainers are more responsive than others (understatement of the year...), I've decided to split it per sub-arch, and get it moving, at least partially. This series addresses Exynos

[PATCH v6 1/2] ARM: exynos4/5: convert pmu wakeup to stacked domains

2015-03-11 Thread Marc Zyngier
Exynos has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does just this, updating the DT files to actually reflect what the HW provides. BIG FAT WARNING: because the DTs were so far

Re: [PATCH v2] ARM: EXYNOS: Use platform device name as power domain name

2015-03-11 Thread Kevin Hilman
Krzysztof Kozlowski k.kozlow...@samsung.com writes: The power domain nodes in DTS may be very generic (e.g. power-domain for Exynos 5420) making it very hard to debug: $ cat /sys/kernel/debug/pm_genpd/pm_genpd_summary domain status slaves power-domain

[PATCH 5/7] exynos: add exynos prefix to fimg2d header

2015-03-11 Thread Tobias Jakobi
Signed-off-by: Tobias Jakobi tjak...@math.uni-bielefeld.de Reviewed-by: Inki Dae inki@samsung.com Tested-by: Joonyoung Shim jy0922.s...@samsung.com --- exynos/Makefile.am| 2 +- exynos/exynos_fimg2d.c| 2 +- exynos/exynos_fimg2d.h| 322

Re: [v3] libdrm: improvements to userspace exynos component

2015-03-11 Thread Emil Velikov
On 11 March 2015 at 13:31, Inki Dae inki@samsung.com wrote: Hi, On 2015년 02월 24일 23:20, Tobias Jakobi wrote: Hello, here are some miscellaneous improvements (small features, bugfixes, spelling fixes, etc.) for the exynos component of libdrm. The general idea is to let userspace use

[PATCH 6/7] exynos: add fimg2d header to common includes

2015-03-11 Thread Tobias Jakobi
The reason for this change is to let userspace use the header. Currently 'make install' does not install it. Signed-off-by: Tobias Jakobi tjak...@math.uni-bielefeld.de Reviewed-by: Inki Dae inki@samsung.com Tested-by: Joonyoung Shim jy0922.s...@samsung.com --- exynos/Makefile.am | 3 +-- 1

Re: [PATCH v2] clk: samsung: Add CLKOUT driver support for Exynos3250 SoC.

2015-03-11 Thread Stephen Boyd
On 03/01/15 18:15, Inha Song wrote: This patch add CLKOUT driver support for Exynos3250 SoC. Exynos3250 SoC PMU_DEBUG is the same with Exynos4's PMU_DEBUG including CLKOUT mux. So, We can use the exynos4's clkout init function for Exynos3250 without the need to add new function.

Re: ARCH_EXYNOS5433 missing in Kconfig

2015-03-11 Thread Valentin Rothberg
On Wed, Mar 11, 2015 at 2:10 AM, Chanwoo Choi cw00.c...@samsung.com wrote: Hi Valentin, I sent the Exynos5433 clock patch and then separately I'm sending the Exynos5433 devicetree patch-set[1]. [1] [PATCH v6 0/9] arm64: Add the support for new Exynos5433 SoC -

[PATCH v4 1/3] ARM: EXYNOS: Add missing static to file-scope declarations

2015-03-11 Thread Krzysztof Kozlowski
The 'pm_data', 'exynos_release_ret_regs', 'exynos3250_release_ret_regs' and 'exynos5420_release_ret_regs' are not exported nor used outside of suspend.c file. Make them static. This fixes following sparse warnings: arch/arm/mach-exynos/suspend.c:83:23: warning: symbol 'pm_data' was not declared.

[PATCH v4 3/3] ARM: EXYNOS: Remove left over 'extra_save'

2015-03-11 Thread Krzysztof Kozlowski
Since 32b0aa9aaeb4 (ARM: EXYNOS: Remove i2c sys configuration related code) the Exynos 5250 no longer saves additional registers under 'exynos_pm_data.extra_save' field. No one else uses this code so get rid of it making also 'exynos_pm_data' const everywhere. Signed-off-by: Krzysztof Kozlowski

[PATCH v4 2/3] ARM: EXYNOS: Constify exynos_pm_data array

2015-03-11 Thread Krzysztof Kozlowski
The 'exynos5420_pm_data' is not modified and can be made const. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Reviewed-by: Pankaj Dubey pankaj.du...@samsung.com --- Notes: Changes since v3: 1. The 'of_device_id' was already constifyied by Uwe Kleine-König. Changes

Re: [PATCH v2] ARM: EXYNOS: Use platform device name as power domain name

2015-03-11 Thread Chanwoo Choi
On 03/11/2015 06:54 PM, Krzysztof Kozlowski wrote: The power domain nodes in DTS may be very generic (e.g. power-domain for Exynos 5420) making it very hard to debug: $ cat /sys/kernel/debug/pm_genpd/pm_genpd_summary domain status slaves power-domain

[PATCH v2] ARM: EXYNOS: Fix failed second suspend on Exynos4

2015-03-11 Thread Krzysztof Kozlowski
On Exynos4412 boards (Trats2, Odroid U3) after enabling L2 cache in 56b60b8bce4a (ARM: 8265/1: dts: exynos4: Add nodes for L2 cache controller) the second suspend to RAM failed. First suspend worked fine but the next one hang just after powering down of secondary CPUs (system consumed energy as it

Re: [PATCH v2] ARM: EXYNOS: Fix failed second suspend on Exynos4

2015-03-11 Thread Krzysztof Kozlowski
On śro, 2015-03-11 at 11:20 +0100, Krzysztof Kozlowski wrote: On Exynos4412 boards (Trats2, Odroid U3) after enabling L2 cache in 56b60b8bce4a (ARM: 8265/1: dts: exynos4: Add nodes for L2 cache controller) the second suspend to RAM failed. First suspend worked fine but the next one hang just

Re: [PATCH v3 14/17] exynos: fimg2d: fix comment for G2D_COEFF_MODE_GB_COLOR

2015-03-11 Thread Inki Dae
Hi Tobias, On 2015년 02월 24일 23:20, Tobias Jakobi wrote: The coefficient mode enables use of global color, not alpha. Signed-off-by: Tobias Jakobi tjak...@math.uni-bielefeld.de --- exynos/exynos_fimg2d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [v3] libdrm: improvements to userspace exynos component

2015-03-11 Thread Inki Dae
Hi, On 2015년 02월 24일 23:20, Tobias Jakobi wrote: Hello, here are some miscellaneous improvements (small features, bugfixes, spelling fixes, etc.) for the exynos component of libdrm. The general idea is to let userspace use the G2D engine functionality more efficiently. If someone is

Re: [PATCH RESEND] usb: dwc2: rework initialization of host and gadget in dual-role mode

2015-03-11 Thread John Youn
On 3/10/2015 5:41 AM, Marek Szyprowski wrote: If device is configured to work only in HOST or DEVICE mode, there is no point in initializing both subdrivers. This patch also fixes resource leakage if host subdriver fails to initialize. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com

[GIT PULL] Exynos fixes for v4.0

2015-03-11 Thread Krzysztof Kozlowski
Dear Kukjin, This groups important fixes for this v4.0-rc cycle. I hope you will find useful such grouping them in a pull request. 1. Fix second suspend to RAM on Trats2 board. This has shown up after enabling L2 cache but actually the use delayed reset assertion is to be blamed. 2. Fix

[GIT PULL] Exynos changes for v4.1

2015-03-11 Thread Krzysztof Kozlowski
Dear Kukjin, This groups non-critical fixes and enhancements for Exynos suspend and power domain code for upcoming v4.1 release: 1. Add 'const' and 'static' keywords where they are applicable. 2. Remove unused field in struct 'exynos_pm_data'. 3. Be more verbose about power domain name. 4. Handle

Re: [PATCH] phy: exynos-mipi-video: Fix unbalanced lock on non-regmap path

2015-03-11 Thread Kishon Vijay Abraham I
On Wednesday 11 March 2015 05:36 AM, Axel Lin wrote: Remove the second lock on non-regmap path. Fixes: 278270e39efa (phy: exynos-mipi-video: Use spin_lock to protct state-regmap rmw operations) Reported-by: Julia Lawall julia.law...@lip6.fr Signed-off-by: Axel Lin axel@ingics.com

Re: [PATCH] devfreq: event: Add 'const' keyword for devfreq_event_ops structure

2015-03-11 Thread MyungJoo Ham
This patch adds the 'const' keyword for devfreq_event_ops structure because the ops of devfreq_event_desc structure shold not be changed after initialization. Cc: Myungjoo Ham myungjoo@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Chanwoo Choi