[PATCH 3/3] ARM: dts: wheat: add QSPI support

2016-09-02 Thread Sergei Shtylyov
Define the Wheat board dependent part of the QSPI device node. Add device nodes for Spansion S25FL512S SPI flash and MTD partitions on it. Based on the original (and large) patch by Vladimir Barinov . Signed-off-by: Sergei Shtylyov

[PATCH 2/3] ARM: dts: r8a7792: add QSPI support

2016-09-02 Thread Sergei Shtylyov
Define the generic R8A7792 part of the QSPI device node. Based on the original (and large) patch by Vladimir Barinov . Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7792.dtsi | 16 1 file

[PATCH 1/3] ARM: dts: r8a7792: add QSPI clock

2016-09-02 Thread Sergei Shtylyov
Describe the QSPI clock in the R8A7792 device tree. Based on the original (and large) patch by Vladimir Barinov . Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7792.dtsi |7 +-- 1 file changed, 5

[PATCH 0/3] Add R8A7792/Wheat QSPI support

2016-09-02 Thread Sergei Shtylyov
Hello. Here's the set of 3 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-20160902-v4.8-rc4' tag plus the Wheat board patches posted this week. We're adding the R8A7792/Wheat QSPI clocks and device nodes. The board patch depends on the PFC driver QSPI patch in order

[PATCH resend] pinctrl: sh-pfc: r8a7792: add QSPI pin groups

2016-09-02 Thread Sergei Shtylyov
Add QSPI pin groups to the R8A7792 PFC driver. Based on the original (and large) patch by Vladimir Barinov . Signed-off-by: Sergei Shtylyov --- The patch is against the 'devel' branch of Linus Walleij's

[PATCH] pinctrl: sh-pfc: r8a7792: add DU pin groups

2016-09-02 Thread Sergei Shtylyov
Add QSPI pin groups to the R8A7792 PFC driver. Based on the original (and large) patch by Vladimir Barinov . Signed-off-by: Sergei Shtylyov --- The patch is against the 'devel' branch of Linus Walleij's

[PATCHv3 0/6] Fix rcar-vin field handling

2016-09-02 Thread Niklas Söderlund
Hi, This series deals with how fields are handled in the rcar-vin driver. The current state is that the user is forced to use whatever field type is set by the subdevice. This series allows the user to freely choose the filed type. It fixes the current handling of V4L2_FIELD_INTERLACED so

[PATCHv3 1/6] media: adv7180: fill in mbus format in set_fmt

2016-09-02 Thread Niklas Söderlund
If the V4L2_SUBDEV_FORMAT_TRY is used in set_fmt the width, height etc would not be filled. Signed-off-by: Niklas Söderlund --- drivers/media/i2c/adv7180.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCHv3 5/6] media: rcar-vin: fix height for TOP and BOTTOM fields

2016-09-02 Thread Niklas Söderlund
The height used for V4L2_FIELD_TOP and V4L2_FIELD_BOTTOM where wrong. The frames only contain one field so the height should be half of the frame. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 29

[PATCHv3 6/6] media: rcar-vin: add support for V4L2_FIELD_ALTERNATE

2016-09-02 Thread Niklas Söderlund
The HW can capture both ODD and EVEN fields in separate buffers so it's possible to support V4L2_FIELD_ALTERNATE. This patch add support for this mode. At probe time and when S_STD is called the driver will default to use V4L2_FIELD_INTERLACED if the subdevice reports V4L2_FIELD_ALTERNATE. The

[PATCHv3 2/6] media: rcar-vin: make V4L2_FIELD_INTERLACED standard dependent

2016-09-02 Thread Niklas Söderlund
The field V4L2_FIELD_INTERLACED is standard dependent and should not unconditionally be equivalent to V4L2_FIELD_INTERLACED_TB. This patch adds a check to see if the video standard can be obtained and if it's a 60 Hz format. If the condition is met V4L2_FIELD_INTERLACED is treated as

Re: [PATCH v4 1/4] arm64: dts: h3ulcb: enable GPIO leds

2016-09-02 Thread Sergei Shtylyov
Hello. On 09/02/2016 03:05 PM, Vladimir Barinov wrote: This supports GPIO leds on H3ULCB board Signed-off-by: Vladimir Barinov Reviewed-by: Geert Uytterhoeven --- Changes in version 3: - initially added Changes in version 4: -

[PATCH v5 4/4] arm64: dts: h3ulcb: Sound SSI support

