Re: [PATCH v6 1/2] pinctrl: Add RZ/A2 pin and gpio controller

2018-11-15 Thread jacopo mondi
Hi Chris, On Thu, Nov 15, 2018 at 09:00:44AM -0500, Chris Brandt wrote: > Adds support for the pin and gpio controller found in R7S9210 (RZ/A2) SoCs. > > Signed-off-by: Chris Brandt > Reviewed-by: Jacopo Mondi > --- > v5: > * Specify number of ports using of_device_id.

Re: [PATCH v4 1/2] pinctrl: Add RZ/A2 pin and gpio controller

2018-11-13 Thread jacopo mondi
nction(pctldev, fsel); > + > +remove_group: > + pinctrl_generic_remove_group(pctldev, gsel); > + > + dev_info(priv->dev, "Unable to parse DT node %s\n", np->name); > + > + return ret; > +} > + > +static void rza2_dt_free_map(struct pinctrl_de

Re: [PATCH v4 2/2] dt-bindings: pinctrl: Add RZ/A2 pinctrl and GPIO

2018-11-13 Thread jacopo mondi
Hi Chris, thanks for the patch Just two minor things, so please add my Reviewed-by: Jacopo Mondi On Wed, Nov 07, 2018 at 01:27:33PM -0500, Chris Brandt wrote: > Add device tree binding documentation and header file for Renesas R7S9210 > (RZ/A2) SoCs. > > Signed-off-by:

[PATCH v5 3/6] pinctrl: sh-pfc: r8a77990: Add VIN[4|5] groups/functions

2018-11-08 Thread Jacopo Mondi
Add pin, mux and functions definitions for VIN4 and VIN5 for R-Car E3. Signed-off-by: Jacopo Mondi --- v4 -> v5: - Use new variadic macro: this time for real as reported by Simon - s/union vin_data/union vin_data16/ for VIN5 pins and mux as suggested by Geert - add vin4_data18_[a|b] pins -

[PATCH v5 4/6] pinctrl: sh-pfc: r8a7792: Fix VIN versioned groups

2018-11-08 Thread Jacopo Mondi
nctrl: sh-pfc: r8a7792: Add VIN pin groups") Reviewed-by: Simon Horman Reviewed-by: Geert Uytterhoeven Signed-off-by: Jacopo Mondi --- v4 -> v5: - Broke out r8a7792 from single patch --- drivers/pinctrl/sh-pfc/pfc-r8a7792.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-

[PATCH v5 5/6] pinctrl: sh-pfc: r8a7795: Fix VIN versioned groups

2018-11-08 Thread Jacopo Mondi
l: sh-pfc: r8a7795: Deduplicate VIN4 pin definitions") Reviewed-by: Simon Horman Reviewed-by: Geert Uytterhoeven Signed-off-by: Jacopo Mondi --- v4 -> v5: - Broke out r8a7795 from single patch --- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 24 1 file changed,

[PATCH v5 0/6] sh-pfc: Variadic VIN_DATA_PIN_GROUP macro + VIN updates

2018-11-08 Thread Jacopo Mondi
support in PFC, so the single patches changelog is in commit messages. Thanks j Jacopo Mondi (6): pinctrl: sh-pfc: Add optional arg to VIN_DATA_PIN_GROUP pinctrl: sh-pfc: r8a77965: Add VIN[4|5] groups/functions pinctrl: sh-pfc: r8a77990: Add VIN[4|5] groups/functions pinctrl: sh-pfc

[PATCH v5 6/6] pinctrl: sh-pfc: r8a7796: Fix VIN versioned groups

2018-11-08 Thread Jacopo Mondi
: a5c2949ff7bd ("pinctrl: sh-pfc: r8a7795: Deduplicate VIN4 pin definitions") Reviewed-by: Simon Horman Reviewed-by: Geert Uytterhoeven Signed-off-by: Jacopo Mondi --- v4 -> v5: - Broke out r8a7796 from single patch --- drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 24 1

[PATCH v5 1/6] pinctrl: sh-pfc: Add optional arg to VIN_DATA_PIN_GROUP

2018-11-08 Thread Jacopo Mondi
acro. Fix this by making the VIN_DATA_PIN_GROUP macro a variadic one, which accepts an optional 'version' argument. Fixes: 423caa52534f ("pinctrl: sh-pfc: r8a779[01]: Move 'union vin_data' to shared header file") Reviewed-by: Geert Uytterhoeven Signed-off-by: Jacopo Mondi --- v4 ->

[PATCH v5 2/6] pinctrl: sh-pfc: r8a77965: Add VIN[4|5] groups/functions

2018-11-08 Thread Jacopo Mondi
The VIN4 and VIN5 interfaces supports parallel video input. Add pin, mux and functions definitions for VIN4 and VIN5 for R-Car M3-N. Reviewed-by: Ulrich Hecht Signed-off-by: Jacopo Mondi --- v4 -> v5: - Add definitions for 10, 12 and 20 pin groups for VIN4 as suggested by Geert -

Re: [PATCH v4 2/4] pinctrl: sh-pfc: Fix VIN versioned groups name

2018-11-08 Thread jacopo mondi
Hi Geert On Thu, Nov 08, 2018 at 11:59:08AM +0100, Geert Uytterhoeven wrote: > On Tue, Nov 6, 2018 at 11:35 AM Jacopo Mondi > wrote: > > Versioned VIN groups can appear on different sets of pins. Using the > > VIN_DATA_PIN_GROUP macro now supports proper naming of s

Re: [PATCH v4 2/4] pinctrl: sh-pfc: Fix VIN versioned groups name

2018-11-07 Thread jacopo mondi
Hi Simon, On Wed, Nov 07, 2018 at 11:41:34AM +0100, Simon Horman wrote: > On Tue, Nov 06, 2018 at 11:35:31AM +0100, Jacopo Mondi wrote: > > Versioned VIN groups can appear on different sets of pins. Using the > > VIN_DATA_PIN_GROUP macro now supports proper naming of said

Re: [PATCH v4 4/4] pinctrl: sh-pfc: r8a77990: Add VIN[4|5] groups/functions

2018-11-07 Thread jacopo mondi
Hi Simon, On Wed, Nov 07, 2018 at 11:34:50AM +0100, Simon Horman wrote: > On Tue, Nov 06, 2018 at 11:35:33AM +0100, Jacopo Mondi wrote: > > Add pin, mux and functions definitions for VIN4 and VIN5 for R-Car E3. > > > > Signed-off-by: Jacopo Mondi > > > > --- >

[PATCH v4 1/4] pinctrl: sh-pfc: Add optional arg to VIN_DATA_PIN_GROUP

2018-11-06 Thread Jacopo Mondi
acro. Fix this by adding making the VIN_DATA_PIN_GROUP macro a variadic one, which accepts an optional 'version' argument. Signed-off-by: Jacopo Mondi --- drivers/pinctrl/sh-pfc/sh_pfc.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h

[PATCH v4 0/4] sh-pfc: Variadic VIN_DATA_PIN_GROUP macro + updates

2018-11-06 Thread Jacopo Mondi
trl: sh-pfc: r8a77965: Add VIN4 and VIN5 [PATCH] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions As E3 patch depends on the M3-N series, I made a single one out of those. Changelog for the E3 patch (which was actually at v3) is included in the single patch commit message. Jac

[PATCH v4 4/4] pinctrl: sh-pfc: r8a77990: Add VIN[4|5] groups/functions

2018-11-06 Thread Jacopo Mondi
Add pin, mux and functions definitions for VIN4 and VIN5 for R-Car E3. Signed-off-by: Jacopo Mondi --- v3 -> v4: - Use new variadic version of VIN_DATA_PIN_GROUP macro v2 -> v3: - Rebased on v4.20-rc1 - Use the newly introduced VIN_DATA_PIN_GROUP_VER macro Incorporate Geert's co

[PATCH v4 2/4] pinctrl: sh-pfc: Fix VIN versioned groups name

2018-11-06 Thread Jacopo Mondi
-by: Jacopo Mondi --- drivers/pinctrl/sh-pfc/pfc-r8a7792.c | 6 +++--- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 24 drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 24 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/drivers/pinctrl/sh-pfc

[PATCH v4 3/4] pinctrl: sh-pfc: r8a77965: Add VIN[4|5] groups/functions

2018-11-06 Thread Jacopo Mondi
The VIN4 and VIN5 interfaces supports parallel video input. Add pin, mux and functions definitions for VIN4 and VIN5 for R-Car M3-N. Reviewed-by: Ulrich Hecht Signed-off-by: Jacopo Mondi --- drivers/pinctrl/sh-pfc/pfc-r8a77965.c | 254 ++ 1 file changed, 254

[PATCH v2] arm64: dts: renesas: r8a77990: Fix VIN endpoint numbering

2018-11-05 Thread Jacopo Mondi
77990: Add VIN and CSI-2 device nodes") Signed-off-by: Koji Matsuoka Signed-off-by: Takeshi Kihara Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/

Re: [PATCH] arm64: dts: renesas: r8a77990: Fix VIN endpoint numbering

2018-11-05 Thread jacopo mondi
Hi Geert, On Mon, Nov 05, 2018 at 01:57:07PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Mon, Nov 5, 2018 at 1:46 PM jacopo mondi wrote: > > On Mon, Nov 05, 2018 at 01:07:58PM +0100, Geert Uytterhoeven wrote: > > > On Mon, Nov 5, 2018 at 12:49 PM Ja

Re: [PATCH] arm64: dts: renesas: r8a77990: Fix VIN endpoint numbering

2018-11-05 Thread jacopo mondi
Hi Geert, On Mon, Nov 05, 2018 at 01:07:58PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > Thanks for your patch! > > On Mon, Nov 5, 2018 at 12:49 PM Jacopo Mondi > wrote: > > The VIN driver bindings dictates fixed numbering for VIN endpoints connected > >

[PATCH] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-11-05 Thread Jacopo Mondi
This patch adds VIN{4,5} pins, groups and functions to the R8A77990 SoC. Signed-off-by: Jacopo Mondi --- This patch requires the VIN_DATA_PIN_GROUP_VER macro introduced by patch: [PATCH 1/2] pinctrl: sh-pfc: Introduce VIN_DATA_PIN_GROUP_VER Patch based on v4.20-rc1 v2 -> v3: - Reba

[PATCH] arm64: dts: renesas: r8a77990: Fix VIN endpoint numbering

2018-11-05 Thread Jacopo Mondi
Signed-off-by: Koji Matsuoka Signed-off-by: Takeshi Kihara Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi ind

Re: [PATCH v2 6/8] arm64: dts: r8a77990: Add VIN and CSI-2 device nodes

2018-11-05 Thread jacopo mondi
Hi Simon, On Wed, Oct 31, 2018 at 03:37:39PM +0100, Simon Horman wrote: > On Wed, Oct 31, 2018 at 02:18:40PM +0100, jacopo mondi wrote: > > Hi Simon, > > > > On Wed, Oct 31, 2018 at 01:48:13PM +0100, Simon Horman wrote: > > > On Tue, Oct 30, 2018 at 02:57:59PM

Re: [PATCH v2 6/8] arm64: dts: r8a77990: Add VIN and CSI-2 device nodes

2018-10-31 Thread jacopo mondi
Hi Simon, On Wed, Oct 31, 2018 at 01:48:13PM +0100, Simon Horman wrote: > On Tue, Oct 30, 2018 at 02:57:59PM +0200, Laurent Pinchart wrote: > > Hi Jacopo, > > > > On Tuesday, 30 October 2018 12:14:31 EET jacopo mondi wrote: > > > On Mon, Sep 10, 2018 at 05:12:30PM

Re: [PATCH v2 6/8] arm64: dts: r8a77990: Add VIN and CSI-2 device nodes

2018-10-30 Thread jacopo mondi
On Mon, Sep 10, 2018 at 05:12:30PM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Wednesday, 5 September 2018 18:29:43 EEST Jacopo Mondi wrote: > > From: Koji Matsuoka > > > > Add device nodes for VIN4, VIN5 and CSI40

Re: [PATCH v2 5/8] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-10-19 Thread jacopo mondi
Hi Geert, Simon, sorry to resurect this one, but while upporting VIN pin definition for R8A77965 I have noticed something in this patch. Please see below. On Tue, Oct 02, 2018 at 11:25:31AM +0200, Geert Uytterhoeven wrote: > Hi Jacopo, [snip] > > @@ -1889,6 +2077,32 @@ static const struct

Re: [PATCH 2/2] dt-bindings: pinctrl: Add RZ/A2 pinctrl and GPIO

2018-10-18 Thread jacopo mondi
Hi Chris, On Tue, Oct 16, 2018 at 05:47:00PM -0500, Rob Herring wrote: > On Fri, Oct 05, 2018 at 10:09:51AM -0500, Chris Brandt wrote: > > Add device tree binding documentation and header file for Renesas R7S9210 > > (RZ/A2) SoCs. > > > > Signed-off-by: Chris Brandt > > --- > >

Re: [PATCH 2/2] dt-bindings: pinctrl: Add RZ/A2 pinctrl and GPIO

2018-10-18 Thread jacopo mondi
Hi Chris, On Fri, Oct 05, 2018 at 10:09:51AM -0500, Chris Brandt wrote: > Add device tree binding documentation and header file for Renesas R7S9210 > (RZ/A2) SoCs. > > Signed-off-by: Chris Brandt > --- > .../bindings/pinctrl/renesas,rza2-pinctrl.txt | 76 > ++ >

Re: [PATCH 1/2] pinctrl: Add RZ/A2 pin and gpio controller

2018-10-18 Thread jacopo mondi
Hi Chris, thanks for the patches. On Fri, Oct 05, 2018 at 10:09:50AM -0500, Chris Brandt wrote: > Adds support for the pin and gpio controller found in R7S9210 (RZ/A2) SoCs. > > Signed-off-by: Chris Brandt > --- > drivers/pinctrl/Kconfig| 11 + > drivers/pinctrl/Makefile | 1

Re: [PATCH] MAINTAINERS: Add Renesas RZ/A and RZ/N files to Renesas pinctrl section

2018-10-16 Thread jacopo mondi
rt Uytterhoeven Acked-by: Jacopo Mondi Thank you j > --- > To be queued in sh-pfc-for-v4.21. > > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 809600de0b7293c8..77ff83bc09464c1f 100644 > --- a/MAINTAINERS >

Re: [PATCH v2] pinctrl: rzn1: Fix check for used MDIO bus

2018-10-16 Thread jacopo mondi
Hi Phil, On Tue, Oct 16, 2018 at 08:04:53AM +, Phil Edworthy wrote: > Hi Jacopo, > > On 15 October 2018 16:12 jacopo mondi wrote: > > On Mon, Oct 15, 2018 at 04:01:47PM +0100, Phil Edworthy wrote: > > > This fixes the check for unused mdio bus setting and the follow

Re: [PATCH v2] pinctrl: rzn1: Fix check for used MDIO bus

2018-10-15 Thread jacopo mondi
Hi Phil, On Mon, Oct 15, 2018 at 04:01:47PM +0100, Phil Edworthy wrote: > This fixes the check for unused mdio bus setting and the following static > checker warning: > drivers/pinctrl/pinctrl-rzn1.c:198 rzn1_pinctrl_mdio_select() > warn: always true condition '(ipctl->mdio_func[mdio] >= 0) =>

Re: [PATCH] pinctrl: rzn1: Fix check for used MDIO bus

2018-10-15 Thread jacopo mondi
Hi Phil, On Fri, Oct 12, 2018 at 11:40:36AM +0100, Phil Edworthy wrote: > This fixes the check for unused mdio bus setting and the following static > checker warning: > drivers/pinctrl/pinctrl-rzn1.c:198 rzn1_pinctrl_mdio_select() > warn: always true condition '(ipctl->mdio_func[mdio] >= 0) =>

Re: [PATCH v2 5/8] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-09-28 Thread jacopo mondi
Hi again, thanks to Morimoto-san, we got answers from the HW team. I'm pasting them here below. On Tue, Sep 11, 2018 at 11:44:30AM +0200, jacopo mondi wrote: > Hi again, >I actually noticed I'm handling VIN4 and VIN5 un-consistently > here... > > On Tue, Sep 11, 2018 at 0

Re: [PATCH 07/30] media: entity: Add has_route entity operation

2018-09-27 Thread jacopo mondi
Hello, thank you all for the patches! On Thu, Aug 23, 2018 at 03:25:21PM +0200, Niklas Söderlund wrote: > From: Laurent Pinchart > > The optional operation can be used by entities to report whether two > pads are internally connected. > > Signed-off-by: Laurent Pinchart > Signed-off-by:

Re: [PATCH v2 8/8] arm64: dts: renesas: ebisu: Add HDMI and CVBS input

2018-09-12 Thread jacopo mondi
Hi Simon, On Wed, Sep 12, 2018 at 11:29:51AM +0200, Simon Horman wrote: > On Mon, Sep 10, 2018 at 05:21:08PM +0300, Laurent Pinchart wrote: > > Hi Jacopo, > > > > Thank you for the patch. > > > > On Wednesday, 5 September 2018 18:29:45 EEST Jacopo Mondi wrot

Re: [PATCH v2 5/8] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-09-11 Thread jacopo mondi
Hi again, I actually noticed I'm handling VIN4 and VIN5 un-consistently here... On Tue, Sep 11, 2018 at 09:44:48AM +0200, jacopo mondi wrote: > Hi Simon, >thanks for looking into this patch > > On Mon, Sep 10, 2018 at 03:01:15PM +0200, Simon Horman wrote: > > On Wed, Sep

Re: [PATCH v2 5/8] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-09-11 Thread jacopo mondi
Hi Geert, On Tue, Sep 11, 2018 at 10:15:23AM +0200, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Tue, Sep 11, 2018 at 9:44 AM jacopo mondi wrote: > > On Mon, Sep 10, 2018 at 03:01:15PM +0200, Simon Horman wrote: > > > On Wed, Sep 05, 2018 at 05:29:42PM +

Re: [PATCH v2 5/8] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-09-11 Thread jacopo mondi
Hi Simon, thanks for looking into this patch On Mon, Sep 10, 2018 at 03:01:15PM +0200, Simon Horman wrote: > On Wed, Sep 05, 2018 at 05:29:42PM +0200, Jacopo Mondi wrote: > > This patch adds VIN{4,5} pins, groups and functions to the R8A77990 SoC. > > > > Signed

[PATCH v2 8/8] arm64: dts: renesas: ebisu: Add HDMI and CVBS input

2018-09-05 Thread Jacopo Mondi
Add HDMI and CVBS inputs device nodes to R-Car E3 Ebisu board. Both HDMI and CVBS inputs are connected to an ADV7482 video decoder hooked to the SoC CSI-2 receiver port. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 86 ++ 1 file

[PATCH v2 2/8] media: rcar-vin: Add support for R-Car R8A77990

2018-09-05 Thread Jacopo Mondi
Add R-Car E3 R8A77990 SoC to the rcar-vin supported ones. Based on the experimental patch from Magnus Damm. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar

[PATCH/RFT v2 0/8] arm64: dts: renesas: Ebisu: Add HDMI and CVBS input

2018-09-05 Thread Jacopo Mondi
-master/hdmi_cvbs_v2 Thanks j Jacopo Mondi (6): media: dt-bindings: rcar-vin: Add R8A77990 support media: rcar-vin: Add support for R-Car R8A77990 media: dt-bindings: rcar-csi2: Add R8A77990 media: rcar-csi2: Add R8A77990 support pinctrl: sh-pfc: r8a77990: Add VIN pins, groups

[PATCH v2 6/8] arm64: dts: r8a77990: Add VIN and CSI-2 device nodes

2018-09-05 Thread Jacopo Mondi
From: Koji Matsuoka Add device nodes for VIN4, VIN5 and CSI40 to R-Car E3 R8A77990 device tree. Signed-off-by: Koji Matsuoka Signed-off-by: Takeshi Kihara Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 79 +++ 1 file changed, 79

[PATCH v2 1/8] media: dt-bindings: rcar-vin: Add R8A77990 support

2018-09-05 Thread Jacopo Mondi
Add compatible string for R-Car E3 R8A77990 to the list of SoCs supported by rcar-vin driver. Signed-off-by: Jacopo Mondi Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/media/rcar_vin.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH v2 5/8] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-09-05 Thread Jacopo Mondi
This patch adds VIN{4,5} pins, groups and functions to the R8A77990 SoC. Signed-off-by: Jacopo Mondi --- drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 250 ++ 1 file changed, 250 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77990.c b/drivers/pinctrl/sh

