Re: [GIT PULL] Renesas ARM Based SoC Fixes for v4.5

2016-02-24 Thread Olof Johansson
On Fri, Feb 19, 2016 at 03:09:46PM +0900, Simon Horman wrote: > Hi Olof, Hi Kevin, Hi Arnd, > > Please consider these Renesas ARM based SoC fixes for v4.5. > > This pull request is comprised of patches from Geert Uytterhoeven to avoid > writing to .text. > > * "ARM: shmobile: Move shmobile_scu_b

Re: [PATCH can-next v2 0/2] CAN: rcar: add fallback and r8a779[234] bindings

2016-02-24 Thread Marc Kleine-Budde
On 02/24/2016 02:56 AM, Simon Horman wrote: > this series adds fallback bindings for R-Car Gen 1 and Gen 2 SoCs and > SoC-specific bindings for the r8a779[234] SoCs which are R-Car Gen 2 SoCs. > > The aim is to provide consistent bindings for R-Car Gen 1 and Gen 2 > SoCs in a maner consistent with

Re: [GIT PULL] Renesas ARM Based SoC Fixes for v4.5

2016-02-24 Thread Geert Uytterhoeven
Hi Olof, On Wed, Feb 24, 2016 at 9:08 AM, Olof Johansson wrote: > On Fri, Feb 19, 2016 at 03:09:46PM +0900, Simon Horman wrote: >> Please consider these Renesas ARM based SoC fixes for v4.5. >> >> This pull request is comprised of patches from Geert Uytterhoeven to avoid >> writing to .text. >> >

Re: [PATCH] v4l2: remove MIPI CSI-2 driver for SH-Mobile platforms

2016-02-24 Thread Geert Uytterhoeven
Hi Hans, On Wed, Feb 24, 2016 at 8:20 AM, Hans Verkuil wrote: > On 02/24/2016 07:17 AM, Simon Horman wrote: >> On Wed, Feb 24, 2016 at 07:59:57AM +0200, Laurent Pinchart wrote: >>> Hi Simon, >>> >>> Thank you for the patch. >>> >>> On Wednesday 24 February 2016 11:07:59 Simon Horman wrote: T

[PATCH] drivers: sh: Restore legacy clock domain on SuperH platforms

2016-02-24 Thread Geert Uytterhoeven
CONFIG_ARCH_SHMOBILE is not only enabled for Renesas ARM platforms (which are DT based and multi-platform), but also on a select set of Renesas SuperH platforms (SH7722/SH7723/SH7724/SH7343/SH7366). Hence since commit 0ba58de231066e47 ("drivers: sh: Get rid of CONFIG_ARCH_SHMOBILE_MULTI"), the lega

Re: [PATCH] v4l2: remove MIPI CSI-2 driver for SH-Mobile platforms

2016-02-24 Thread Hans Verkuil
On 02/24/16 09:39, Geert Uytterhoeven wrote: > Hi Hans, > > On Wed, Feb 24, 2016 at 8:20 AM, Hans Verkuil wrote: >> On 02/24/2016 07:17 AM, Simon Horman wrote: >>> On Wed, Feb 24, 2016 at 07:59:57AM +0200, Laurent Pinchart wrote: Hi Simon, Thank you for the patch. On Wedn

[PATCH] ARM: multi_v7_defconfig: enable I2C demultiplexer and slave eeprom

2016-02-24 Thread Wolfram Sang
From: Wolfram Sang The Renesas Lager board shall be a reference platform for the runtime I2C IP core switcher and for I2C slave support. Enable the needed drivers for this. Signed-off-by: Wolfram Sang --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a

Re: [PATCH] i2c: riic, sh_mobile, rcar: Use ARCH_RENESAS

2016-02-24 Thread Wolfram Sang
On Mon, Feb 22, 2016 at 10:15:19AM +0900, Simon Horman wrote: > Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. > > This is part of an ongoing process to migrate from ARCH_SHMOBILE to > ARCH_RENESAS the motivation for which being that RENESAS seems to be a more > appropriate name than SHMOBILE

