Re: [PATCH v2 1/2] drm/exynos: dp: add of_graph dt binding support for panel

2015-12-02 Thread Javier Martinez Canillas
Hello Inki, On 12/02/2015 08:57 AM, Inki Dae wrote: > This patch adds of_graph dt binding support for panel device > and also keeps the backward compatibility. > You have to also update the DT binding doc which seems to be outdated already:

[PATCH] drm/exynos: Use platform_register/unregister_drivers()

2015-12-02 Thread Thierry Reding
From: Thierry Reding Replace the driver-specific implementations with the ones implemented in the core. Signed-off-by: Thierry Reding --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 42 +++-- 1 file changed, 8 insertions(+), 34

[PATCH v3 17/25] mtd: nand: remove useless mtd->priv = chip assignments

2015-12-02 Thread Boris Brezillon
mtd_to_nand() now uses the container_of() approach to transform an mtd_info pointer into a nand_chip one. Drop useless mtd->priv assignments from NAND controller drivers. Signed-off-by: Boris Brezillon --- Patch generated with the following coccinelle script:

Re: [PATCH v2 17/25] mtd: nand: remove useless mtd->priv = chip assignments

2015-12-02 Thread Boris Brezillon
Hi Brian, On Tue, 1 Dec 2015 14:17:47 -0800 Brian Norris wrote: > On Tue, Dec 01, 2015 at 12:03:14PM +0100, Boris Brezillon wrote: > > mtd_to_nand() now uses the container_of() approach to transform an > > mtd_info pointer into a nand_chip one. Drop useless

[PATCH 03/12] ARM: dts: Exynos5420: add CPU OPP and regulator supply property

2015-12-02 Thread Ben Gamari
From: Thomas Abraham For Exynos5420 platforms, add CPU operating points and CPU regulator supply properties for migrating from Exynos specific cpufreq driver to using generic cpufreq driver. Changes by Bartlomiej: - split Exynos5420 support from the original patch

[PATCH 10/12] cpufreq: arm-big-little: accept operating-points-v2 nodes

2015-12-02 Thread Ben Gamari
The arm_big_little cpufreq driver can use operating points from operating-points-v2 nodes without any trouble. Cc: Javier Martinez Canillas Signed-off-by: Ben Gamari --- drivers/cpufreq/arm_big_little_dt.c | 12 1 file changed, 8

[PATCH 09/12] ARM: dts: Exynos5420/5800: add cluster regulator supply properties

2015-12-02 Thread Ben Gamari
From: Bartlomiej Zolnierkiewicz Add cluster regulator supply properties as a preparation to adding generic arm_big_little_dt cpufreq driver support for Exynos5420 and Exynos5800 based boards. Changes by Ben Gamari: - Add regulators to odroidxu4 Cc: Kukjin Kim

[PATCH 08/12] ARM: Exynos: use generic cpufreq driver for Exynos5800

2015-12-02 Thread Ben Gamari
From: Thomas Abraham The new CPU clock type allows the use of generic arm_big_little_dt cpufreq driver for Exynos5800. Changes by Bartlomiej: - split Exynos5800 support from the original patch - disable cpufreq if big.LITTLE switcher support is enabled Changes by Ben

[PATCH 06/12] ARM: dts: Exynos5800: fix CPU OPP

2015-12-02 Thread Ben Gamari
From: Bartlomiej Zolnierkiewicz Fix CPU operating points for Exynos5800 (it uses different voltages than Exynos5420 and supports additional frequencies). However don't use 2000MHz & 1900MHz OPPs (for A15 cores) and 1400MHz OPP (for A7 cores) until there is a separate

[PATCH 05/12] clk: samsung: exynos5800: fix cpu clock configuration data

2015-12-02 Thread Ben Gamari
From: Bartlomiej Zolnierkiewicz Fix cpu clock configuration data for Exynos5800 (it uses higher PCLK_DBG divider values than Exynos5420 and supports additional frequencies). Based on Hardkernel's kernel for ODROID-XU3 board. Cc: Tomasz Figa Cc:

[PATCH 07/12] ARM: dts: Exynos5422: fix OPP tables

2015-12-02 Thread Ben Gamari
The Exynos 5422 is identical to the 5800 except for the fact that it boots from the A7 cores. Consequently, the core numbering is different: cores 0-3 are A7s whereas 4-7 are A15s. We can reuse the device tree of the 5800 for the 5422 but we must take care to override the OPP tables and CPU

[PATCH 11/12] cpufreq: arm-big-little: clarify frequency units

2015-12-02 Thread Ben Gamari
The frequency units are very confusing in this area as OPPs use Hz whereas cpufreq uses kHz. Be explicit about this in variable naming. Cc: Javier Martinez Canillas Signed-off-by: Ben Gamari --- drivers/cpufreq/arm_big_little.c | 20

[PATCH 12/12] cpufreq: arm-big-little: warn on invalid regulator

2015-12-02 Thread Ben Gamari
Cc: Javier Martinez Canillas Signed-off-by: Ben Gamari --- drivers/cpufreq/arm_big_little.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/cpufreq/arm_big_little.c b/drivers/cpufreq/arm_big_little.c index 2d5761c..5d30c26 100644 ---

[PATCH v5 0/12] cpufreq: Add support for Exynos 5800, 5420, and 5422

2015-12-02 Thread Ben Gamari
This patch series adds cpufreq support for the Exynos 5800, 5420, and 5422 SOCs. In particular, it adds support for operating-points-v2 bindings to the arm-big-little cpufreq driver and updates the above-mentioned SOCs' devicetrees to take advantage of this support. There are also a couple of

[PATCH 04/12] ARM: Exynos: use generic cpufreq driver for Exynos5420

