Re: [PATCH v9 03/11] media: platform: Add Renesas CEU driver

2018-02-21 Thread jacopo mondi
Hi Laurent, Hans, On Wed, Feb 21, 2018 at 02:02:59PM +0100, Hans Verkuil wrote: > On 02/21/18 13:29, Laurent Pinchart wrote: > > Hi Hans, > > > > On Wednesday, 21 February 2018 14:03:24 EET Hans Verkuil wrote: > >> On 02/19/18 17:59, Jacopo Mondi wrote: > >>

Re: [PATCH v9 11/11] media: i2c: ov7670: Fully set mbus frame fmt

2018-02-21 Thread jacopo mondi
Hello again, On Tue, Feb 20, 2018 at 09:58:57AM +0100, jacopo mondi wrote: > Hi Laurent, > > On Mon, Feb 19, 2018 at 09:19:32PM +0200, Laurent Pinchart wrote: > > Hi Jacopo, > > > > Thank you for the patch. > > > > On Monday, 19 February 2018 18:59:44 E

Re: [PATCH v9 07/11] media: i2c: ov772x: Support frame interval handling

2018-02-21 Thread jacopo mondi
Hi Hans, On Wed, Feb 21, 2018 at 01:12:14PM +0100, Hans Verkuil wrote: [snip] > > +static int ov772x_g_frame_interval(struct v4l2_subdev *sd, > > + struct v4l2_subdev_frame_interval *ival) > > +{ > > + struct ov772x_priv *priv = to_ov772x(sd); > > + struct

Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-21 Thread jacopo mondi
Hi Sergei, On Tue, Feb 20, 2018 at 06:30:56PM +0300, Sergei Shtylyov wrote: > On 02/20/2018 06:12 PM, Jacopo Mondi wrote: > > > Populate the ethernet@e680 device node to enable Ethernet interface > > for R-Car M3-N (r8a77965) SoC. > > > > Signed-off-by: Jacopo Mo

[PATCH v2 02/19] soc: renesas: rcar-rst: Add support for R-Car M3-N

2018-02-20 Thread Jacopo Mondi
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/devicetree/bindings/reset/renesas,rst.txt | 1 + drivers/soc/renesas/Kconfig | 4 ++-- drivers/soc/renesas/rcar-rst.c | 1 + 3 files changed, 4 insertions(+), 2 del

[PATCH v2 03/19] soc: renesas: Identify R-Car M3-N

2018-02-20 Thread Jacopo Mondi
Add support for indentifying R-Car M3-N (R8A77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/soc/renesas/renesas-soc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 0

[PATCH v2 04/19] soc: renesas: rcar-sysc: Add R-Car M3-N support

2018-02-20 Thread Jacopo Mondi
Add support for R-Car M3-N (R8A77965) power areas. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- v1->v2: - Remove A2VC0 power area - Add A3VP power area --- .../bindings/power/renesas,rcar-sysc.txt | 1 + drivers/soc/renesas/Kconfig

[PATCH v2 06/19] dt-bindings: arm: Document R-Car M3-N SoC DT bindings

2018-02-20 Thread Jacopo Mondi
Add device tree bindings documentation for Renesas R-Car M3-N (r8a77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/ar

[PATCH v2 08/19] ARM64: dts: Add Renesas R8A77965 SoC support

2018-02-20 Thread Jacopo Mondi
Basic support for the Gen 3 R-Car M3-N SoC. Based on original work from: Takeshi Kihara <takeshi.kihara...@renesas.com> Magnus Damm <damm+rene...@opensource.se> Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- v1 -> v2: - Split r8a77965.dtsi from patch v1 [5/

[PATCH v2 10/19] dt-bindings: dmaengine: rcar-dmac: document R8A77965 support

2018-02-20 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to rcar-dmac device tree bindings documentation. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Simon Horman <horms+rene...@verge.net.au> --- Docume

[PATCH v2 07/19] ARM64: Add Renesas R-Car M3-N config symbol

2018-02-20 Thread Jacopo Mondi
Add configuration option for the R-Car M3-N (R8A77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/Kconfig.platforms | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index b51db26..2b1535c

[PATCH v2 09/19] ARM64: dts: Add R-Car Salvator-x M3-N support

2018-02-20 Thread Jacopo Mondi
Add basic support for R-Car Salvator-X M3-N (R8A77965) board. Based on original work from: Takeshi Kihara <takeshi.kihara...@renesas.com> Magnus Damm <damm+rene...@opensource.se> Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- v1 -> v2: - split from patc

[PATCH v2 12/19] dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF

2018-02-20 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to Renesas sci-serial device tree bindings documentation. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/devicetree/bindings/serial/renesas,sci-serial.txt | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH v2 11/19] ARM64: dts: r8a77965: Add dmac device nods

2018-02-20 Thread Jacopo Mondi
Add dmac[0-2] device nodes for R-Car M3-N (r8a77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 96 ++- 1 file changed, 93 inse

[PATCH v2 13/19] pinctrl: sh-pfc: r8a77965: Add SCIFs groups/functions

2018-02-20 Thread Jacopo Mondi
Add SCIF[0-5] groups and pin function definitions for R-Car M3-N. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v1 -> v2: - Remove _TANS --- drivers/pinctrl/sh-pfc/pfc-r8a77965.c | 296 ++

[PATCH v2 14/19] ARM64: dts: r8a77965: Add SCIF device nodes

2018-02-20 Thread Jacopo Mondi
Add SCIF[0-5] device nodes for M3-N (r8a77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v1 -> v2: - Replace clock and power areas definition with raw numbers - Fix compatible strings s/r8a7796/r8a7

[PATCH v2 15/19] dt-bindings: gpio: Add support for r8a77965

2018-02-20 Thread Jacopo Mondi
Add compatible string for R-Car M3-N (r8a77965) in gpio-rcar. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v1 -> v2: - Drop SoC-specific compatible string from drivers/gpio/gpio-rcar.c - Change patch sub

[PATCH v2 16/19] ARM64: dts: r8a77965: Add GPIO nodes

2018-02-20 Thread Jacopo Mondi
Add GPIO nodes to r8a77965 SoC device tree file. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v1 -> v2: - Replace ALWAYS_ON power area define with numeric constant - Do not move gpio nodes --- arch/arm64/b

[PATCH v2 18/19] pinctrl: sh-pfc: r8a77965: Add EtherAVB groups/functions

2018-02-20 Thread Jacopo Mondi
Add EtherAVB groups and functions definitions for R-Car M3-N. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- drivers/pinctrl/sh-pfc/pfc-r8a77965.c | 110 ++ 1 file changed, 11

[PATCH v2 17/19] dt-bindings: net: ravb: Add support for r8a77965 SoC

2018-02-20 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to renesas ravb device tree bindings documentation. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Simon Horman <horms+rene...@verge.net.au> Acked-b

[PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-20 Thread Jacopo Mondi
Populate the ethernet@e680 device node to enable Ethernet interface for R-Car M3-N (r8a77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v1 -> v2: - Replace ALWAYS_ON power area identifier with n

[PATCH v2 01/19] clk: renesas: cpg-mssr: Add support for R-Car M3-N

2018-02-20 Thread Jacopo Mondi
Initial support for R-Car M3-N (r8a77965), including core and module clocks. Based on Table 8.2d of "R-Car Series, 3rd Generation User's Manual: Hardware (Rev. 0.80, Oct 31, 2017)". Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geer

[PATCH v2 00/19] R-Car M3-N initial support

2018-02-20 Thread Jacopo Mondi
ysc in drivers/soc/ - Split patches when adding device tree file for Salvator-X board and r8a77965 SoC. - Single change logs are reported per-patch Jacopo Mondi (19): clk: renesas: cpg-mssr: Add support for R-Car M3-N soc: renesas: rcar-rst: Add support for R-Car M3-N soc: renesas: Identify R-Car M

Re: [PATCH 11/15] gpio: rcar: Add R-Car M3-N compatible string

2018-02-20 Thread jacopo mondi
Hi Geert, On Wed, Feb 14, 2018 at 03:05:05PM +0100, Geert Uytterhoeven wrote: > On Tue, Feb 13, 2018 at 10:45 AM, Jacopo Mondi > <jacopo+rene...@jmondi.org> wrote: > > Add compatible string for R-Car M3-N (r8a77965) in gpio-rcar. > > > > Signed-off-by: Jacopo Mo

Re: [PATCH 03/15] soc: renesas: Add R-Car M3-N support

2018-02-20 Thread jacopo mondi
Hi Geert, On Wed, Feb 14, 2018 at 01:48:27PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > Thanks for your patch! > > On Tue, Feb 13, 2018 at 10:45 AM, Jacopo Mondi > <jacopo+rene...@jmondi.org> wrote: > > Add support for R-Car M3-N (r8a77965) power areas a

Re: [PATCH v9 11/11] media: i2c: ov7670: Fully set mbus frame fmt

2018-02-20 Thread jacopo mondi
Hi Laurent, On Mon, Feb 19, 2018 at 09:19:32PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Monday, 19 February 2018 18:59:44 EET Jacopo Mondi wrote: > > The sensor driver sets mbus format colorspace information and sizes, >

[PATCH v9 00/11] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-02-19 Thread Jacopo Mondi
rivers in Migo-R setup -- Updated sensors (tw9910 and ov772x) drivers headers and drivers to close remarks from Hans and Laurent: --- Removed platform callbacks and handle clocks and gpios from sensor drivers --- Remove g/s_mbus_config operations Jacopo Mondi (11): dt-bindings: media: Add Rene

[PATCH v9 02/11] include: media: Add Renesas CEU driver interface

2018-02-19 Thread Jacopo Mondi
Add renesas-ceu header file. Do not remove the existing sh_mobile_ceu.h one as long as the original driver does not go away. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.ve

[PATCH v9 01/11] dt-bindings: media: Add Renesas CEU bindings

2018-02-19 Thread Jacopo Mondi
Add bindings documentation for Renesas Capture Engine Unit (CEU). Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Rob Herring <r...@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <h

[PATCH v9 03/11] media: platform: Add Renesas CEU driver

2018-02-19 Thread Jacopo Mondi
. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + d

[PATCH v9 04/11] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)

2018-02-19 Thread Jacopo Mondi
Add Capture Engine Unit (CEU) node to device tree. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.co

[PATCH v9 05/11] media: i2c: Copy ov772x soc_camera sensor driver

2018-02-19 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 v9 06/11] media: i2c: ov772x: Remove soc_camera dependencies

2018-02-19 Thread Jacopo Mondi
depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- drivers/media/i2c/Kconfig | 11 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov

[PATCH v9 07/11] media: i2c: ov772x: Support frame interval handling

2018-02-19 Thread Jacopo Mondi
Add support to ov772x driver for frame intervals handling and enumeration. Tested with 10MHz and 24MHz input clock at VGA and QVGA resolutions for 10, 15 and 30 frame per second rates. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laur

[PATCH v9 09/11] media: i2c: tw9910: Remove soc_camera dependencies

2018-02-19 Thread Jacopo Mondi
soc_camera based driver as long as other platforms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/

[PATCH v9 08/11] media: i2c: Copy tw9910 soc_camera sensor driver

2018-02-19 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 v9 10/11] arch: sh: migor: Use new renesas-ceu camera driver

2018-02-19 Thread Jacopo Mondi
specific part from CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- arch/sh/boards/mach-migor/setup.c | 225 +++--

[PATCH v9 11/11] media: i2c: ov7670: Fully set mbus frame fmt

2018-02-19 Thread Jacopo Mondi
-compliance, which supplies a mbus format description structure and checks for all fields to be properly set. Without this commit, v4l2-compliance fails when testing formats with: fail: v4l2-test-formats.cpp(335): ycbcr_enc >= 0xff Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- driv

Re: [PATCH 04/15] pinctrl: sh-pfc: Initial R-Car M3-N support

2018-02-14 Thread jacopo mondi
Hi Geert, thanks for review On Wed, Feb 14, 2018 at 02:37:08PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Tue, Feb 13, 2018 at 10:45 AM, Jacopo Mondi > <jacopo+rene...@jmondi.org> wrote: > > Add initial PFC support for R-Car M3-N (r8a77965) SoC. > >

[PATCH 01/15] Documentation: devicetree: R-Car M3-N SoC DT bindings

2018-02-13 Thread Jacopo Mondi
Add device tree bindings documentation for Renesas R-Car M3-N (r8a77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/shmobile.

[PATCH 00/15] R-Car M3-N initial support

2018-02-13 Thread Jacopo Mondi
, with the exception of a missing PLL line used to power M3-W Cortex-A53 little cores, not present in M3-N. Few functionalities have currently been enabled in DTS and tested: serial boot console, EtherAVB and gpios (tested as ethernet interface reset). Thanks j Jacopo Mondi (15): Documentation

[PATCH 02/15] clk: renesas: cpg-msr: Add support for R-Car M3-N

2018-02-13 Thread Jacopo Mondi
Initial support for R-Car M3-N (r8a77965), including core and module clocks. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- .../devicetree/bindings/clock/renesas,cpg-mssr.txt | 1 + drivers/clk/renesas/Kconfig| 5 + drivers/clk/renesas/Ma

[PATCH 03/15] soc: renesas: Add R-Car M3-N support

2018-02-13 Thread Jacopo Mondi
Add support for R-Car M3-N (r8a77965) power areas and reset. M3-N power areas are identical to M3-W ones, so just copy and rename them. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- .../bindings/power/renesas,rcar-sysc.txt | 1 + .../devicetree/bindings/reset/r

[PATCH 05/15] ARM64: dts: Add R-Car Salvator-x M3-N support

2018-02-13 Thread Jacopo Mondi
Add initial support for R-Car M3-N Salvator-x and r8a77965 SoC in device tree with cpg-mssr, reset and clock nodes. Add place-holder device nodes for all nodes referred by "salvator-common.dtsi" Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/K

[PATCH 06/15] Documentation: devicetree: dma: Add r8a77965 dmac

2018-02-13 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to rcar-dmac device tree bindings documentation. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devi

[PATCH 08/15] Documentation: devicetree: renesas,sci: Add r8a77965

2018-02-13 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to reneass sci-serial device tree bindings documentation. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/devicetree/bindings/serial/renesas,sci-serial.txt | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH 09/15] pinctrl: sh-pfc: r8a77965: Add SCIFs groups/functions

2018-02-13 Thread Jacopo Mondi
Add SCIF[0-5] groups and pin function definitions for R-Car M3-N. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/pinctrl/sh-pfc/pfc-r8a77965.c | 296 ++ 1 file changed, 296 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7796

[PATCH 10/15] ARM64: dts: r8a77965: Add SCIF device nodes

2018-02-13 Thread Jacopo Mondi
Add SCIF[0-5] device nodes for M3-N (r8a77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 85 --- 1 file changed, 79 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7796

[PATCH 07/15] ARM64: dts: r8a77965: Add dmac device nods

2018-02-13 Thread Jacopo Mondi
Add dmac[0-2] device nodes for R-Car M3-N (r8a77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 96 ++- 1 file changed, 93 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/r

[PATCH 11/15] gpio: rcar: Add R-Car M3-N compatible string

2018-02-13 Thread Jacopo Mondi
Add compatible string for R-Car M3-N (r8a77965) in gpio-rcar. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt | 1 + drivers/gpio/gpio-rcar.c | 4 2 files changed, 5 inse

[PATCH 13/15] Documentation: devicetree: ravb: Add r8a77965

2018-02-13 Thread Jacopo Mondi
Add documentation for r8a77965 compatible string to renesas ravb device tree bindings documentation. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/devicetree/bindings/net/renesas,ravb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devi

[PATCH 14/15] pinctrl: sh-pfc: r8a77965: Add EtherAVB groups/functions

2018-02-13 Thread Jacopo Mondi
Add EtherAVB groups and functions definitions for R-Car M3-N. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/pinctrl/sh-pfc/pfc-r8a77965.c | 110 ++ 1 file changed, 110 insertions(+) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7796

[PATCH 12/15] ARM64: dts: r8a77965: Add GPIO nodes

2018-02-13 Thread Jacopo Mondi
Add GPIO nodes to r8a77965 SoC device tree file. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 152 +++--- 1 file changed, 120 insertions(+), 32 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7796

[PATCH 15/15] ARM64: dts: r8a77965: Add EtherAVB device node

2018-02-13 Thread Jacopo Mondi
Populate the ethernet@e680 device node to enable Ethernet interface for R-Car M3-N (r8a77965) SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 43 ++- 1 file changed, 42 insertions(+), 1 deletion(-)

[PATCH] ARM: shmobile: Enable RZA1 pin controller

2018-02-09 Thread Jacopo Mondi
Enable PINCTRL_RZA1 option in shmobile_defconfig Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Hi Simon, this fixes the issue you reported on Genmai when applying shmobile_defconfig. --- arch/arm/configs/shmobile_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v8 07/11] media: i2c: ov772x: Support frame interval handling

2018-01-31 Thread jacopo mondi
Hi Laurent, thanks for review Resuming here the brief conversation on #v4l with you and Hans... On Wed, Jan 31, 2018 at 12:34:59PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Tuesday, 30 January 2018 11:58:18 EET Jacopo Mondi wrote:

[PATCH v8 01/11] dt-bindings: media: Add Renesas CEU bindings

2018-01-30 Thread Jacopo Mondi
Add bindings documentation for Renesas Capture Engine Unit (CEU). Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Rob Herring <r...@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <h

[PATCH v8 04/11] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)

2018-01-30 Thread Jacopo Mondi
Add Capture Engine Unit (CEU) node to device tree. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.co

[PATCH v8 00/11] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-30 Thread Jacopo Mondi
ndle clocks and gpios from sensor drivers --- Remove g/s_mbus_config operations Jacopo Mondi (11): dt-bindings: media: Add Renesas CEU bindings include: media: Add Renesas CEU driver interface media: platform: Add Renesas CEU driver ARM: dts: r7s72100: Add Capture Engine Unit (CEU) media: i2c: Co

[PATCH v8 03/11] media: platform: Add Renesas CEU driver

2018-01-30 Thread Jacopo Mondi
. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + d

[PATCH v8 02/11] include: media: Add Renesas CEU driver interface

2018-01-30 Thread Jacopo Mondi
Add renesas-ceu header file. Do not remove the existing sh_mobile_ceu.h one as long as the original driver does not go away. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.ve

[PATCH v8 06/11] media: i2c: ov772x: Remove soc_camera dependencies

2018-01-30 Thread Jacopo Mondi
depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- drivers/media/i2c/Kconfig | 11 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov

[PATCH v8 05/11] media: i2c: Copy ov772x soc_camera sensor driver

2018-01-30 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 v8 07/11] media: i2c: ov772x: Support frame interval handling

2018-01-30 Thread Jacopo Mondi
Add support to ov772x driver for frame intervals handling and enumeration. Tested with 10MHz and 24MHz input clock at VGA and QVGA resolutions for 10, 15 and 30 frame per second rates. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/media/i2c/ov772x.c

[PATCH v8 09/11] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-30 Thread Jacopo Mondi
soc_camera based driver as long as other platforms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/

[PATCH v8 08/11] media: i2c: Copy tw9910 soc_camera sensor driver

2018-01-30 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 v8 10/11] arch: sh: migor: Use new renesas-ceu camera driver

2018-01-30 Thread Jacopo Mondi
specific part from CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- arch/sh/boards/mach-migor/setup.c | 225 +++--

Re: [PATCH v7 07/11] media: i2c: ov772x: Support frame interval handling

2018-01-30 Thread jacopo mondi
Hi Laurent, On Mon, Jan 29, 2018 at 01:01:01PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Friday, 26 January 2018 15:55:26 EET Jacopo Mondi wrote: > > Add support to ov772x driver for frame intervals handling and enumeration. > >

Re: [PATCH] sh: clk: Relax clk rate match test

2018-01-26 Thread jacopo mondi
Hi Geert, On Thu, Jan 25, 2018 at 03:39:32PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, [snip] > >> > --- > >> > drivers/sh/clk/core.c | 9 ++--- > >> > 1 file changed, 6 insertions(+), 3 deletions(-) > >> > > >> > diff --g

[PATCH v7 01/11] dt-bindings: media: Add Renesas CEU bindings

2018-01-26 Thread Jacopo Mondi
Add bindings documentation for Renesas Capture Engine Unit (CEU). Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Rob Herring <r...@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <h

[PATCH v7 02/11] include: media: Add Renesas CEU driver interface

2018-01-26 Thread Jacopo Mondi
Add renesas-ceu header file. Do not remove the existing sh_mobile_ceu.h one as long as the original driver does not go away. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.ve

[PATCH v7 00/11] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-26 Thread Jacopo Mondi
al comments from Hans, Laurent and Sakari - Migo-R -- Register clocks and gpios for sensor drivers in Migo-R setup -- Updated sensors (tw9910 and ov772x) drivers headers and drivers to close remarks from Hans and Laurent: --- Removed platform callbacks and handle clocks and gpios from sensor d

[PATCH v7 01/11] dt-bindings: media: Add Renesas CEU bindings

2018-01-26 Thread Jacopo Mondi
Add bindings documentation for Renesas Capture Engine Unit (CEU). Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Rob Herring <r...@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <h

[PATCH v7 04/11] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)

2018-01-26 Thread Jacopo Mondi
Add Capture Engine Unit (CEU) node to device tree. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.co

[PATCH v7 03/11] media: platform: Add Renesas CEU driver

2018-01-26 Thread Jacopo Mondi
. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + d

[PATCH v7 06/11] media: i2c: ov772x: Remove soc_camera dependencies

2018-01-26 Thread Jacopo Mondi
depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- drivers/media/i2c/Kconfig | 11 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov

[PATCH v7 05/11] media: i2c: Copy ov772x soc_camera sensor driver

2018-01-26 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 v7 07/11] media: i2c: ov772x: Support frame interval handling

2018-01-26 Thread Jacopo Mondi
Add support to ov772x driver for frame intervals handling and enumeration. Tested with 10MHz and 24MHz input clock at VGA and QVGA resolutions for 10, 15 and 30 frame per second rates. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/media/i2c/ov772x.c

[PATCH v7 08/11] media: i2c: Copy tw9910 soc_camera sensor driver

2018-01-26 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 v7 10/11] arch: sh: migor: Use new renesas-ceu camera driver