rcar_sata DMA warnings on Salvator-X

2016-02-24 Thread Geert Uytterhoeven
With CONFIG_DMA_API_DEBUG=y, I sometimes get the below warning on r8a7795/salvator-x. My tree is based on renesas-drivers-2016-02-23-v4.5-rc5. sata_rcar ee30.sata: DMA-API: cpu touching an active dma mapped cacheline [cln=0x0090fba0] [ cut here ] WARNING: at lib

[PATCH 25/50] pinctrl: ish-pfc: Use devm_pinctrl_register() for pinctrl registration

2016-02-24 Thread Laxman Dewangan
Use devm_pinctrl_register() for pin control registration. Signed-off-by: Laxman Dewangan Cc: Laurent Pinchart Cc: Geert Uytterhoeven Cc: linux-renesas-soc@vger.kernel.org --- drivers/pinctrl/sh-pfc/core.c| 1 - drivers/pinctrl/sh-pfc/core.h| 1 - drivers/pinctrl/sh-pfc/pinctrl.c | 12

Re: [PATCH 25/50] pinctrl: ish-pfc: Use devm_pinctrl_register() for pinctrl registration

2016-02-24 Thread Geert Uytterhoeven
Hi Laxman, On Wed, Feb 24, 2016 at 2:15 PM, Laxman Dewangan wrote: > Use devm_pinctrl_register() for pin control registration. > > Signed-off-by: Laxman Dewangan > Cc: Laurent Pinchart > Cc: Geert Uytterhoeven > Cc: linux-renesas-soc@vger.kernel.org Thanks for your patch! > index 87b0a59..f1

Re: [GIT PULL] Renesas ARM Based SoC Fixes for v4.5

2016-02-24 Thread Olof Johansson
On Wed, Feb 24, 2016 at 12:37 AM, Geert Uytterhoeven wrote: > Hi Olof, > > On Wed, Feb 24, 2016 at 9:08 AM, Olof Johansson wrote: >> On Fri, Feb 19, 2016 at 03:09:46PM +0900, Simon Horman wrote: >>> Please consider these Renesas ARM based SoC fixes for v4.5. >>> >>> This pull request is comprised

[PATCH 0/2] Renesas VSP1: Fix DRM API header

2016-02-24 Thread Laurent Pinchart
Hello, This series fixes the problem that commit 18922936dc28 ("[media] vsp1_drm.h: add missing prototypes") tried to address. The functions has prototypes in a different header file, to proper fix is to include that header instead of duplicating prototypes. Mauro, this series applies on top of t

[PATCH 1/2] v4l: vsp1: Fix vsp1_du_atomic_(begin|flush) declarations

2016-02-24 Thread Laurent Pinchart
The functions are void, make the declaration match the definition. Signed-off-by: Laurent Pinchart --- include/media/vsp1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/media/vsp1.h b/include/media/vsp1.h index cc541753896f..d01f7cb8f691 100644 --- a/include/me

[PATCH 2/2] v4l: vsp1: drm: Include correct header file

2016-02-24 Thread Laurent Pinchart
The VSP1 DRM API is declared in , not . Fix it. This also reverts commit 18922936dc28 ("[media] vsp1_drm.h: add missing prototypes") that added the same declarations in a different header file. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drm.c | 2 +- drivers/media/plat