[PATCH v2 7/8] arm64: dts: r8a77990: Add I2C device nodes

2018-09-05 Thread Jacopo Mondi
From: Takeshi Kihara Add device nodes for I2C ch[0-7] to R-Car E3 R8A77990 device tree. Signed-off-by: Takeshi Kihara Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 123

[PATCH v2 4/8] media: rcar-csi2: Add R8A77990 support

2018-09-05 Thread Jacopo Mondi
Add support for R-Car E3 R8A77965 to R-Car CSI-2 driver. Based on the experimental patch from Magnus Damm. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-csi2.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar-csi2.c b

[PATCH v2 3/8] media: dt-bindings: rcar-csi2: Add R8A77990

2018-09-05 Thread Jacopo Mondi
Add compatible string for R-Car E3 R8A77990 to the list of supported SoCs. Signed-off-by: Jacopo Mondi Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/media/renesas,rcar-csi2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/renesas

Re: [RFT 5/8] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-08-28 Thread jacopo mondi
Hi Geert, On Tue, Aug 28, 2018 at 09:46:57AM +0200, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Mon, Aug 20, 2018 at 12:17 PM Jacopo Mondi > wrote: > > From: Takeshi Kihara > > > > This patch adds VIN{4,5} pins, groups and functions to the R8A77990 SoC. > &g

