Re: [PATCH] ARM: dts: r8a7794: add VSP1 support

2016-08-17 Thread Simon Horman
On Tue, Aug 16, 2016 at 10:07:05AM +0200, Geert Uytterhoeven wrote: > On Mon, Aug 15, 2016 at 11:52 PM, Sergei Shtylyov > wrote: > > Describe two instances (VSPS and VSPD0) of the VSP1 in the R8A7794 device > > tree. > > > > Signed-off-by: Sergei Shtylyov > > Reviewed-by: Geert Uytterhoeven Th

Re: [PATCH 0/2] ARM: dts: alt: add SDHI0 and 1, and MMCIF support

2016-08-17 Thread Simon Horman
On Tue, Aug 09, 2016 at 02:19:02PM +0200, Simon Horman wrote: > Hi, > > this short series enables SDHI 0 and 1, and MMCIF on the r8a7794/Alt board. > The SDHI IP blocks are exposed as SD card slots while the MMCIF block > is wired up to on-board eMMC. > > N.B.: I do not currently have physical ac

Re: [PATCH] arm64: dts: renesas: salvator-x: Configure pins for the DU RGB output

2016-08-17 Thread Simon Horman
On Fri, Aug 12, 2016 at 12:18:55PM +0300, Laurent Pinchart wrote: > Signed-off-by: Laurent Pinchart > --- > arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 7 +++ > 1 file changed, 7 insertions(+) > > This patch depends on "[PATCH] pinctrl: sh-pfc: r8a7795: Add DU support" > posted a fe

Re: [PATCH 1/2] ARM: shmobile: r8a7790: only use smp_init when SMP is selected

2016-08-17 Thread Simon Horman
On Fri, Aug 12, 2016 at 06:45:09PM +0200, Wolfram Sang wrote: > We use the helper function which populates the smp_init pointer only in > case of SMP. > > Signed-off-by: Wolfram Sang Hi Wolfram, could you describe the motivation for this change in the changelog?

Re: [PATCH 0/2] ARM: dts: r8a7790/r8a7791: Remove obsolete vsp1 properties

2016-08-17 Thread Simon Horman
On Tue, Aug 16, 2016 at 06:09:12PM +0300, Laurent Pinchart wrote: > Hi Geert, > > On Tuesday 16 Aug 2016 16:56:30 Geert Uytterhoeven wrote: > > Hi Simon, Magnus, Laurent, > > > > This patch series removes from the R-Car H2 and M2-W DT source files the > > obsolete DT properties to identify th

Re: [PATCH] arm64: dts: renesas: salvator-x: Configure pins for the DU RGB output

2016-08-17 Thread Geert Uytterhoeven
Hi Simon, On Wed, Aug 17, 2016 at 9:13 AM, Simon Horman wrote: > On Fri, Aug 12, 2016 at 12:18:55PM +0300, Laurent Pinchart wrote: >> Signed-off-by: Laurent Pinchart >> --- >> arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 7 +++ >> 1 file changed, 7 insertions(+) >> >> This patch dep

Re: [PATCH] arm64: dts: renesas: salvator-x: Configure pins for the DU RGB output

2016-08-17 Thread Laurent Pinchart
On Wednesday 17 Aug 2016 11:00:38 Geert Uytterhoeven wrote: > On Wed, Aug 17, 2016 at 9:13 AM, Simon Horman wrote: > > On Fri, Aug 12, 2016 at 12:18:55PM +0300, Laurent Pinchart wrote: > >> Signed-off-by: Laurent Pinchart > >> > >> --- > >> > >> arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dt

[PATCH/RTF 0/7] Add SDHI to r8a7796/salvator-x

2016-08-17 Thread Simon Horman
Hi, this patch set updates drivers, documentation and DT to enable SDHI0 & 3 on the r8a7796/salvator-x. This includes defining nodes for all available SDHI and GPIO devices. I have boot-tested this which seems successful. However, I do not have physical access to an r8a7796/salvator-x board and t

[PATCH/RTF 1/7] clk: renesas: r8a7796: Add GPIO clocks

2016-08-17 Thread Simon Horman
From: Takeshi Kihara Add GPIO clocks for the R8A7796 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Simon Horman --- drivers/clk/renesas/r8a7796-cpg-mssr.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c b/drivers/clk/renesas/r8a7796-cpg-

[PATCH/RTF 3/7] pinctrl: sh-pfc: r8a7796: Add SDHI pins, groups and functions

2016-08-17 Thread Simon Horman
From: Takeshi Kihara This patch adds SDHI pins, groups and functions to R8A7796 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Simon Horman --- drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 275 +++ 1 file changed, 275 insertions(+) diff --git a/drivers/pinctrl/sh

[PATCH/RTF 4/7] mmc: sh_mobile_sdhi: Add r8a7796 support