Re: [GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.6

2016-02-24 Thread Olof Johansson
On Fri, Feb 12, 2016 at 08:05:46PM +0100, Simon Horman wrote: > Hi Olof, Hi Kevin, Hi Arnd, > > Please consider these Renesas ARM based SoC DT updates for v4.6. > > > Changes since v1 of this pull-request: > * Drop two non-DT patches > > > The following changes since commit 92e963f50fc74041b5e

Re: [PATCH] media: platform: rcar_jpu, sh_vou, vsp1: Use ARCH_RENESAS

2016-02-24 Thread Simon Horman
On Wed, Feb 24, 2016 at 08:46:31AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Wed, Feb 24, 2016 at 3:22 AM, Simon Horman > wrote: > > Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. > > > > This is part of an ongoing process to migrate from ARCH_SHMOBILE to > > ARCH_RENESAS the motiv

Re: [PATCH 1/2] ARM: dts: r8a7790: use fallback jpu compatibility string

2016-02-24 Thread Simon Horman
On Wed, Feb 24, 2016 at 08:37:09AM +0100, Geert Uytterhoeven wrote: > On Wed, Feb 24, 2016 at 3:29 AM, Simon Horman > wrote: > > Use recently added fallback compatibility string in r8a7790 device trees. > > > > Signed-off-by: Simon Horman > > Acked-by: Geert Uytterhoeven Thanks, I have queued

Re: [PATCH 2/2] ARM: dts: r8a7791: use fallback jpu compatibility string

2016-02-24 Thread Simon Horman
On Wed, Feb 24, 2016 at 08:37:47AM +0100, Geert Uytterhoeven wrote: > On Wed, Feb 24, 2016 at 3:29 AM, Simon Horman > wrote: > > Use recently added fallback compatibility string in r8a7791 device tree. > > > > Signed-off-by: Simon Horman > > Acked-by: Geert Uytterhoeven Thanks, I have queued t

Re: [GIT PULL] Renesas ARM Based SoC Fixes for v4.5

2016-02-24 Thread Simon Horman
On Wed, Feb 24, 2016 at 08:48:08AM -0800, Olof Johansson wrote: > On Wed, Feb 24, 2016 at 12:37 AM, Geert Uytterhoeven > wrote: > > Hi Olof, > > > > On Wed, Feb 24, 2016 at 9:08 AM, Olof Johansson wrote: > >> On Fri, Feb 19, 2016 at 03:09:46PM +0900, Simon Horman wrote: > >>> Please consider thes

Re: [PATCH] ARM: multi_v7_defconfig: enable I2C demultiplexer and slave eeprom

2016-02-24 Thread Simon Horman
On Wed, Feb 24, 2016 at 11:01:31AM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > The Renesas Lager board shall be a reference platform for the runtime > I2C IP core switcher and for I2C slave support. Enable the needed > drivers for this. > > Signed-off-by: Wolfram Sang Thanks, I have qu

Re: [PATCH] media: platform: rcar_jpu, sh_vou, vsp1: Use ARCH_RENESAS

2016-02-24 Thread Simon Horman
On Thu, Feb 25, 2016 at 08:56:22AM +0900, Simon Horman wrote: > On Wed, Feb 24, 2016 at 08:46:31AM +0100, Geert Uytterhoeven wrote: > > Hi Simon, > > > > On Wed, Feb 24, 2016 at 3:22 AM, Simon Horman > > wrote: > > > Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. > > > > > > This is part of

[PATCH] PCI: rcar, rcar-gen2: Use ARCH_RENESAS

2016-02-24 Thread Simon Horman
Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. This is part of an ongoing process to migrate from ARCH_SHMOBILE to ARCH_RENESAS the motivation for which being that RENESAS seems to be a more appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs. Signed-off-by: Simon Horma

[PATCH] pinctrl: sh-pfc: Use ARCH_RENESAS

2016-02-24 Thread Simon Horman
Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. This is part of an ongoing process to migrate from ARCH_SHMOBILE to ARCH_RENESAS the motivation for which being that RENESAS seems to be a more appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs. Signed-off-by: Simon Horma

[PATCH] pwm: rcar: Use ARCH_RENESAS

2016-02-24 Thread Simon Horman
Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. This is part of an ongoing process to migrate from ARCH_SHMOBILE to ARCH_RENESAS the motivation for which being that RENESAS seems to be a more appropriate name than SHMOBILE for the majority of Renesas ARM based SoCs. Signed-off-by: Simon Horma

[PATCH] SATA: rcar: add device tree support for r8a7792

2016-02-24 Thread Simon Horman
Simply document new compatibility string. As a previous patch adds a generic R-Car Gen2 compatibility string there appears to be no need for a driver updates. By documenting this compat sting it may be used in DTSs shipped, for example as part of ROMs. It must be used in conjunction with the Gen2

[PATCH 0/6] ASoC: rsnd: add CTU support

2016-02-24 Thread Kuninori Morimoto
Hi Mark These patches adds CTU (= Channel Transfer Unit) support to Renesas R-Car sound driver. It can exchange channel order ex) channel {0,1,2,3} -> channel {3,2,1,0} And it can add/reduce each channels sound ex) (input 0th ch x 0.5) + (input 2nd ch x 0.5) = output 1st ch You ne