2018-01-26 Thread Jacopo Mondi
specific part from CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- arch/sh/boards/mach-migor/setup.c | 225 +++--

[PATCH v7 11/11] media: i2c: ov7670: Fully set mbus frame fmt

2018-01-26 Thread Jacopo Mondi
-compliance, which supplies a mbus format description structure and checks for all fields to be properly set. Without this commit, v4l2-compliance fails when testing formats with: fail: v4l2-test-formats.cpp(335): ycbcr_enc >= 0xff Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- driv

[PATCH v7 09/11] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-26 Thread Jacopo Mondi
soc_camera based driver as long as other platforms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/

[PATCH v7 02/11] include: media: Add Renesas CEU driver interface

2018-01-26 Thread Jacopo Mondi
Add renesas-ceu header file. Do not remove the existing sh_mobile_ceu.h one as long as the original driver does not go away. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.ve

Re: [PATCH v7 00/11] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-26 Thread jacopo mondi
UUUPS please ignore this submission as it contains patches from a previous version (you may have noticed some patches in the series reports [xx/09] in the subject). I will resend. Sorry for the noise On Fri, Jan 26, 2018 at 02:48:32PM +0100, Jacopo Mondi wrote: > Hello, > 7th round f

[PATCH v7 3/9] v4l: platform: Add Renesas CEU driver