2016-09-02 Thread Vladimir Barinov
This supports SSI sound for H3ULCB board. SSI DMA mode used. CS2000 used as AUDIO_CLK_B. Signed-off-by: Vladimir Barinov Acked-by: Kuninori Morimoto --- Changes in version 3: - initially added Changes in version 4: - added

[PATCH v5 3/4] arm64: dts: h3ulcb: enable SDHI0

2016-09-02 Thread Vladimir Barinov
This supports SDHI0 on H3ULCB board SD card slot Signed-off-by: Vladimir Barinov Reviewed-by: Geert Uytterhoeven --- Changes in version 3: - initially added Changes in version 4: - added sd-uhs-sdr50 Changes in version 5: - nothing

[PATCH v5 2/4] arm64: dts: h3ulcb: enable GPIO keys

2016-09-02 Thread Vladimir Barinov
This supports GPIO keys on H3ULCB board Signed-off-by: Vladimir Barinov --- Changes in version 4: - initially added Changes in version 5: - nothing arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 14 + 1 file changed, 14 insertions(+) diff

[PATCH v5 1/4] arm64: dts: h3ulcb: enable GPIO leds

2016-09-02 Thread Vladimir Barinov
This supports GPIO leds on H3ULCB board Signed-off-by: Vladimir Barinov Reviewed-by: Geert Uytterhoeven --- Changes in version 3: - initially added Changes in version 4: - removed led4 in favor of gpio-keys - added label Changes in

Re: [PATCH] [media] rcar-vin: add legacy mode for wrong media bus formats

2016-09-02 Thread Niklas Söderlund
On 2016-08-22 11:12:59 +0200, Hans Verkuil wrote: > On 07/20/2016 02:36 PM, Hans Verkuil wrote: > > On 07/20/2016 02:29 PM, Niklas Söderlund wrote: > >> Hi Hans, > >> > >> Thanks for your feedback. > >> > >> On 2016-07-20 11:48:40 +0200, Hans Verkuil wrote: > >>> On 07/08/2016 12:43 PM, Niklas

[PATCH] [media] adv7180: rcar-vin: change mbus format to UYVY

2016-09-02 Thread Niklas Söderlund
The media bus format reported by the adv7180 is wrong. Steve Longerbeam posted a patch which changed the format to UYVY8_2X8 with the commit message: Change the media bus format from YUYV8_2X8 to UYVY8_2X8. Colors now look correct when capturing with the i.mx6 backend. The other option is

Re: [PATCH] arm64: renesas: r8a7796/salvator-x: Add board part number to DT bindings

2016-09-02 Thread Rob Herring
On Wed, Aug 31, 2016 at 11:17:34AM +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > --- > Documentation/devicetree/bindings/arm/shmobile.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v3 12/12] arm64: dts: h3ulcb: Sound SSI support

2016-09-02 Thread Vladimir Barinov
Hi Sergei, Thank you for the review. Lemme fix it in v5 patchset. Regards, Vladimir On 02.09.2016 15:38, Sergei Shtylyov wrote: Hello. On 9/2/2016 3:05 PM, Vladimir Barinov wrote: This supports SSI sound for H3ULCB board. SSI DMA mode used. CS2000 used as AUDIO_CLK_B. Signed-off-by:

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

2016-09-02 Thread Niklas Söderlund
The format is used on the R-Car VSP1 video queues that carry 2-D histogram statistics data. Signed-off-by: Niklas Söderlund --- Documentation/media/uapi/v4l/meta-formats.rst | 1 + .../media/uapi/v4l/pixfmt-meta-vsp1-hgt.rst| 150

[PATCH 2/2] v4l: vsp1: Add HGT support

2016-09-02 Thread Niklas Söderlund
The HGT is a Histogram Generator Two-Dimensions. It computes a weighted frequency histograms for hue and saturation areas over a configurable region of the image with optional subsampling. Signed-off-by: Niklas Söderlund ---

[PATCH 0/2] v4l: vsp1: Add HGT support

2016-09-02 Thread Niklas Söderlund
Hi, This series add support for the VSP1 2-D histogram engine HGT. It's based on top of Laurent Pinchart tree at git://linuxtv.org/pinchartl/media.git hgo. It is tested on Koelsch using a modified vsp-tests suite package, modifications can be found at https://git.ragnatech.se/vsp-tests hgt.

Re: [PATCH v6 5/9] mmc: tmio: Add tuning support