[PATCH 3/6] ASoC: rsnd: tidyup rsnd_ssiu_init_gen2()

2016-02-24 Thread Kuninori Morimoto
From: Kuninori Morimoto remove unnecessary variable Signed-off-by: Kuninori Morimoto --- sound/soc/sh/rcar/ssiu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sound/soc/sh/rcar/ssiu.c b/sound/soc/sh/rcar/ssiu.c index 1b8ea0e..0d964a0 100644 --- a/sound/soc/sh/rcar/

[PATCH 1/6] ASoC: rsnd: don't call update callback if it was NULL

2016-02-24 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- sound/soc/sh/rcar/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index 21e13b3..769d34c 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/cor

[PATCH 2/6] ASoC: rsrc-card: add convert channels support

2016-02-24 Thread Kuninori Morimoto
From: Kuninori Morimoto Renesas sound device has CTU (= Channel Transfer Unit), and sound card needs its support. Signed-off-by: Kuninori Morimoto --- .../bindings/sound/renesas,rsrc-card.txt | 1 + sound/soc/sh/rcar/rsrc-card.c | 22 -- 2 f

[PATCH 4/6] ASoC: rsnd: add CTU basic support

2016-02-24 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch adds Renesas R-Car sound CTU (= Channel Transfer Unit) very basic support, but not yet enough feature at this point. Because CTU support needs more complex channel function for each modules. To avoid complex patch reviewing, this patch picked up very basic part

[PATCH 6/6] ASoC: rsnd: add CTU support

2016-02-24 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch adds CTU (= Channel Transfer Unit) support on Renesas R-Car sound driver. It can Down/Up mixing and splitter. You need to check R-Car datasheet especially CTUn_CPMDR/CTUn_SV0xR/CTUn_SV1xR/CTUn_SV2xR/CTUn_SV3xR for setting parameter. Signed-off-by: Kuninori Mor

[PATCH 5/6] ASoC: rsnd: add rsnd_runtime_channel_xxx()

2016-02-24 Thread Kuninori Morimoto
From: Kuninori Morimoto Current SSI is supporting Normal SSI/Multi mode SSI/TDM mode SSI and its behavior is based on input channels. This input channel might be converted by CTU, and SSI needs to be Multi SSI mode / TDM SSI mode if 6ch input EX) 6ch input, CTU for 2ch, playback 6ch6ch

Re: [PATCH] pinctrl: sh-pfc: Use ARCH_RENESAS

2016-02-24 Thread Geert Uytterhoeven
On Thu, Feb 25, 2016 at 1:51 AM, Simon Horman wrote: > Make use of ARCH_RENESAS in place of ARCH_SHMOBILE. > > This is part of an ongoing process to migrate from ARCH_SHMOBILE to > ARCH_RENESAS the motivation for which being that RENESAS seems to be a more > appropriate name than SHMOBILE for the

Re: [PATCH] media: platform: rcar_jpu, sh_vou, vsp1: Use ARCH_RENESAS

2016-02-24 Thread Geert Uytterhoeven
Hi Simon, On Thu, Feb 25, 2016 at 1:32 AM, Simon Horman wrote: > On Thu, Feb 25, 2016 at 08:56:22AM +0900, Simon Horman wrote: >> On Wed, Feb 24, 2016 at 08:46:31AM +0100, Geert Uytterhoeven wrote: >> > On Wed, Feb 24, 2016 at 3:22 AM, Simon Horman >> > wrote: >> > > Make use of ARCH_RENESAS in