2018-01-26 Thread Jacopo Mondi
. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + d

[PATCH v7 04/11] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)

2018-01-26 Thread Jacopo Mondi
Add Capture Engine Unit (CEU) node to device tree. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.co

[PATCH v7 03/11] media: platform: Add Renesas CEU driver

2018-01-26 Thread Jacopo Mondi
. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + d

[PATCH v7 05/11] media: i2c: Copy ov772x soc_camera sensor driver

2018-01-26 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 v7 06/11] media: i2c: ov772x: Remove soc_camera dependencies

2018-01-26 Thread Jacopo Mondi
depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- drivers/media/i2c/Kconfig | 11 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov

[PATCH v7 07/11] media: i2c: ov772x: Support frame interval handling

2018-01-26 Thread Jacopo Mondi
Add support to ov772x driver for frame intervals handling and enumeration. Tested with 10MHz and 24MHz input clock at VGA and QVGA resolutions for 10, 15 and 30 frame per second rates. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/media/i2c/ov772x.c

[PATCH v7 5/9] v4l: i2c: Copy ov772x soc_camera sensor driver

2018-01-26 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 v7 7/9] v4l: i2c: Copy tw9910 soc_camera sensor driver

2018-01-26 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 v7 08/11] media: i2c: Copy tw9910 soc_camera sensor driver