2016-08-17 Thread Simon Horman
From: Ai Kyuse Add support for r8a7796 SoC. Signed-off-by: Ai Kyuse Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 1 + drivers/mmc/host/sh_mobile_sdhi.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindi

[PATCH/RTF 2/7] clk: renesas: r8a7796: Add SDIF clocks

2016-08-17 Thread Simon Horman
From: Ai Kyuse This patch adds SDIF clocks for R8A7796 SoC. Signed-off-by: Ai Kyuse Signed-off-by: Simon Horman --- drivers/clk/renesas/r8a7796-cpg-mssr.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c b/drivers/clk/renesas/r8a7796-cpg-mss

[PATCH/RTF 5/7] arm64: dts: r8a7796: Add GPIO device nodes

2016-08-17 Thread Simon Horman
From: Takeshi Kihara Add GPIO device nodes to the DT of the r8a7796 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 112 +++ 1 file changed, 112 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8

[PATCH/RTF 7/7] arm64: dts: r8a7796: salvator-x: enable SDHI0 & 3

2016-08-17 Thread Simon Horman
Enable the exposed SD card slots in the DT of the r8a7796/salvator-x. Based on work for the r8a7795/salvator-x by Ai Kyuse. Cc: Ai Kyuse Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 84 ++ 1 file changed, 84 insertions(+) diff --git

[PATCH/RTF 6/7] arm64: dts: r8a7796: add SDHI nodes

2016-08-17 Thread Simon Horman
Add SDHI nodes to the DT of the r8a7796 SoC. Based on the DT of the r8a7795 SoC. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 42 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/

[PATCH v2 0/4] R-Car VSP1 1-D Histogram support

2016-08-17 Thread Laurent Pinchart
Hello, This patch series implements support for the Renesas R-Car VSP1 1-D histogram generator (HGO). It is based on top of the latest media tree's master branch, and available for convenience at git://linuxtv.org/pinchartl/media.git vsp1/hgo The series starts with the implementation and

[PATCH v2 3/4] v4l: vsp1: Add HGO support

2016-08-17 Thread Laurent Pinchart
The HGO is a Histogram Generator One-Dimension. It computes per-channel histograms over a configurable region of the image with optional subsampling. Signed-off-by: Laurent Pinchart --- Changes since v1: - Added VIDIOC_ENUM_FMT support in the vsp1 driver - Made the pixel format configurable in t

[PATCH v2 1/4] v4l: Add metadata buffer type and format

2016-08-17 Thread Laurent Pinchart
The metadata buffer type is used to transfer metadata between userspace and kernelspace through a V4L2 buffers queue. It comes with a new metadata capture capability and format description. Signed-off-by: Laurent Pinchart Tested-by: Guennadi Liakhovetski --- Changes since v1: - Rebased on top o

[PATCH v2 2/4] v4l: Define a pixel format for the R-Car VSP1 1-D histogram engine

2016-08-17 Thread Laurent Pinchart
The format is used on the R-Car VSP1 video queues that carry 1-D histogram statistics data. Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus --- Changes since v1: - Rebased on top of the DocBook to reST conversion Documentation/media/uapi/v4l/meta-formats.rst | 15 ++ .../media/ua

[PATCH v2 4/4] v4l: vsp1: Don't create HGO entity when the userspace API is disabled

2016-08-17 Thread Laurent Pinchart
The HGO is never used in the DRM pipeline, there is thus no need to create an HGO entity when the userspace API is disabled. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/vsp1/

Re: [PATCH] [media] rcar-fcp: Make sure rcar_fcp_enable() returns 0 on success

2016-08-17 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Tuesday 09 Aug 2016 17:36:41 Geert Uytterhoeven wrote: > When resuming from suspend-to-RAM on r8a7795/salvator-x: > > dpm_run_callback(): pm_genpd_resume_noirq+0x0/0x90 returns 1 > PM: Device fe94.fdp1 failed to resume noirq: error 1 > dpm_ru

[PATCH] v4l: rcar-fcp: Don't force users to check for disabled FCP support

2016-08-17 Thread Laurent Pinchart
The rcar_fcp_enable() function immediately returns successfully when the FCP device pointer is NULL to avoid forcing the users to check the FCP device manually before every call. However, the stub version of the function used when the FCP driver is disabled returns -ENOSYS unconditionally, resultin

[PATCH v2] v4l: vsp1: Report device model and rev through media device information

2016-08-17 Thread Laurent Pinchart
Instead of hardcoding the media device model and hardware revision to "VSP1" and 0 respectively, report the actual hardware device model and IP version number. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1.h | 2 ++ drivers/media/platform/vsp1/vsp1_drv.c | 21

Re: [PATCH/RTF 2/7] clk: renesas: r8a7796: Add SDIF clocks

2016-08-17 Thread Geert Uytterhoeven
Hi Simon, On Wed, Aug 17, 2016 at 1:31 PM, Simon Horman wrote: > From: Ai Kyuse > > This patch adds SDIF clocks for R8A7796 SoC. > > Signed-off-by: Ai Kyuse > Signed-off-by: Simon Horman > --- > drivers/clk/renesas/r8a7796-cpg-mssr.c | 9 + > 1 file changed, 9 insertions(+) > > diff -