Re: [RFT 0/8] arm64: dts: renesas: Ebisu: Add HDMI and CVBS input

2018-08-27 Thread jacopo mondi
Hi Niklas, On Mon, Aug 27, 2018 at 03:23:45PM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > On 2018-08-27 11:49:56 +0200, Jacopo Mondi wrote: > > Hi Niklas, > > A few more talk on the adv748x link handling, please bear with me... > > > > On Sat, Aug 25,

Re: [RFT 0/8] arm64: dts: renesas: Ebisu: Add HDMI and CVBS input

2018-08-27 Thread jacopo mondi
Hi Niklas, A few more talk on the adv748x link handling, please bear with me... On Sat, Aug 25, 2018 at 03:18:06PM +0200, jacopo mondi wrote: > Hi Laurent, Niklas, > > On Sat, Aug 25, 2018 at 08:37:15AM +0200, Niklas Söderlund wrote: > > Hi Laurent and Jacopo, > > &g

Re: [RFT 0/8] arm64: dts: renesas: Ebisu: Add HDMI and CVBS input

2018-08-25 Thread jacopo mondi
Hi Laurent, Niklas, On Sat, Aug 25, 2018 at 08:37:15AM +0200, Niklas Söderlund wrote: > Hi Laurent and Jacopo, > > On 2018-08-25 02:54:44 +0300, Laurent Pinchart wrote: > > Hi Jacopo, > > > > On Monday, 20 August 2018 13:16:34 EEST Jacopo Mondi wrot