2016-09-02 Thread Simon Horman
On Fri, Sep 02, 2016 at 02:46:46PM +0200, Ulf Hansson wrote: > On 2 September 2016 at 13:17, Simon Horman wrote: > > From: Ai Kyuse > > > > Add tuning support for use with SDR104 mode > > > > Signed-off-by: Ai Kyuse >

Re: [PATCH 1/3] DT: arm: shmobile: document Wheat board

2016-09-02 Thread Rob Herring
On Fri, Aug 26, 2016 at 11:20:05PM +0300, Sergei Shtylyov wrote: > Document the Wheat device tree bindings, listing it as a supported board. > > This allows to use checkpatch.pl to validate .dts files referring to the > Wheat board. > > Signed-off-by: Sergei Shtylyov

RE: [PATCH v2 1/3] ARM: dts: r7s72100: add ethernet clock to device tree

2016-09-02 Thread Chris Brandt
On 9/2/2016, Simon Horman wrote: > For future submissions please consider: > 1. Supplying a cover letter (git format-patch has a --cover-letter option) >for patch-sets comprising more than one patch. This allows you to describe >an overview of what the series as a whole achieves. And is

Re: [PATCH v6 5/9] mmc: tmio: Add tuning support

2016-09-02 Thread Ulf Hansson
On 2 September 2016 at 13:17, Simon Horman wrote: > From: Ai Kyuse > > Add tuning support for use with SDR104 mode > > Signed-off-by: Ai Kyuse > Signed-off-by: Simon Horman > --- > v6

Re: [PATCH] v4l: Add metadata buffer type and format

2016-09-02 Thread Sakari Ailus
Hi Laurent, On Fri, Sep 02, 2016 at 03:07:03PM +0300, Laurent Pinchart wrote: > 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:

Re: [PATCH v3 12/12] arm64: dts: h3ulcb: Sound SSI support

2016-09-02 Thread Vladimir Barinov
On 02.09.2016 15:05, Vladimir Barinov wrote: This supports SSI sound for H3ULCB board. SSI DMA mode used. CS2000 used as AUDIO_CLK_B. Signed-off-by: Vladimir Barinov Acked-by: Kuninori Morimoto --- Changes in version 3: -

[PATCH] v4l: Add metadata buffer type and format

2016-09-02 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 v3 12/12] arm64: dts: h3ulcb: Sound SSI support

2016-09-02 Thread Vladimir Barinov
This supports SSI sound for H3ULCB board. SSI DMA mode used. CS2000 used as AUDIO_CLK_B. Signed-off-by: Vladimir Barinov Acked-by: Kuninori Morimoto --- Changes in version 3: - initially added Changes in version 4: - added

[PATCH v4 3/4] arm64: dts: h3ulcb: enable SDHI0

2016-09-02 Thread Vladimir Barinov
This supports SDHI0 on H3ULCB board SD card slot Signed-off-by: Vladimir Barinov Reviewed-by: Geert Uytterhoeven --- Changes in version 3: - initially added Changes in version 4: - added sd-uhs-sdr50 ---

[PATCH v4 2/4] arm64: dts: h3ulcb: enable GPIO keys

2016-09-02 Thread Vladimir Barinov
This supports GPIO keys on H3ULCB board Signed-off-by: Vladimir Barinov --- Changes in version 4: - initially added arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 14 + 1 file changed, 14 insertions(+) diff --git

[PATCH v4 0/4] arm64: renesas: enable H3ULCB board peripherals

2016-09-02 Thread Vladimir Barinov
Hello, This adds the folowing: - R8A7795 SoC based H3ULCB board peripherals Vladimir Barinov (4): [1/4] arm64: dts: h3ulcb: enable GPIO leds [2/4] arm64: dts: h3ulcb: enable GPIO keys [3/4] arm64: dts: h3ulcb: enable SDHI0 [4/4] arm64: dts: h3ulcb: Sound SSI support --- This patchset is against

[PATCH v4 1/4] arm64: dts: h3ulcb: enable GPIO leds

2016-09-02 Thread Vladimir Barinov
This supports GPIO leds on H3ULCB board Signed-off-by: Vladimir Barinov Reviewed-by: Geert Uytterhoeven --- Changes in version 3: - initially added Changes in version 4: - removed led4 in favor of gpio-keys - added label

[PATCH v6 7/9] ARM: dts: lager: Enable UHS-I SDR-104

2016-09-02 Thread Simon Horman
Add the sd-uhs-sdr104 property to SDHI0. Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7790-lager.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index

[PATCH v6 3/9] mmc: tmio: document mandatory and optional callbacks