2015-12-02 Thread Ben Gamari
From: Thomas Abraham The new CPU clock type allows the use of generic arm_big_little_dt cpufreq driver for Exynos5420. Changes by Bartlomiej: - split Exynos5420 support from the original patch - disable cpufreq if big.LITTLE switcher support is enabled Changes by Ben

[PATCH 01/12] cpufreq: arm_big_little: add cluster regulator support

2015-12-02 Thread Ben Gamari
From: Bartlomiej Zolnierkiewicz Add cluster regulator support as a preparation to adding generic arm_big_little_dt cpufreq_dt driver support for ODROID-XU3 board. This allows arm_big_little[_dt] driver to set not only the frequency but also the voltage (which is

Re: [PATCH 02/12] clk: samsung: exynos5420: add cpu clock configuration data and instantiate cpu clock

2015-12-02 Thread Krzysztof Kozlowski
On 03.12.2015 06:19, Ben Gamari wrote: > From: Thomas Abraham > > With the addition of the new Samsung specific cpu-clock type, the > arm clock can be represented as a cpu-clock type. Add the CPU clock > configuration data and instantiate the CPU clock type for Exynos5420.

[PATCH] drm/exynos: dsi: modify a error type when getting a node failed

2015-12-02 Thread Inki Dae
This patch makes it to return -EINVAL instead of -ENXIO when getting a port or endpoint node failed. Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 01/12] cpufreq: arm_big_little: add cluster regulator support

2015-12-02 Thread Anand Moon
Hi Ben Gamari, On 3 December 2015 at 02:49, Ben Gamari wrote: > From: Bartlomiej Zolnierkiewicz > > Add cluster regulator support as a preparation to adding > generic arm_big_little_dt cpufreq_dt driver support for > ODROID-XU3 board. This

Re: [PATCH v5 0/12] cpufreq: Add support for Exynos 5800, 5420, and 5422

2015-12-02 Thread Viresh Kumar
Hi Ben, On 02-12-15, 22:19, Ben Gamari wrote: > > This patch series adds cpufreq support for the Exynos 5800, 5420, and 5422 > SOCs. In particular, it adds support for operating-points-v2 bindings to the > arm-big-little cpufreq driver and updates the above-mentioned SOCs' > devicetrees > to

Re: [PATCH v2 1/2] drm/exynos: dp: add of_graph dt binding support for panel

2015-12-02 Thread Inki Dae
It seems that below patch should be modifed for only one of two outbound nodes - panel and bridge - to be bound because in case of using bridge device, the bridge driver will bind the panel. I will fix and post it again. Thanks, Inki Dae 2015년 12월 02일 20:57에 Inki Dae 이(가) 쓴 글: > This patch

Re: [PATCH 3/3] Addition of binding for firmware signals on peach-pi

2015-12-02 Thread Krzysztof Kozlowski
On 02.12.2015 18:36, Martyn Welch wrote: > > > On 01/12/15 23:51, Krzysztof Kozlowski wrote: >> On 02.12.2015 04:12, Martyn Welch wrote: >>> The peach pi has a GPIO connected to the firmware write protect, >>> developer >>> mode and recovery mode lines. This patch adds the required nodes to the

Re: [PATCH 3/3] Addition of binding for firmware signals on peach-pi

2015-12-02 Thread Martyn Welch
On 01/12/15 23:51, Krzysztof Kozlowski wrote: On 02.12.2015 04:12, Martyn Welch wrote: The peach pi has a GPIO connected to the firmware write protect, developer mode and recovery mode lines. This patch adds the required nodes to the device tree to configure the pinmuxing and allow these to

[PATCH v2 2/2] drm/exynos: dp: fix wrong return type

2015-12-02 Thread Inki Dae
This patch fixes wrong return type when dt binding of bridge device failed. If a board has a bridge device then of_graph_get_remote_port_parent function shouldn't be NULL. So this patch will return a proper error type so that the deferred probe isn't triggered. Changelog v2: - return -EINVAL if

[PATCH v2 1/2] drm/exynos: dp: add of_graph dt binding support for panel

2015-12-02 Thread Inki Dae
This patch adds of_graph dt binding support for panel device and also keeps the backward compatibility. i.e., The dts file for Exynos5800 based peach pi board has a panel property so we need to keep the backward compatibility. Changelog v2: - return -EINVAL if getting a port node failed.

Re: [PATCH v2 2/2] drm/exynos: dp: fix wrong return type

2015-12-02 Thread Javier Martinez Canillas
Hello Inki, On 12/02/2015 08:57 AM, Inki Dae wrote: > This patch fixes wrong return type when dt binding of bridge device > failed. > > If a board has a bridge device then of_graph_get_remote_port_parent > function shouldn't be NULL. So this patch will return a proper error > type so that the

Re: [PATCH 2/2] drm/exynos: dp: fix wrong return type

2015-12-02 Thread Inki Dae
Hi Javier, 2015년 11월 26일 22:35에 Javier Martinez Canillas 이(가) 쓴 글: > [adding Ajay Kumar who added the bridge support] > > Hello Inki, > > On 11/26/2015 09:47 AM, Inki Dae wrote: >> This patch fixes wrong return type when dt binding of bridge device >> failed. >> >> If a board has a bridge

Re: [PATCH v2 1/2] drm/exynos: dp: add of_graph dt binding support for panel

2015-12-02 Thread Inki Dae
Hi Javier, 2015년 12월 03일 00:04에 Javier Martinez Canillas 이(가) 쓴 글: > Hello Inki, > > On 12/02/2015 08:57 AM, Inki Dae wrote: >> This patch adds of_graph dt binding support for panel device >> and also keeps the backward compatibility. >> > > You have to also update the DT binding doc which