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

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

[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 <sergei.shtyl...@cogentembedded.com> --- This patch is against the 'renesas-devel-20160817-v4

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

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

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

[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

[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

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

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

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

[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 ++

[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,

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 >

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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 +

[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

[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

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 > >> > >>

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

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

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

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:

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