2016-09-02 Thread Simon Horman
Signed-off-by: Simon Horman --- v5 * New patch --- drivers/mmc/host/tmio_mmc.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index 1f1cb2628f67..4b36cb5c2d9c 100644 ---

[PATCH v6 4/9] mmc: tmio: Add hw reset support

2016-09-02 Thread Simon Horman
From: Ai Kyuse Add hw reset support. Signed-off-by: Ai Kyuse Signed-off-by: Simon Horman --- This is required by tuning support which will be introduced by follow-up patches. v6 * Rely on core to retune on reset

[PATCH v6 1/9] mmc: core: Add helper to see if a host can be retuned

2016-09-02 Thread Simon Horman
This is in preparation for restoring saved tuning parameters when resuming the TMIO driver. Signed-off-by: Simon Horman --- v6 * New patch --- include/linux/mmc/host.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/mmc/host.h

[PATCH v6 5/9] mmc: tmio: Add tuning support

2016-09-02 Thread Simon Horman
From: Ai Kyuse Add tuning support for use with SDR104 mode Signed-off-by: Ai Kyuse Signed-off-by: Simon Horman --- v6 [Simon Horman] * As suggested by Ulf Hansson: - Restore saved tuning parameters on resume v5

[PATCH v6 6/9] mmc: sh_mobile_sdhi: Add tuning support