Re: [PATCH] v4l: rcar-fcp: Don't force users to check for disabled FCP support

2016-08-17 Thread Geert Uytterhoeven
On Wed, Aug 17, 2016 at 3:32 PM, Laurent Pinchart wrote: > The rcar_fcp_enable() function immediately returns successfully when the > FCP device pointer is NULL to avoid forcing the users to check the FCP > device manually before every call. However, the stub version of the > function used when th

Re: [PATCH/RTF 1/7] clk: renesas: r8a7796: Add GPIO clocks

2016-08-17 Thread Geert Uytterhoeven
On Wed, Aug 17, 2016 at 1:31 PM, Simon Horman wrote: > From: Takeshi Kihara > > Add GPIO clocks for the R8A7796 SoC. > > Signed-off-by: Takeshi Kihara > Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- The

[git pull] pinctrl: sh-pfc: Updates for v4.9

2016-08-17 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tags/sh-pfc-for-v4.9-tag1 for you to fet

[git pull] clk: renesas: Updates for v4.9

2016-08-17 Thread Geert Uytterhoeven
Hi Mike, Stephen, The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tags/clk-renesas-for-v4.9-tag1 f

Re: [PATCH/RTF 3/7] pinctrl: sh-pfc: r8a7796: Add SDHI pins, groups and functions

2016-08-17 Thread Geert Uytterhoeven
On Wed, Aug 17, 2016 at 1:31 PM, Simon Horman wrote: > From: Takeshi Kihara > > This patch adds SDHI pins, groups and functions to R8A7796 SoC. > > Signed-off-by: Takeshi Kihara > Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -

Re: [PATCH/RTF 4/7] mmc: sh_mobile_sdhi: Add r8a7796 support

2016-08-17 Thread Geert Uytterhoeven
On Wed, Aug 17, 2016 at 1:31 PM, Simon Horman wrote: > From: Ai Kyuse > > Add support for r8a7796 SoC. > > Signed-off-by: Ai Kyuse > Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux b

Re: [PATCH/RTF 5/7] arm64: dts: r8a7796: Add GPIO device nodes

2016-08-17 Thread Geert Uytterhoeven
On Wed, Aug 17, 2016 at 1:31 PM, Simon Horman wrote: > From: Takeshi Kihara > > Add GPIO device nodes to the DT of the r8a7796 SoC. > > Signed-off-by: Takeshi Kihara > Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven > --- > arch/arm64/boot/dts/renesas/r8a7796.dtsi | 112 > +

Re: [PATCH/RTF 6/7] arm64: dts: r8a7796: add SDHI nodes

2016-08-17 Thread Geert Uytterhoeven
On Wed, Aug 17, 2016 at 1:31 PM, Simon Horman wrote: > Add SDHI nodes to the DT of the r8a7796 SoC. > > Based on the DT of the r8a7795 SoC. > > Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots o

Re: [PATCH/RTF 7/7] arm64: dts: r8a7796: salvator-x: enable SDHI0 & 3

2016-08-17 Thread Geert Uytterhoeven
On Wed, Aug 17, 2016 at 1:31 PM, Simon Horman wrote: > Enable the exposed SD card slots in the DT of the r8a7796/salvator-x. > > Based on work for the r8a7795/salvator-x by Ai Kyuse. > > Cc: Ai Kyuse > Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven > --- > arch/arm64/boot/dts/re

[PATCH] ARM: dts: blanche: add support for general purpose switches

2016-08-17 Thread Sergei Shtylyov
Add support for the general purpose software switches SW2 and tactile switches SW24/25 as a virtual keyboard (like it was done with the Lager/ Koelsch boards). Signed-off-by: Sergei Shtylyov --- This patch is against the 'renesas-devel-20160817-v4.8-rc2' of Simon Horman's &#x

Re: [PATCH v2 3/9] mmc: tmio: Add UHS-I mode support

2016-08-17 Thread Wolfram Sang
> [] (__mmc_start_request) from [] > (mmc_start_request+0x104/0x118) This function calls card_busy only for SDIO cards. I assume you don't have one inserted? Maybe the "broken-cd" property doesn't work correctly and causes side-effects? This would explain why it only affects SDHI1 and not SDH

Re: [PATCH v2 3/9] mmc: tmio: Add UHS-I mode support

2016-08-17 Thread Geert Uytterhoeven
Hi Wolfram, On Wed, Aug 17, 2016 at 9:08 PM, Wolfram Sang wrote: >> [] (__mmc_start_request) from [] >> (mmc_start_request+0x104/0x118) > > This function calls card_busy only for SDIO cards. I assume you don't > have one inserted? Maybe the "broken-cd" property doesn't work correctly No, not