Re: [RFC PATCH 09/15] PM / devfreq: exynos: Update documentation for bus devices using passive governor

2015-11-30 Thread Rob Herring
On Thu, Nov 26, 2015 at 10:47:33PM +0900, Chanwoo Choi wrote: > This patch updates the documentation for passive bus devices and adds the > detailed example of Exynos3250. > > Signed-off-by: Chanwoo Choi > --- > .../devicetree/bindings/devfreq/exynos-bus.txt | 226 >

[PATCH v3] clk: s3c2410: removed unneeded variable in s3c24xx_clkout_set_parent

2015-11-30 Thread Mutharaju, Prasanna (P.)
Remove unneeded variable used to store return value. Signed-off-by: Prasanna Karthik --- v3: Modified subject and changelog comments --- --- drivers/clk/samsung/clk-s3c2410-dclk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH v3] clk: s3c2410: removed unneeded variable in s3c24xx_clkout_set_parent

2015-11-30 Thread Mutharaju, Prasanna (P.)
On Mon, Nov 30, 2015 at 09:15:43AM +0100, Uwe Kleine-König wrote: > On Mon, Nov 30, 2015 at 07:52:22AM +, Mutharaju, Prasanna (P.) wrote: > > From: Prasanna Karthik > > > > Remove unneeded variable used to store return value. > > --- > > v3: Modified subject and

Re: [PATCH v3] clk: s3c2410: removed unneeded variable in s3c24xx_clkout_set_parent