2016-09-02 Thread Simon Horman
Add tuning support for use with SDR104 mode This includes adding support for the sampling clock controller (SCC). Based on work by Ai Kyuse. Cc: Ai Kyuse Signed-off-by: Simon Horman --- v6 [Simon Horman] * Rebase to use host->taps v5 [Simon

[PATCH v6 9/9] arm64: dts: r8a7795: salvator-x: Enable UHS-I SDR-104

2016-09-02 Thread Simon Horman
Add the sd-uhs-sdr104 property to SDHI0 and SDHI1. Signed-off-by: Simon Horman --- v5 * New patch --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts

[PATCH v6 0/9] UHS-I SDR-104 support for sh_mobile_sdhi

2016-09-02 Thread Simon Horman
Hi, this series is based on work by Ai Kyuse to add UHS-I SDR-104 support for sh_mobile_sdhi. It builds on work by Shinobu Uehara, Rob Taylor, William Towle and Ian Molton, Ben Hutchings, Wolfram Sang and others to add UHS-I SDR-50 support to the same driver. This series enables: * UHS-I SDR-104

[PATCH v6 2/9] mmc: tmio: enhance illegal sequence handling

2016-09-02 Thread Simon Horman
From: Ai Kyuse An illegal sequence command error may occur if there is a stopbit or cmd_index error as well as a CRC error. The correct course of action is to re-enable IRQs An illegal sequence data error may occur if there is a CRC or stopbit error, or underrun. In

Re: [PATCH 2/2] mmc: host: sh_mobile_sdhi: don't populate unneeded functions

2016-09-02 Thread Ulf Hansson
On 2 September 2016 at 07:23, Wolfram Sang wrote: > Magnus, > >> To my eye it looks like this patch might be adding a fix for a bug >> introduced by another patch. R-Car Gen2 and later are quite recent >> SoCs but I believe support for other mobile chips and earlier R-Car >>

Re: R-Car E2 Can interface receive issue

2016-09-02 Thread Roopesh K P
Dear Geert Uytterhoeven, Thank you very much for your support. I thought R-CAR M2 SoC have 2 CAN channels and doesn't require a hardware port in board to test it with can-utils. So you means that I can only use virtual CAN interface (vcan) in Koelsch or ALT board. Anyway thanks for the

Re: [PATCH v4] clk: renesas: rz: Select EXTAL vs USB clock

2016-09-02 Thread Geert Uytterhoeven
On Fri, Sep 2, 2016 at 4:32 AM, Chris Brandt wrote: > Check the MD_CLK pin to determine the current clock mode in order to set > the pll clock parent correctly. > > Signed-off-by: Chris Brandt Reviewed-by: Geert Uytterhoeven

Re: [PATCH v3 12/12] arm64: dts: h3ulcb: Sound SSI support

2016-09-02 Thread Simon Horman
On Fri, Sep 02, 2016 at 01:19:49AM +, Kuninori Morimoto wrote: > > Hi Vladimir > > > This supports SSI sound for H3ULCB board. > > SSI DMA mode used. CS2000 used as AUDIO_CLK_B. > > > > Signed-off-by: Vladimir Barinov > > --- > > Acked-by: Kuninori

[ANNOUNCE] Renesas tree closing for v4.9

2016-09-02 Thread Simon Horman
Hi, I would like to stop accepting non-fix patches for v4.9 next week. This is in order for them to be sent before the release of v4.8-rc6, the deadline set by the ARM SoC maintainers. As patches should ideally progress from the renesas tree into linux-next before sending pull requests there is a

Re: [PATCH v2 1/3] ARM: dts: r7s72100: add ethernet clock to device tree

2016-09-02 Thread Simon Horman
Thanks Chris, I have queued up this and the following 2 patches for v4.9 (nothing more for you to do unless something goes wrong in which case I'll let you know). For future submissions please consider: 1. Supplying a cover letter (git format-patch has a --cover-letter option) for patch-sets

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

2016-09-02 Thread Sakari Ailus
Hi Laurent, On Fri, Sep 02, 2016 at 12:40:18AM +0300, Laurent Pinchart wrote: ... > > >> +Data Format Negotiation > > >> +=== > > >> + > > >> +The metadata device uses the :ref:`format` ioctls to select the capture > > >> format. +The metadata buffer content format is bound to

Re: [PATCH v3 01/13] ARM: dts: lager: rename and reindex i2cexio

2016-09-02 Thread Simon Horman
On Tue, Aug 30, 2016 at 05:29:08PM +0200, Wolfram Sang wrote: > Hi Simon, > > > serial0 = > > serial1 = > > - i2c8 = "i2cexio"; > > + i2c10 = "i2cexio0"; > > Those should be pointers, i.e. "", here and in the rest of > your series. Sorry for the

Re: [PATCH] ARM: shmobile: fix regulator quirk for Gen2

2016-09-02 Thread Simon Horman
On Thu, Sep 01, 2016 at 09:00:07PM +0200, Geert Uytterhoeven wrote: > On Thu, Sep 1, 2016 at 4:27 PM, Wolfram Sang wrote: > > On Thu, Sep 01, 2016 at 04:22:37PM +0200, Simon Horman wrote: > >> On Tue, Aug 30, 2016 at 05:15:58PM +0200, Geert Uytterhoeven wrote: > >> > On Tue,

Re: renesas-drivers-2016-08-23-v4.8-rc3

2016-09-02 Thread Geert Uytterhoeven
Hi Morimoto-san, On Fri, Sep 2, 2016 at 3:38 AM, Kuninori Morimoto wrote: >> >> Even with my recent patch? >> > >> > I tried your patch, and it solved this issue. >> >> Interesting... >> >> Does "[PATCH/RFT 0/4] ARM: shmobile: R-Car Gen2: Allow booting secondary

Re: [PATCH] drm/bridge: adv7511: add support for the 2nd chip

2016-09-02 Thread Archit Taneja
Hi, On 9/2/2016 2:13 AM, Sergei Shtylyov wrote: The Renesas Wheat board has 2 ADV7513 chips on the same I2C bus, however the ADV751x driver only supports 1 chip as it tries to assign the packet/ EDID/CEC memory I2C devices to the fixed I2C addresses. Assign these I2C addresses at the fixed

Re: R-Car E2 Can interface receive issue

2016-09-02 Thread Geert Uytterhoeven
Hi RKP, On Fri, Sep 2, 2016 at 9:19 AM, Roopesh K P wrote: > I assume Koelsch and Porter boards have not much difference in their make > (both are using R-CAR M2 as SoC) and I can boot a Koelsch board with uImage > and dtb(r8a7791-porter.dtb) made for porter board . I

Re: [PATCH v3 0/12] arm64: renesas: add H3ULCB board

2016-09-02 Thread Simon Horman
On Thu, Sep 01, 2016 at 09:25:08PM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Thu, Sep 1, 2016 at 4:17 PM, Simon Horman wrote: > >> > [01/12] dt: arm: shmobile: add H3ULCB board DT bindings > > > > I have queued up the above patch after renaming it > > arm64: dts:

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

2016-09-02 Thread Sakari Ailus
Huomenta! On Fri, Sep 02, 2016 at 12:22:42AM +0300, Laurent Pinchart wrote: > Hi Sakari, > > On Monday 29 Aug 2016 12:13:40 Sakari Ailus wrote: > > On Wed, Aug 17, 2016 at 03:20:27PM +0300, Laurent Pinchart wrote: > > > The metadata buffer type is used to transfer metadata between userspace > >