Re: [PATCH v2 4/4] vin-tests: yavta-hdmi: Add VIN4 and parallel link

2018-08-25 Thread jacopo mondi
Hi Niklas, On Fri, Aug 24, 2018 at 06:27:02PM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > Thanks for your patch. > > On 2018-08-24 12:24:22 +0200, Jacopo Mondi wrote: > > Add support for VIN4 to yavta-hdmi and check if format propagation should > > go thr

Re: [PATCH v2 1/4] vin-tests: Add support for D3 Draak

2018-08-24 Thread jacopo mondi
Hi Niklas, On Fri, Aug 24, 2018 at 06:12:29PM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > Thanks for your work. > > On 2018-08-24 12:24:19 +0200, Jacopo Mondi wrote: > > Add support for D3 Draak board. > > > > Draak has its HDMI input connected to

Re: [PATCH v2 3/4] vin-tests: Add capture format for parallel input

2018-08-24 Thread jacopo mondi
Hi Niklas, On Fri, Aug 24, 2018 at 06:18:13PM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > Thanks for your work. > > On 2018-08-24 12:24:21 +0200, Jacopo Mondi wrote: > > Add configurable capture format to propagate_parallel() function. > > The capture format is the

Testing HDMI on E3

2018-08-24 Thread jacopo mondi
Hi Laurent +Niklas in CC for support +renesas-socs to document the procedure In order to test HDMI capture on D3 and Salvator-x boards, I have always used Niklas' great vin-tests suite git://git.ragnatech.se/vin-tests And I suggest to do the same for E3. * Add E3 support to

