Re: [PATCH 1/4] pinctrl: sh-pfc: r8a7795: Add PWM support

2016-02-17 Thread Geert Uytterhoeven
Hi Ulrich, On Tue, Jan 19, 2016 at 4:27 PM, Geert Uytterhoeven wrote: >> --- a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c >> +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c >> @@ -1663,6 +1663,105 @@ static const unsigned int i2c6_c_mux[] = { >> SDA6_C_MARK, SCL6_C_MARK, >> }; >> >> +/* - PWM0 >>

Re: [PATCH 1/2] pinctrl: sh-pfc: r8a7794: add SSI pin groups

2016-02-17 Thread Geert Uytterhoeven
Hi Sergei, On Wed, Feb 17, 2016 at 11:08 PM, Sergei Shtylyov wrote: >> --- linux-pinctrl.orig/drivers/pinctrl/sh-pfc/pfc-r8a7794.c >> +++ linux-pinctrl/drivers/pinctrl/sh-pfc/pfc-r8a7794.c >> @@ -1,9 +1,9 @@ >> /* >>* r8a7794 processor support - PFC hardware block. >>* >> - * Copyright

Re: [v4.5-rc3 REGRESSION] rcar_sound-related WARN_ON()

2016-02-17 Thread Kuninori Morimoto
Hi Laurent > I've ran into a WARN_ON related to the sound driver on v4.5-rc3 on Lager. The > problem doesn't seem to occur on v4.4. It also doesn't occur at every boot, > you sometimes have to boot the board several times before reproducing it (up > to 5 times in my tests, but usually less tha

Re: [PATCH] spi: sh-spi, sh-msiof, rspi: Use ARCH_RENESAS

2016-02-17 Thread Geert Uytterhoeven
On Thu, Feb 18, 2016 at 2:47 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

[PATCH v2] clk: shmobile: r8a7795: Add INTC-EX clock

2016-02-17 Thread Magnus Damm
From: Magnus Damm Add the "intc-ex" clock to the r8a7795 CPG MSSR driver V2. According to information from the hardware team the INTC_EX parent clock is CP. The next data sheet version will include this information. Signed-off-by: Magnus Damm --- drivers/clk/shmobile/r8a7795-cpg-mssr.c |

Re: [RFC/PATCH] [media] rcar-vin: add Renesas R-Car VIN IP core

2016-02-17 Thread Hans Verkuil
On 02/18/2016 01:13 AM, Niklas Söderlund wrote: > Hi Hans, > > Thanks for your comments. > > On 2016-02-15 10:28:11 +0100, Hans Verkuil wrote: >> On 02/14/2016 05:55 PM, Niklas Söderlund wrote: >>> A V4L2 driver for Renesas R-Car VIN IP cores that do not depend on >>> soc_camera. The driver is he

Re: [RFC/PATCH] [media] rcar-vin: add Renesas R-Car VIN IP core

2016-02-17 Thread Niklas Söderlund
Hi Ulrich, Thanks for testing. On 2016-02-15 12:40:12 +0100, Ulrich Hecht wrote: > On Sun, Feb 14, 2016 at 5:55 PM, Niklas Söderlund > wrote: > > A V4L2 driver for Renesas R-Car VIN IP cores that do not depend on > > soc_camera. The driver is heavily based on its predecessor and aims to > > repl

[PATCH] spi: sh-spi, sh-msiof, rspi: Use ARCH_RENESAS

2016-02-17 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

Re: [RFC/PATCH] [media] rcar-vin: add Renesas R-Car VIN IP core

2016-02-17 Thread Niklas Söderlund
Hi Hans, Thanks for your comments. On 2016-02-15 10:28:11 +0100, Hans Verkuil wrote: > On 02/14/2016 05:55 PM, Niklas Söderlund wrote: > > A V4L2 driver for Renesas R-Car VIN IP cores that do not depend on > > soc_camera. The driver is heavily based on its predecessor and aims to > > replace the

Re: [PATCH 0/2] Add R8A7794 EtherAVB DT support

2016-02-17 Thread Simon Horman
On Wed, Feb 17, 2016 at 11:41:57PM +0300, Sergei Shtylyov wrote: > Hello. > >Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, > 'renesas-devel-20160217v2-v4.5-rc4' tag plus the R8A7794 audio patches posted > last week. Here we add the EtherAVB device tree support for the

Re: [PATCH v2 5/5] ARM: dts: r8a7794: add sound support

2016-02-17 Thread Simon Horman
On Wed, Feb 17, 2016 at 10:07:50PM +0300, Sergei Shtylyov wrote: > On 02/17/2016 08:38 AM, Simon Horman wrote: > > >Define the generic R8A7794 part of the sound device node. > >This sound device is a complex one and comprises the Audio Clock > >Generator > >(ADG)

[PATCH] pinctrl: sh-pfc: r8a7794: add EtherAVB pin groups

2016-02-17 Thread Sergei Shtylyov
Add the EtherAVB pin groups to the R8A7794 PFC driver. Based on the patches by Mitsuhiro Kimura . Signed-off-by: Sergei Shtylyov --- The patch is against the 'devel' branch of Linus Walleij's 'linux-pinctrl.git' repo plus the SSI/audio clock patches posted last week. drivers/pinctrl/sh-pfc/pf

Re: [PATCH 1/2] pinctrl: sh-pfc: r8a7794: add SSI pin groups

2016-02-17 Thread Sergei Shtylyov
On 02/11/2016 01:38 AM, Sergei Shtylyov wrote: From: Ryo Kataoka Add the SSI pin groups to the R8A7794 PFC driver. [Sergei: fixed inconsistent alternate pin group naming, split SSI5/6 pin groups into data/control ones, moved SSI7 data B group to its proper place, fixed pin names in the comm

Re: [PATCH] ravb: Update DT binding example for final CPG/MSSR bindings

2016-02-17 Thread David Miller
From: Geert Uytterhoeven Date: Mon, 15 Feb 2016 13:41:31 +0100 > The example in the DT binding documentation uses the preliminary DT > bindings for the r8a7795 MSTP clocks, which never went upstream. > Update the example to use the DT bindings for the upstream Clock Pulse > Generator / Module Sta

[PATCH 2/2] ARM: dts: r8a7794: add EtherAVB support

2016-02-17 Thread Sergei Shtylyov
Define the generic R8A7794 part of the EtherAVB device node. Based on the commit 46ece349aa54 ("ARM: shmobile: r8a7791: add EtherAVB DT support"). Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7794.dtsi | 12 1 file changed, 12 insertions(+) Index: renesas/arch/arm/bo

[PATCH 1/2] ARM: dts: r8a7794: add EtherAVB clock

2016-02-17 Thread Sergei Shtylyov
Add the EtherAVB clock to the R8A7794 device tree. Based on the commit eaa870b30553 ("ARM: shmobile: r8a7791: add EtherAVB clock"). Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7794.dtsi|7 --- include/dt-bindings/clock/r8a7794-clock.h |1 + 2 files changed,

[PATCH 0/2] Add R8A7794 EtherAVB DT support

2016-02-17 Thread Sergei Shtylyov
Hello. Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-20160217v2-v4.5-rc4' tag plus the R8A7794 audio patches posted last week. Here we add the EtherAVB device tree support for the R8A7794 SoC. [1/2] ARM: dts: r8a7794: add EtherAVB clock [2/2] ARM: dts: r

Re: [PATCH 0/2] Kill useless *switch* defaults in the Renesas Ethernet drivers

2016-02-17 Thread David Miller
From: Sergei Shtylyov Date: Sun, 14 Feb 2016 22:55:05 +0300 >Here's a set of 2 patches against DaveM's 'net-next.git' repo removing > often used *default* cases doing nothing. > > [1/2] ravb: kill useless *switch* defaults > [2/2] sh_eth: kill useless *switch* defaults Series applied, thank

Re: [PATCH v2 5/5] ARM: dts: r8a7794: add sound support

2016-02-17 Thread Sergei Shtylyov
On 02/17/2016 08:38 AM, Simon Horman wrote: Define the generic R8A7794 part of the sound device node. This sound device is a complex one and comprises the Audio Clock Generator (ADG), Sampling Rate Converter Unit (SCU), Serial Sound Interface [Unit] (SSI[U]), and Audio DMAC-Peripheral-Peripher

[PATCH/RFC 4/9] media: rcar_vin: Use correct pad number in try_fmt

2016-02-17 Thread Ulrich Hecht
Fix rcar_vin_try_fmt's use of an inappropriate pad number when calling the subdev set_fmt function - for the ADV7612, IDs should be non-zero. Signed-off-by: William Towle Reviewed-by: Rob Taylor Acked-by: Hans Verkuil [uli: adapted to rcar-vin rewrite] Signed-off-by: Ulrich Hecht --- drivers/

[PATCH/RFC 3/9] adv7604: fix SPA register location for ADV7612

2016-02-17 Thread Ulrich Hecht
SPA location LSB register is at 0x70. Signed-off-by: Ulrich Hecht --- drivers/media/i2c/adv7604.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 2097c48..1680c0e 100644 --- a/drivers/media/i2c/adv7604.c +++ b/

[PATCH/RFC 8/9] ARM: shmobile: lager dts: Add entries for VIN HDMI input support

2016-02-17 Thread Ulrich Hecht
From: William Towle Add DT entries for vin0, vin0_pins, and adv7612. Signed-off-by: William Towle Signed-off-by: Rob Taylor [uli: added interrupt, renamed endpoint] Signed-off-by: Ulrich Hecht --- arch/arm/boot/dts/r8a7790-lager.dts | 40 - 1 file changed,

[PATCH/RFC 5/9] media: rcar-vin: pad-aware driver initialisation

2016-02-17 Thread Ulrich Hecht
Add detection of source pad number for drivers aware of the media controller API, so that rcar-vin can create device nodes to support modern drivers such as adv7604.c (for HDMI on Lager) and the converted adv7180.c (for composite) underneath. Building rcar_vin gains a dependency on CONFIG_MEDIA_CO

[PATCH/RFC 9/9] ARM: shmobile: lager dts: specify default-input for ADV7612

2016-02-17 Thread Ulrich Hecht
From: Ian Molton Set the 'default-input' property for ADV7612, enabling image and video capture without the need to have userspace specifying routing. (This version places the property in the adv7612 node, in line with Ian's documentation) Signed-off-by: Ian Molton Signed-off-by: William Towle

[PATCH/RFC 6/9] media: rcar-vin: add DV timings support

2016-02-17 Thread Ulrich Hecht
Adds ioctls DV_TIMINGS_CAP, ENUM_DV_TIMINGS, G_DV_TIMINGS, S_DV_TIMINGS, and QUERY_DV_TIMINGS. Signed-off-by: Ulrich Hecht --- drivers/media/platform/rcar-vin/rcar-dma.c | 69 ++ 1 file changed, 69 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar-dma.c

[PATCH/RFC 1/9] v4l: subdev: Add pad config allocator and init

2016-02-17 Thread Ulrich Hecht
From: Laurent Pinchart Add a new subdev operation to initialize a subdev pad config array, and a helper function to allocate and initialize the array. This can be used by bridge drivers to implement try format based on subdev pad operations. Signed-off-by: Laurent Pinchart Acked-by: Vaibhav Hir

[PATCH/RFC 7/9] media: rcar-vin: initialize EDID data

2016-02-17 Thread Ulrich Hecht
Initializes the decoder subdevice with a fixed EDID blob. Signed-off-by: Ulrich Hecht --- drivers/media/platform/rcar-vin/rcar-dma.c | 46 ++ 1 file changed, 46 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar-dma.c b/drivers/media/platform/rcar-vin/r

[PATCH/RFC 2/9] media: adv7604: automatic "default-input" selection

2016-02-17 Thread Ulrich Hecht
From: William Towle Add logic such that the "default-input" property becomes unnecessary for chips that only have one suitable input (ADV7611 by design, and ADV7612 due to commit 7111cddd "[media] media: adv7604: reduce support to first (digital) input"). Additionally, Ian's documentation in com

[PATCH/RFC 0/9] Lager board HDMI input support

2016-02-17 Thread Ulrich Hecht
Hi! This series implements Lager HDMI input support on top of Niklas's herculean rewrite of the rcar-vin driver ("[media] rcar-vin: add Renesas R-Car VIN IP core"). A couple of the included patches are pushed or have been picked up elsewhere already and are included here for ease of testing. The

Re: [PATCH 07/16] drm/omapdrm: removed optional dummy crtc mode_fixup function.

2016-02-17 Thread Laurent Pinchart
Hi Carlos, Thank you for the patch. On Tuesday 16 February 2016 14:18:12 Carlos Palminha wrote: > This patch set nukes all the dummy crtc mode_fixup implementations. > (made on top of Daniel topic/drm-misc branch) > > Signed-off-by: Carlos Palminha Reviewed-by: Laurent Pinchart > --- > driv

Re: [PATCH 09/16] drm/shmobile: removed optional dummy crtc mode_fixup function.

2016-02-17 Thread Laurent Pinchart
Hi Carlos, Thank you for the patch. On Tuesday 16 February 2016 14:18:40 Carlos Palminha wrote: > This patch set nukes all the dummy crtc mode_fixup implementations. > (made on top of Daniel topic/drm-misc branch) > > Signed-off-by: Carlos Palminha Reviewed-by: Laurent Pinchart > --- > driv

Re: [PATCH 06/16] drm/rcar-du: removed optional dummy crtc mode_fixup function.

2016-02-17 Thread Laurent Pinchart
Hi Carlos, Thank you for the patch. On Tuesday 16 February 2016 14:18:00 Carlos Palminha wrote: > This patch set nukes all the dummy crtc mode_fixup implementations. > (made on top of Daniel topic/drm-misc branch) > > Signed-off-by: Carlos Palminha Reviewed-by: Laurent Pinchart > --- > driv

[PATCH v2] adv7604: fix SPA register location for ADV7612

2016-02-17 Thread Ulrich Hecht
SPA location LSB register is at 0x70. Signed-off-by: Ulrich Hecht --- As suggested by Lars-Peter, this applies the change to the ADV7611 case as well. drivers/media/i2c/adv7604.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2

Re: [PATCH v2] pinctrl: sh-pfc: Rework PFC GPIO support

2016-02-17 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Wednesday 17 February 2016 17:15:49 Magnus Damm wrote: > From: Magnus Damm > > The sh-pfc pinctrl driver is currently handling SoC-specific > PFC hardware blocks on ARM64, ARM and SH architectures. > > For older SoCs using SH cores and some 32-bit ARM SoC

Re: [PATCH 11/16] drm/atmel-hldcd: removed optional dummy crtc mode_fixup function.

2016-02-17 Thread Daniel Vetter
On Wed, Feb 17, 2016 at 09:02:44AM +, Carlos Palminha wrote: > Thanks Boris. > > @Daniel, do you want me to resend this patch or will you fix it directly in > mode-fixup git branch? I can fix the typos, but I'm meh on the whitespace change ;-) Imo that doesn't need a resend. -Daniel > > On

Re: [PATCH/RFC v2 04/11] soc: renesas: rcar: Add DT support for SYSC PM domains

2016-02-17 Thread Geert Uytterhoeven
Hi Laurent, On Mon, Feb 15, 2016 at 11:51 PM, Laurent Pinchart wrote: > On Monday 15 February 2016 22:16:53 Geert Uytterhoeven wrote: >> Populate the SYSC PM domains from DT. >> >> Special cases, like PM domains containing CPU cores or SCUs, are >> handled by scanning the DT topology. >> >> The S

Re: [PATCH 0/4] Enable PM and PM_GENERIC_DOMAINS for SoCs with PM Domains

2016-02-17 Thread Simon Horman
On Tue, Feb 16, 2016 at 04:31:48PM +0100, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > All supported Renesas ARM SoCs (except for Emma Mobile EV2) have clock > domains. Some SoCs also have power domains. To ensure proper operation > of on-SoC modules, module clocks must be ungated, and

Re: [PATCH] ARM: shmobile: Kconfig: Get rid of old comment

2016-02-17 Thread Simon Horman
On Wed, Feb 17, 2016 at 09:45:45AM +0100, Geert Uytterhoeven wrote: > On Wed, Feb 17, 2016 at 9:22 AM, Magnus Damm wrote: > > From: Magnus Damm > > > > Remove comment that used to be part of non-multiplatform > > kernel support. Now with multiplatform-only we have no > > Renesas-specific System C

Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings

2016-02-17 Thread Simon Horman
On Wed, Feb 17, 2016 at 03:45:19PM +0900, Magnus Damm wrote: > Hi Simon, > > On Wed, Feb 17, 2016 at 3:28 PM, Simon Horman wrote: > > On Wed, Feb 17, 2016 at 11:33:27AM +0900, Magnus Damm wrote: > >> Hi Geert, > >> > >> On Tue, Feb 16, 2016 at 10:11 PM, Geert Uytterhoeven > >> wrote: > >> > On T

Re: [PATCH 11/16] drm/atmel-hldcd: removed optional dummy crtc mode_fixup function.

2016-02-17 Thread Carlos Palminha
Thanks Boris. @Daniel, do you want me to resend this patch or will you fix it directly in mode-fixup git branch? On 16-02-2016 16:58, Boris Brezillon wrote: > On Tue, 16 Feb 2016 14:19:06 + > Carlos Palminha wrote: > >> This patch set nukes all the dummy crtc mode_fixup implementations. >>

Re: [PATCH] ARM: shmobile: Kconfig: Get rid of old comment

2016-02-17 Thread Geert Uytterhoeven
On Wed, Feb 17, 2016 at 9:22 AM, Magnus Damm wrote: > From: Magnus Damm > > Remove comment that used to be part of non-multiplatform > kernel support. Now with multiplatform-only we have no > Renesas-specific System Configuration entries. > > Signed-off-by: Magnus Damm Acked-by: by: Geert Uytte

Re: [PATCH v2] pinctrl: sh-pfc: Rework PFC GPIO support

2016-02-17 Thread Geert Uytterhoeven
Hi Magnus, On Wed, Feb 17, 2016 at 9:15 AM, Magnus Damm wrote: > From: Magnus Damm > > The sh-pfc pinctrl driver is currently handling SoC-specific > PFC hardware blocks on ARM64, ARM and SH architectures. > > For older SoCs using SH cores and some 32-bit ARM SoCs the PFC > hardware also provide

[PATCH] ARM: shmobile: Kconfig: Get rid of old comment

2016-02-17 Thread Magnus Damm
From: Magnus Damm Remove comment that used to be part of non-multiplatform kernel support. Now with multiplatform-only we have no Renesas-specific System Configuration entries. Signed-off-by: Magnus Damm --- Written on top of renesas-drivers-2016-02-16-v4.5-rc4 arch/arm/mach-shmobile/Kconfi

[PATCH v2] pinctrl: sh-pfc: Rework PFC GPIO support

2016-02-17 Thread Magnus Damm
From: Magnus Damm The sh-pfc pinctrl driver is currently handling SoC-specific PFC hardware blocks on ARM64, ARM and SH architectures. For older SoCs using SH cores and some 32-bit ARM SoCs the PFC hardware also provides GPIO functionality. On the majority of 32-bit ARM SoCs from Renesas and so