2015-11-30 Thread Krzysztof Kozlowski
W dniu 30.11.2015 o 18:52, Mutharaju, Prasanna (P.) pisze: > Remove unneeded variable used to store return value. > > Signed-off-by: Prasanna Karthik Previous issues fixed, thanks! But now you changed the From field and it does not match exactly the Signed-off-by (email

[PATCH v3] clk: s3c2410: removed unneeded variable in s3c24xx_clkout_set_parent

2015-11-30 Thread Mutharaju, Prasanna (P.)
From: Prasanna Karthik Remove unneeded variable used to store return value. Signed-off-by: Prasanna Karthik --- v3: Modified subject and changelog comments --- --- drivers/clk/samsung/clk-s3c2410-dclk.c | 3 +-- 1 file changed, 1 insertion(+), 2

Re: [PATCH v3] clk: s3c2410: removed unneeded variable in s3c24xx_clkout_set_parent

2015-11-30 Thread Krzysztof Kozlowski
2015-11-30 19:08 GMT+09:00 Mutharaju, Prasanna (P.) : > From: Prasanna Karthik > > Remove unneeded variable used to store return value. > > Signed-off-by: Prasanna Karthik Thanks, Reviewed-by: Krzysztof Kozlowski

Re: [PATCH v2] arm: dts: Fix audio card detection on peach boards

2015-11-30 Thread Alim Akhtar
Hi Javier, On Mon, Nov 30, 2015 at 7:31 PM, Javier Martinez Canillas wrote: > Hello Alim, > > On 10/12/2015 09:37 AM, Alim Akhtar wrote: >> Since commit 2fad972d45c4 ("ARM: dts: Add mclk entry for Peach boards"), >> sound card detection is broken on peach boards and gives

Re: [PATCH v2 14/22] drm/exynos: fimd: fix dma burst size setting for small plane size

2015-11-30 Thread Daniel Stone
Hi, On 30 November 2015 at 13:53, Marek Szyprowski wrote: > This patch fixes trashed display of buffers cropped to very small width. > Even if DMA is unstable and causes tearing when changing the burst size, > it is still better than displaying a garbage. > >

Re: [PATCHv2] ARM: dts: use vmmc-supply of emmc/sd for exynos5422-odroidxu3

2015-11-30 Thread Anand Moon
Hi Krzysztof, On 30 November 2015 at 11:12, Krzysztof Kozlowski wrote: > On 27.11.2015 15:42, Anand Moon wrote: >> hi Krzysztof, >> >> On 22 October 2015 at 18:34, Anand Moon wrote: >>> hi Krzysztof, >>> >>> On 22 October 2015 at 06:31, Krzysztof

Re: [PATCH v2] arm: dts: Fix audio card detection on peach boards

2015-11-30 Thread Javier Martinez Canillas
Hi Alim, On 11/30/2015 01:59 PM, Alim Akhtar wrote: > Hi Javier, > > On Mon, Nov 30, 2015 at 7:31 PM, Javier Martinez Canillas > wrote: >> Hello Alim, >> >> On 10/12/2015 09:37 AM, Alim Akhtar wrote: >>> Since commit 2fad972d45c4 ("ARM: dts: Add mclk entry for Peach

Re: [PATCH 02/10] ASoC: samsung/smartq: use dynamic registration

2015-11-30 Thread Krzysztof Kozlowski
On 26.11.2015 01:06, Arnd Bergmann wrote: > As a prerequisite for moving s3c64xx into multiplatform configurations, > we need to change the smartq audio driver to stop using hardcoded > gpio numbers from the header file, and instead pass the gpio data > through platform_data. > > In order to do

Re: [PATCH 03/10] gpio: samsung: move gpio-samsung driver back to platform code

2015-11-30 Thread Krzysztof Kozlowski
On 26.11.2015 01:06, Arnd Bergmann wrote: > The gpio-samsung driver is special in the sense that it > interacts directly in multiple ways with the legacy platform > code for the s3c24xx and s3c64xx platforms. In contrast, > all devicetree based machines for Samsung, including the > ones on those

Re: [PATCH 04/10] ARM: s3c64xx: prepare initcalls for multiplatform

2015-11-30 Thread Krzysztof Kozlowski
On 26.11.2015 01:06, Arnd Bergmann wrote: > In a multiplatform kernel, each initcall is run regardless > of the platform it is meant for, so it must not attempt to > access SoC-specific registers. > > This adds 'if (soc_is_s3c64xx)' to all initcalls that are > specific to the s3c64xx platform, to

Re: [PATCH 01/10] Input: s3c2410_ts: fix S3C_ADC dependency

2015-11-30 Thread Krzysztof Kozlowski
On 26.11.2015 01:06, Arnd Bergmann wrote: > S3C_ADC is only available on machines that don't do ARCH_MULTIPLATFORM, > so changing the 'select' into 'depends on' here helps us move to > ARCH_MULTIPLATFORM without introducing regressions. > > Signed-off-by: Arnd Bergmann > Acked-by:

Re: [PATCH v3] clk: s3c2410: removed unneeded variable in s3c24xx_clkout_set_parent

2015-11-30 Thread Krzysztof Kozlowski
On 30.11.2015 16:52, Mutharaju, Prasanna (P.) wrote: > From: Prasanna Karthik > > Remove unneeded variable used to store return value. > --- > v3: Modified subject and changelog comments > --- > > Signed-off-by: Prasanna Karthik ... and now download

Re: [PATCH v2] clk: s3c2410: removed unneeded variable in s3c24xx_clkout_set_parent

2015-11-30 Thread Mutharaju, Prasanna (P.)
On Mon, Nov 30, 2015 at 04:31:35PM +0900, Krzysztof Kozlowski wrote: > On 30.11.2015 16:28, Mutharaju, Prasanna (P.) wrote: > > From: Prasanna Karthik > > > > Remove unneeded variable used to store return value. > > V2: Modified subject > > Changelog (v2) should go after

Re: [PATCH v3] clk: s3c2410: removed unneeded variable in s3c24xx_clkout_set_parent

2015-11-30 Thread Uwe Kleine-König
On Mon, Nov 30, 2015 at 07:52:22AM +, Mutharaju, Prasanna (P.) wrote: > From: Prasanna Karthik > > Remove unneeded variable used to store return value. > --- > v3: Modified subject and changelog comments > --- > > Signed-off-by: Prasanna Karthik

Re: [PATCH] ARM: exynos_defconfig: Set recommended options for systemd

2015-11-30 Thread Javier Martinez Canillas
Hello Krzysztof, On 11/30/2015 03:31 AM, Krzysztof Kozlowski wrote: > Set following options to recommended value by systemd (which also > matches the multi_v7 deconfig): > 1. Enable AUTOFS4_FS - for systemd.automount [0]; > 2. Enable BLK_DEV_BSG - SG v4 for recend udev [0][1]; > 3. Disable

[PATCH v2 01/22] drm/exynos: gsc: prepare and unprepare gsc clock

2015-11-30 Thread Marek Szyprowski
From: Seung-Woo Kim Ths patch changes the clk_enable and clk_disable call in gsc driver into clk_prepare_enable and clk_disable_unprepare. Signed-off-by: Seung-Woo Kim Signed-off-by: Marek Szyprowski Reviewed-by:

[PATCH v2 02/22] drm/exynos: gsc: fix wrong pm_runtime state

2015-11-30 Thread Marek Szyprowski
From: Seung-Woo Kim At probe time, gsc clock is not enabled, so pm_runtime state should be deactive. So this patch removes pm_runtime_set_active() from gsc_probe(). Signed-off-by: Seung-Woo Kim Signed-off-by: Marek Szyprowski

[PATCH v2 14/22] drm/exynos: fimd: fix dma burst size setting for small plane size

2015-11-30 Thread Marek Szyprowski
This patch fixes trashed display of buffers cropped to very small width. Even if DMA is unstable and causes tearing when changing the burst size, it is still better than displaying a garbage. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_drm_fimd.c

[PATCH v2 21/22] drm/exynos: ipp: make framework context global

2015-11-30 Thread Marek Szyprowski
IPP framework stored global context in driver data of its platform device. This patch moves it to global variable to simplify access. There exists only one such framework, so there is no drawback of this change. Signed-off-by: Marek Szyprowski ---

[PATCH v2 18/22] drm/exynos: fix to calculate offset of each plane for ipp fimc

2015-11-30 Thread Marek Szyprowski
From: Seung-Woo Kim NV12 and YUV420 formats are need to calculate offset of each plane for ipp fimc in a gem buffer. Without proper offset, only Y plane can be processed, so result shows green frame. This patch fixes to calculate offset for cbcr planes for NV12 and YUV420

[PATCH v2 20/22] drm/exynos: gem: simplify access to exynos gem object

2015-11-30 Thread Marek Szyprowski
Replace calls to exynos_drm_gem_get_{dma_addr,size}, by a simpler function exynos_drm_gem_get(). This lets the caller to get access to exynos_drm_gem object and extract any information about GEM object without searching object tree for getting each parameter. Signed-off-by: Marek Szyprowski

[PATCH v2 10/22] drm/exynos: introduce exynos_drm_plane_config structure

2015-11-30 Thread Marek Szyprowski
This patch adds common structure for keeping plane configuration and capabilities data. This patch is inspired by similar code developed by Tobias Jakobi. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 18 ---

[PATCH v2 06/22] drm/exynos: move dma_addr attribute from exynos plane to exynos fb

2015-11-30 Thread Marek Szyprowski
DMA address is a framebuffer attribute and the right place for it is exynos_drm_framebuffer not exynos_drm_plane. This patch also introduces helper function for getting dma address of the given framebuffer. Signed-off-by: Marek Szyprowski Reviewed-by: Gustavo Padovan

[PATCH v2 04/22] drm/exynos: rotator: convert to common clock framework

2015-11-30 Thread Marek Szyprowski
This driver was not used after introduction of common clock framework. This patch adds missing prepare/unprepare calls and allows to use it again with current kernel code. Signed-off-by: Marek Szyprowski Reviewed-by: Gustavo Padovan ---

[PATCH v2 08/22] drm/exynos: mixer: use crtc->state->adjusted_mode instead of crtc->mode

2015-11-30 Thread Marek Szyprowski
This patch replaces usage of crtc->mode with crtc->state->adjusted_mode like it is already done in common plane code. Signed-off-by: Marek Szyprowski Reviewed-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_mixer.c | 4 ++-- 1

[PATCH v2 05/22] drm/exynos: exynos7-decon: remove excessive check

2015-11-30 Thread Marek Szyprowski
Display area is already checked by exynos plane core, so there is no need for such check in driver code. Signed-off-by: Marek Szyprowski Reviewed-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 10 -- 1

[PATCH v2 03/22] drm/exynos: gsc: add device tree support and remove usage of static mappings

2015-11-30 Thread Marek Szyprowski
From: Seung-Woo Kim This patch adds device tree support for exynos_drm_gsc. This patch also fixed build issue on non-Exynos platforms, thus dependency on !ARCH_MULTIPLATFORM can be now removed. The driver cannot be used simultaneously with V4L2 Mem2Mem GScaller driver

[PATCH v2 13/22] drm/exynos: fix clipping when scaling is enabled

2015-11-30 Thread Marek Szyprowski
This patch fixes calculation of src x/y offset for negative crtc x/y values when scaling is enabled. This fixes possible IOMMU fault when scaling is enabled. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 13 +++-- 1 file

[PATCH v2 22/22] drm/exynos: add support for plane rotation, scalling and colospace convesion

2015-11-30 Thread Marek Szyprowski
This patch adds generic plane rotation property for all supported drivers. This has been implemented with additional help from Exynos IPP (Exynos Image Post-Processing subsystem) with temporary framebuffers. Besides rotation, scaling and color space conversion are also supported. Signed-off-by:

[PATCH v2 11/22] drm/exynos: add generic check for plane state

2015-11-30 Thread Marek Szyprowski
This patch adds generic check for plane state - display area dimensions, so drivers can always assume that they get valid plane state to set. Signed-off-by: Marek Szyprowski Reviewed-by: Gustavo Padovan ---

[PATCH v2 19/22] drm/exynos: fix to calculate offset of each plane for ipp gsc

2015-11-30 Thread Marek Szyprowski
From: Seung-Woo Kim NV12 and YUV420 formats are needed to calculate offset of each plane in a gem buffer for ipp gsc. Without proper offset, only Y plane can be processed, so result shows green frame. This patch fixes to calculate offset for cbcr planes for NV12 and

[PATCH v2 17/22] drm/exynos: gem: set default alignment for dumb GEM buffers

2015-11-30 Thread Marek Szyprowski
This patch forces all GEM buffers to have pitch aligned at least to 8 pixels. This is a common requirement for various Exynos IPP blocks, which otherwise won't be able to operate on buffers of random size. Signed-off-by: Marek Szyprowski ---

[PATCH v2 15/22] drm/exynos: gem: remove old unused prototypes

2015-11-30 Thread Marek Szyprowski
This patch removes old, unused function prototypes from exynos_drm_gem.h. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_drm_gem.h | 28 1 file changed, 28 deletions(-) diff --git

[PATCH v2 00/22] Exynos DRM: new life of IPP (Image Post Processing) subsystem

2015-11-30 Thread Marek Szyprowski
Dear All, This patch series introduces a new life into Exynos IPP (Image Post Processing) subsystem by integrating it (transparently for userspace applications) with Exynos DRM core plane management. This means that all CRTC drivers transparently get support for standard features of IPP subsystem

[PATCH v2 12/22] drm/exynos: mixer: use ratio precalculated in exynos_state

2015-11-30 Thread Marek Szyprowski
Common plane code already calculates and checks for supported scalling modes, so additional code in mixer driver can be now removed. Signed-off-by: Marek Szyprowski Reviewed-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_mixer.c

[PATCH v2 16/22] drm/exynos: add fb pointer to exynos_drm_plane_state

2015-11-30 Thread Marek Szyprowski
Add framebuffer pointer to exynos_drm_plane_state and tell drivers to use it. This lets common plane code to set temporary framebuffer in the future and drivers will use it without additional changes. Signed-off-by: Marek Szyprowski ---

[PATCH v2 07/22] drm/exynos: introduce exynos_drm_plane_state structure

2015-11-30 Thread Marek Szyprowski
This patch introduces exynos_drm_plane_state structure, which subclasses drm_plane_state and holds precalculated data suitable for configuring Exynos hardware. Signed-off-by: Marek Szyprowski Reviewed-by: Gustavo Padovan ---

[PATCH v2 09/22] drm/exynos: mixer: enable video overlay plane only when VP is available

2015-11-30 Thread Marek Szyprowski
Video overlay plane should be registered only when suitable hardware sub-block (Video Processor) is available. Signed-off-by: Marek Szyprowski Reviewed-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_mixer.c | 3 +++ 1 file

Re: [PATCH v2] arm: dts: Fix audio card detection on peach boards

2015-11-30 Thread Javier Martinez Canillas
Hello Alim, On 10/12/2015 09:37 AM, Alim Akhtar wrote: > Since commit 2fad972d45c4 ("ARM: dts: Add mclk entry for Peach boards"), > sound card detection is broken on peach boards and gives below errors: > > [3.630457] max98090 7-0010: MAX98091 REVID=0x51 > [3.634233] max98090 7-0010: use

Re: [PATCH v2 3/4] ARM: amba: Move reading of periphid to amba_match()

2015-11-30 Thread Ulf Hansson
On 26 November 2015 at 13:49, Marek Szyprowski wrote: > From: Tomeu Vizoso > > Reading the periphid when the Primecell device is registered means that > the apb pclk must be available by then or the device won't be registered > at all. > > By

[PATCH 07/20] drm: fix inclusion of drm.h in exynos_sarea.h

2015-11-30 Thread Gabriel Laskar
Using `#include "drm.h"` instead of `#include ` allow drm headers to be moved in another directory without changes, like for the libdrm imports. Signed-off-by: Gabriel Laskar CC: Emil Velikov CC: Mikko Rapeli ---

Re: [PATCH v2 2/4] driver core: handle -EPROBE_DEFER from bus_type.match()

2015-11-30 Thread Ulf Hansson
On 26 November 2015 at 13:49, Marek Szyprowski wrote: > From: Tomeu Vizoso > > Lets implementations of the match() callback in struct bus_type to /s/Lets/Allow > return errors and if it's -EPROBE_DEFER then queue the device for > deferred