[PATCH v2 2/4] vin-tests: Fix vdev name in propagate_parallel

2018-08-24 Thread Jacopo Mondi
The $vdev variable was not defined in propagate_parallel() function. Signed-off-by: Jacopo Mondi --- scripts/vin-tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/vin-tests.sh b/scripts/vin-tests.sh index ebb1477..0c5b29a 100644 --- a/scripts/vin-tests.sh +++ b/scripts/vin

[PATCH v2 3/4] vin-tests: Add capture format for parallel input

2018-08-24 Thread Jacopo Mondi
Add configurable capture format to propagate_parallel() function. The capture format is the image format set on the VIN nodes. Signed-off-by: Jacopo Mondi --- scripts/boards.sh| 2 ++ scripts/vin-tests.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts

[PATCH v2 4/4] vin-tests: yavta-hdmi: Add VIN4 and parallel link

2018-08-24 Thread Jacopo Mondi
Add support for VIN4 to yavta-hdmi and check if format propagation should go through 'mc_propagate_parallel()' if the HDMI receiver chip is an ADV7612 one. Signed-off-by: Jacopo Mondi --- yavta-hdmi | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/yavta-hdmi b

[PATCH v2 1/4] vin-tests: Add support for D3 Draak

2018-08-24 Thread Jacopo Mondi
Add support for D3 Draak board. Draak has its HDMI input connected to an ADV7612 which connects to VIN4 parallel data inputs. Signed-off-by: Jacopo Mondi --- scripts/boards.sh | 9 + 1 file changed, 9 insertions(+) diff --git a/scripts/boards.sh b/scripts/boards.sh index 26fdab9