2018-01-26 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 v7 8/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-26 Thread Jacopo Mondi
soc_camera based driver as long as other platforms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/

[PATCH v7 9/9] arch: sh: migor: Use new renesas-ceu camera driver

2018-01-26 Thread Jacopo Mondi
specific part from CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- arch/sh/boards/mach-migor/setup.c | 225 +++--

[PATCH v7 09/11] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-26 Thread Jacopo Mondi
soc_camera based driver as long as other platforms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/

[PATCH v7 10/11] arch: sh: migor: Use new renesas-ceu camera driver

2018-01-26 Thread Jacopo Mondi
specific part from CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- arch/sh/boards/mach-migor/setup.c | 225 +++--

[PATCH v7 00/11] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-26 Thread Jacopo Mondi
al comments from Hans, Laurent and Sakari - Migo-R -- Register clocks and gpios for sensor drivers in Migo-R setup -- Updated sensors (tw9910 and ov772x) drivers headers and drivers to close remarks from Hans and Laurent: --- Removed platform callbacks and handle clocks and gpios from sensor d

Re: [PATCH] sh: clk: Relax clk rate match test

2018-01-25 Thread jacopo mondi
Hi Geert, On Thu, Jan 25, 2018 at 02:53:41PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > CC linux-clk (yes I know this is about the legacy SH clock framework, but > the public API is/should be the same) > > On Thu, Jan 25, 2018 at 12:24 PM, Jacopo Mondi > <jacopo+r

[PATCH] sh: clk: Relax clk rate match test

2018-01-25 Thread Jacopo Mondi
match test, allowing selection of clock rates immediately slower than the required one. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Hello renesas lists, I'm now working on handling frame rate for the ov7720 image sensor to have that driver accepted as part of v4l2. The sen

<    1   2   3   4   5   6   7   8   9   >