[PATCH v2 0/4] vin-tests: Add D3 Draak support

2018-08-24 Thread Jacopo Mondi
). And I have converted images with: $for i in `ls frame-*.bin`; do raw2rgbpnm -f BGR32 -s640x480 $i /tmp/$i.pnm; done I am not sure about the formats I have used, but they give me the best results, even if the images are flickered and not completely centered :/ Thanks j Jacopo Mondi (4): vin

[RFT 5/8] pinctrl: sh-pfc: r8a77990: Add VIN pins, groups and functions

2018-08-20 Thread Jacopo Mondi
From: Takeshi Kihara This patch adds VIN{4,5} pins, groups and functions to the R8A77990 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Jacopo Mondi --- drivers/pinctrl/sh-pfc/pfc-r8a77990.c | 504 ++ 1 file changed, 504 insertions(+) diff --git a/drivers

[RFT 0/8] arm64: dts: renesas: Ebisu: Add HDMI and CVBS input

2018-08-20 Thread Jacopo Mondi
: the list of upported patches will be sent separately. Jacopo Mondi (5): media: dt-bindings: media: rcar-vin: Add R8A77990 support media: rcar-vin: Add support for R-Car R8A77990 dt-bindings: media: rcar-csi2: Add R8A77990 media: rcar-csi2: Add R8A77990 support arm64: dts: renesas: ebisu: Add

[RFT 1/8] media: dt-bindings: media: rcar-vin: Add R8A77990 support

2018-08-20 Thread Jacopo Mondi
Add compatible string for R-Car E3 R8A77990 to the list of SoCs supported by rcar-vin driver. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/media/rcar_vin.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/rcar_vin.txt b

[RFT 2/8] media: rcar-vin: Add support for R-Car R8A77990

2018-08-20 Thread Jacopo Mondi
Add R-Car E3 R8A77990 SoC to the rcar-vin supported ones. Based on the experimental patch from Magnus Damm. Signed-off-by: Jacopo Mondi --- drivers/media/platform/rcar-vin/rcar-core.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar

Re: [PATCH 09/14] dt-bindings: arm: Document Renesas R-Car M3-N-based ULCB board

2018-08-10 Thread jacopo mondi
n Sun, Aug 05, 2018 at 10:15:43AM +0200, jacopo mondi wrote: > > > Helle Eugeniu, > > > > > > On Sun, Aug 05, 2018 at 01:11:09AM +0200, Eugeniu Rosca wrote: > > > > In harmony with ATF and U-Boot outputs [1] and [2], the new board is > > > > based on

Re: [PATCH 14/14] arm64: dts: renesas: r8a77965: ulcb-kf: Initial device tree

2018-08-05 Thread jacopo mondi
Hi Eugeniu, On Sun, Aug 05, 2018 at 01:11:14AM +0200, Eugeniu Rosca wrote: > Signed-off-by: Eugeniu Rosca > --- > arch/arm64/boot/dts/renesas/Makefile | 1 + > arch/arm64/boot/dts/renesas/r8a77965-ulcb-kf.dts | 20 > 2 files changed, 21 insertions(+) > > diff

Re: [PATCH 10/14] arm64: dts: renesas: r8a77965: ulcb: Initial device tree

2018-08-05 Thread jacopo mondi
OD 724>, > + < CPG_MOD 723>, > + < CPG_MOD 721>, > + < 1>, > + < 3>, > + < 2>; > + clock-names = "du.0", "du.1", "du.3", > + "dclkin.0", "dclkin.1", "dclkin.3"; > +}; Ditto. With the license things fixed, Reviewed-by: Jacopo Mondi Thanks j > -- > 2.18.0 > signature.asc Description: PGP signature

Re: [PATCH 09/14] dt-bindings: arm: Document Renesas R-Car M3-N-based ULCB board

2018-08-05 Thread jacopo mondi
Helle Eugeniu, On Sun, Aug 05, 2018 at 01:11:09AM +0200, Eugeniu Rosca wrote: > In harmony with ATF and U-Boot outputs [1] and [2], the new board is > based on M3-N revision ES1.1 and the amount of memory present on SiP > is 2GiB, contiguously addressed. Not sure why the amount of installed

[RFC/RTF] drm: rcar-du: lvds: Handle LVDS interface reset

2018-08-01 Thread Jacopo Mondi
s requires, according to section 37.3.7 of the manual, to de-assert the reset to have it functional. Based on the original patch from Koji Matsuoka Signed-off-by: Jacopo Mondi --- This patch upports commit: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git/c

[v2 2/2] media: i2c: Add driver for Aptina MT9V111

2018-07-25 Thread Jacopo Mondi
From: Jacopo Mondi Add V4L2 sensor driver for Aptina MT9V111 CMOS image sensor. The MT9V111 is a 1/4-Inch CMOS image sensor based on MT9V011 with an integrated Image Flow Processor. Reviewed-by: Kieran Bingham Signed-off-by: Jacopo Mondi --- drivers/media/i2c/Kconfig | 11 + drivers

[v2 1/2] dt-bindings: media: i2c: Document MT9V111 bindings

2018-07-25 Thread Jacopo Mondi
From: Jacopo Mondi Add documentation for Aptina MT9V111 image sensor. Reviewed-by: Rob Herring Signed-off-by: Jacopo Mondi --- .../bindings/media/i2c/aptina,mt9v111.txt | 46 ++ MAINTAINERS| 8 2 files changed, 54

[v2 0/2] media: i2c: mt9v111 sensor driver

2018-07-25 Thread Jacopo Mondi
- Move MAINTAINERS modifications to bindings patch - Fix resolution in bindings document - Drop dependency on OF - Drop subdev 'open' function in favour of pad operation init_cfg and use a default configuration to initialize the sensor - Turn off power if sensor identification fails Jacopo Mondi

[PATCH] ARM: dts: gr-peach: Add GR-Peach audiocamerashield support

2018-07-03 Thread Jacopo Mondi
Add device tree header for GR-Peach's audiocamerashield with MT9V111 image sensor. Signed-off-by: Jacopo Mondi --- The GR-Peach audiocamera shield is an expansion board for the GR-Peach that comes with an MT9V111 camera module. https://www.core.co.jp/product/m2m/gr-peach/audio-camera.html

[PATCH 1/2] dt-bindings: media: i2c: Document MT9V111 bindings

2018-06-11 Thread Jacopo Mondi
Add documentation for Aptina MT9V111 image sensor. Signed-off-by: Jacopo Mondi --- .../bindings/media/i2c/aptina,mt9v111.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/aptina,mt9v111.txt diff --git

[PATCH 2/2] media: i2c: Add driver for Aptina MT9V111

2018-06-11 Thread Jacopo Mondi
Add V4L2 sensor driver for Aptina MT9V111 CMOS image sensor. The MT9V111 is a 1/4-Inch CMOS image sensor based on MT9V011 with an integrated Image Flow Processor. Signed-off-by: Jacopo Mondi --- MAINTAINERS |8 + drivers/media/i2c/Kconfig | 12 + drivers/media/i2c

[PATCH 0/2] media: i2c: mt9v111 sensor driver

2018-06-11 Thread Jacopo Mondi
is initialized with auto-exposure control, auto white balancing and flickering control disabled. Tested VGA, QVGA QQVGA resolutions at 5, 10, 15 and 30 frame per second. Thanks j Jacopo Mondi (2): dt-bindings: media: i2c: Document MT9V111 bindings media: i2c: Add driver for Aptina MT9V111

[PATCH 3/5] arch: sh: kfr2r09: Use new renesas-ceu camera driver

2018-05-28 Thread Jacopo Mondi
source names, as commit c2f9b05fd5c1 ("media: arch: sh: ecovec: Use new renesas-ceu camera driver") already updated it to the new ceu driver name for all SH7724 boards (possibly breaking kfr2r09 before this commit). Compile tested only. Signed-off-by: Jacopo Mondi <jacopo+rene.

[PATCH 0/5] Remove sh_mobile_ceu_camera from arch/sh

2018-05-28 Thread Jacopo Mondi
hard to find this platforms around and testing would be awesome if somebody happens to have one of these. Thanks j [1] https://patchwork.linuxtv.org/patch/49318/ https://patchwork.linuxtv.org/patch/49317/ https://patchwork.linuxtv.org/patch/49312/ Jacopo Mondi (5): media: i2c: Copy

[PATCH 1/5] media: i2c: Copy rj54n1cb0c soc_camera sensor driver

2018-05-28 Thread Jacopo Mondi
Copy the soc_camera based driver in v4l2 sensor driver directory. This commit just copies the original file without modifying it. No modification to KConfig and Makefile as soc_camera framework dependencies need to be removed first in next commit. Signed-off-by: Jacopo Mondi <jacopo+r

[PATCH 5/5] arch: sh: ap325rxa: Use new renesas-ceu camera driver

2018-05-28 Thread Jacopo Mondi
(of 'magic blobs) from the board file itself. I removed the sensor registration from this new version as it used soc_camera components that will be later removed. While at there update license to SPDX header and sort headers alphabetically. Compile tested only. Signed-off-by: Jacopo Mondi <jacopo+r

[PATCH 4/5] arch: sh: ms7724se: Use new renesas-ceu camera driver

2018-05-28 Thread Jacopo Mondi
covec: Use new renesas-ceu camera driver") already updated it to the new ceu driver name for all SH7724 boards (possibly breaking ms7724se before this commit). Compile tested only. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/sh/boards/mach-se/77

[PATCH 2/5] media: i2c: rj54n1: Remove soc_camera dependencies

2018-05-28 Thread Jacopo Mondi
to test. This commits does not remove the original soc_camera based driver. Compiled tested only. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- MAINTAINERS| 8 +++ drivers/media/i2c/Kconfig | 11 +++ drivers/media/i2c/Makefile | 1 + drivers

Re: [PATCH v4 5/9] media: rcar-vin: Parse parallel input on Gen3

2018-05-25 Thread jacopo mondi
Hi Niklas, I might have another question before sending v5. On Fri, May 25, 2018 at 12:29:44AM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > Thanks for your work. > > I really like what you did with this patch in v4. > > On 2018-05-25 00:02:15 +0200, Jacopo Mondi wr

Re: [PATCH v4 5/9] media: rcar-vin: Parse parallel input on Gen3

2018-05-25 Thread jacopo mondi
n 2018-05-25 00:02:15 +0200, Jacopo Mondi wrote: > > The rcar-vin driver so far had a mutually exclusive code path for > > handling parallel and CSI-2 video input subdevices, with only the CSI-2 > > use case supporting media-controller. As we add support for parallel > > inputs

[PATCH v4 3/9] media: rcar-vin: Create a group notifier

2018-05-24 Thread Jacopo Mondi
-compliant code path, each VIN may register its own notifier if any parallel subdevice is connected there. To avoid registering a notifier twice (once for parallel subdev and one for the CSI-2 subdevs) create a group notifier, shared by all the VIN instances. Signed-off-by: Jacopo Mondi <jacopo+r

[PATCH v4 5/9] media: rcar-vin: Parse parallel input on Gen3

2018-05-24 Thread Jacopo Mondi
, handling the media-controller use case in the parallel bound/unbind notifier operations. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- v3 -> v4: - Change the mc/parallel initialization order. Initialize mc first, then parallel - As a consequence no need to delay parallel

[PATCH v4 0/9] rcar-vin: Add support for parallel input on Gen3

2018-05-24 Thread Jacopo Mondi
give this one a spin please? No changelog reported here, except from the one reported above. Most of the other changes are minors, the most notable ones are reported in each patch commit message. Thanks j Jacopo Mondi (9): media: rcar-vin: Rename 'digital' to 'parallel' media: rcar-vin

[PATCH v4 7/9] media: rcar-vin: Handle parallel subdev in link_notify

2018-05-24 Thread Jacopo Mondi
-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Acked-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/media/platform/rcar-vin/rcar-core.c | 35 - 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/rcar-vin

[PATCH v4 8/9] media: rcar-vin: Rename _rcar_info to rcar_info

2018-05-24 Thread Jacopo Mondi
Remove leading underscore to align all rcar_group_route structure declarations. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Acked-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/media/platform/rcar-vin/rcar-core.c | 4 ++-- 1 file changed, 2 inse

[PATCH v4 6/9] media: rcar-vin: Link parallel input media entities

2018-05-24 Thread Jacopo Mondi
When running with media-controller link the parallel input media entities with the VIN entities at 'complete' callback time. To create media links the v4l2_device should be registered first. Check if the device is already registered, to avoid double registrations. Signed-off-by: Jacopo Mondi

[PATCH v4 9/9] media: rcar-vin: Add support for R-Car R8A77995 SoC

2018-05-24 Thread Jacopo Mondi
Add R-Car R8A77995 SoC to the rcar-vin supported ones. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- drivers/media/platform/rc

[PATCH v4 1/9] media: rcar-vin: Rename 'digital' to 'parallel'

2018-05-24 Thread Jacopo Mondi
As the term 'digital' is used all over the rcar-vin code in place of 'parallel', rename all the occurrencies. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Acked-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/media/platform/rcar-vin/rcar

[PATCH v4 4/9] media: rcar-vin: Cache the mbus configuration flags

2018-05-24 Thread Jacopo Mondi
to the link state change notification function. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/media/platform/rcar-vin/rcar-core.c | 21 --- drivers/media/platform/rcar-vin/rcar-dma.c | 32 +++-- drivers/media/platform/rcar-vin/rcar

[PATCH v4 2/9] media: rcar-vin: Remove two empty lines

2018-05-24 Thread Jacopo Mondi
Remove un-necessary empty lines. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Acked-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/media/platform/rcar-vin/rcar-core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/platform/r

Re: [PATCH v3 1/9] media: rcar-vin: Rename 'digital' to 'parallel'

2018-05-24 Thread jacopo mondi
Hi Niklas, On Thu, May 24, 2018 at 12:42:25AM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > Thanks for your patch. > > On 2018-05-18 16:40:37 +0200, Jacopo Mondi wrote: > > As the term 'digital' is used all over the rcar-vin code in place of > > 'parallel',

Re: [PATCH v3 2/3] arm64: dts: renesas: draak: Describe CVBS input

2018-05-24 Thread jacopo mondi
HI Laurent, On Mon, May 21, 2018 at 04:10:34PM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > On Monday, 21 May 2018 15:33:40 EEST jacopo mondi wrote: > > On Mon, May 21, 2018 at 01:54:55PM +0300, Laurent Pinchart wrote: > > > On Monday, 21 May 2018 12:57:05

[PATCH v2 1/4] dt-bindings: media: rcar-vin: Describe optional ep properties

2018-05-21 Thread Jacopo Mondi
Describe the optional properties for endpoint nodes of port@0 and port@1 of the R-Car VIN driver device tree bindings documentation. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Acked-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- Documentation/devicet

[PATCH v2 4/4] ARM: dts: rcar-gen2: Remove unused VIN properties

2018-05-21 Thread Jacopo Mondi
The 'bus-width' and 'pclk-sample' properties are not parsed by the VIN driver and only confuse users. Remove them in all Gen2 SoC that use them. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dts/r8a7790-lager.dts | 3 --- arch/arm/boot/dts/r8a7791-koelsch.d

  1   2   3   4   5   6   7   8   9   >