[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 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 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 05/19] pinctrl: sh-pfc: Initial R-Car M3-N support

2018-02-20 Thread Jacopo Mondi
Add initial PFC support for R-Car M3-N (r8a77965) SoC. No groups or functions defined, just pin and registers enumeration. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Rob Herring <r...@kernel.org> --- v1 -> v2: Applied the following patches for r8a7

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

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

Re: [PATCH 1/6] arm64: dts: renesas: r8a77965: Add "reg" properties

2018-02-23 Thread jacopo mondi
Hi Geert, On Fri, Feb 23, 2018 at 10:19:21AM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Thu, Feb 22, 2018 at 8:06 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> > wrote: > > Add "reg" properties to place-holder nodes with unit address defined for > &g

Re: [PATCH 6/6] arm64: dts: renesas: r8a77965: Add #interrupt-cells property

2018-02-23 Thread jacopo mondi
Hi Geert, On Fri, Feb 23, 2018 at 10:27:16AM +0100, Geert Uytterhoeven wrote: > On Thu, Feb 22, 2018 at 8:06 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> > wrote: > > Add "#interrupt-cells" property and "interrupt-controller" label to > >

[PATCH v2 7/7] arm64: dts: renesas: r8a77965: Move usb2_phy1 up

2018-02-23 Thread Jacopo Mondi
Move "usb2_ph1" place-holder device node next to "usb2_phy0" one. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/ren

[PATCH v2 3/7] arm64: dts: renesas: r8a77965: Remove stale reg property

2018-02-23 Thread Jacopo Mondi
Remove "reg" property from cache-controller-0 device node as it does not have any unit address. This silences the following DTC compiler warning: Warning (unit_address_vs_reg): Node /cpus/cache-controller-0 has a reg or ranges property, but no unit name Signed-off-by: Jacopo Mondi &l

[PATCH v2 1/7] arm64: dts: renesas: r8a77965: Add "reg" properties

2018-02-23 Thread Jacopo Mondi
Add "reg" properties to place-holder nodes with unit address defined for R-Car M3-N SoC. This silences the following DTC compiler warning: Warning (unit_address_vs_reg): Node /soc/... has a unit name, but no reg property Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Re

[PATCH v2 2/7] arm64: dts: renesas: r8a77965: Add #address-cells and #size-cells

2018-02-23 Thread Jacopo Mondi
(4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc/... Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc/... Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewe

[PATCH v2 4/7] arm64: dts: renesas: r8a77965: Add #phy-cells property

2018-02-23 Thread Jacopo Mondi
Add "#phy-cells" property to "usb-phy@e65ee000" device node. This silences the following DTC compiler warning: Warning (phys_property): Missing property '#phy-cells' in node /soc/usb-phy@e65ee000 or bad phandle (referred from /soc/usb@ee02:phys[0]) Signed-off-by: Jacop

[PATCH v2 6/7] arm64: dts: renesas: r8a77965: Add #interrupt-cells property

2018-02-23 Thread Jacopo Mondi
pt-controller@e61c Warning (interrupts_property): Missing #interrupt-cells in interrupt-parent /soc/interrupt-controller@e61c000 Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- arch/arm64/boot/dts/renesas/r8a77965

[PATCH v2 5/7] arm64: dts: renesas: r8a77965: Add #pwm-cells property

2018-02-23 Thread Jacopo Mondi
Add "#pwm-cells" property to "pwm@e6e31000" device node. This silences the following DTC compiler warning: Warning (pwms_property): Missing property '#pwm-cells' in node /soc/pwm@e6e31000 or bad phandle (referred from /backlight:pwms[0]) Signed-off-by: Jacopo Mondi <ja

[PATCH v2 0/7] R-Car M3-N DTS fixes

2018-02-23 Thread Jacopo Mondi
nd "du" address length to include third channel - Move usb2_phy1 node next to usb2_phy0 Jacopo Mondi (7): arm64: dts: renesas: r8a77965: Add "reg" properties arm64: dts: renesas: r8a77965: Add #address-cells and #size-cells arm64: dts: renesas: r8a77965: Remove stale reg pro

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

2018-02-22 Thread jacopo mondi
Hi Laurent, On Thu, Feb 22, 2018 at 02:47:06PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > On Thursday, 22 February 2018 14:36:00 EET jacopo mondi wrote: > > On Thu, Feb 22, 2018 at 02:14:53PM +0200, Laurent Pinchart wrote: > > > On Thursday, 22 February 2018 14:04:1

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

2017-12-28 Thread Jacopo Mondi
. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + drivers/media/platform/renesas-ceu.c | 1652 ++ 3

[PATCH v2 2/9] include: media: Add Renesas CEU driver interface

2017-12-28 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> --- include/media/drv-intf/renesas-ceu.h | 20 1 file changed, 20 insertions(+) creat

[PATCH v2 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver

2017-12-28 Thread Jacopo Mondi
set the interface properly. Jacopo Mondi (9): dt-bindings: media: Add Renesas CEU bindings include: media: Add Renesas CEU driver interface v4l: platform: Add Renesas CEU driver ARM: dts: r7s72100: Add Capture Engine Unit (CEU) arch: sh: migor: Use new renesas-ceu camera driver v4l: i2c: C

[PATCH v2 6/9] v4l: i2c: Copy ov772x soc_camera sensor driver

2017-12-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 v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2017-12-28 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> --- drivers/media/i2c/Kconfig | 9 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tw9910.c

[PATCH v2 1/9] dt-bindings: media: Add Renesas CEU bindings

2017-12-28 Thread Jacopo Mondi
Add bindings documentation for Renesas Capture Engine Unit (CEU). Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- .../devicetree/bindings/media/renesas,ceu.txt | 85 ++ 1 file changed, 85 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCH v2 4/9] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)

2017-12-28 Thread Jacopo Mondi
Add Capture Engine Unit (CEU) node to device tree. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dts/r7s72100.dtsi | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s7210

[PATCH v2 7/9] media: i2c: ov772x: Remove soc_camera dependencies

2017-12-28 Thread Jacopo Mondi
to driver interface header file - Adjust build system This commit does not remove the original 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> --- drivers/media/i2c/Kconfig | 11 +++ drivers

[PATCH v2 8/9] v4l: i2c: Copy tw9910 soc_camera sensor driver

2017-12-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 v2 5/9] arch: sh: migor: Use new renesas-ceu camera driver

2017-12-28 Thread Jacopo Mondi
specific part from CEU driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/sh/boards/mach-migor/setup.c | 213 ++--- arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 +- 2 files changed, 89 insertions(+), 126 deletions(-) diff --git a/arch/sh/board

Re: [PATCH] iio: adc: max9611: fix module auto-loading

2017-12-29 Thread jacopo mondi
Hi Dmitry, On Fri, Dec 29, 2017 at 10:14:27AM +0300, Dmitry Mastykin wrote: > Module auto-load doesn't work because i2c table is not exported. > > Signed-off-by: Dmitry Mastykin > --- > drivers/iio/adc/max9611.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-)

[PATCH] v4l2: i2c: ov7670: Implement OF mbus configuration

2018-01-02 Thread Jacopo Mondi
data. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- I have made sure signal polarities gets properly changed using a scope and capturing images with negative polarities using CEU capture interface. Also verified with a scope that pixel clock gets suppressed on horizontal bla

Re: [PATCH v2 6/9] v4l: i2c: Copy ov772x soc_camera sensor driver

2018-01-02 Thread jacopo mondi
Hi Philippe, thanks for the comment, On Fri, Dec 29, 2017 at 01:47:30PM +0100, Philippe Ombredanne wrote: > Jacopo, > > On Thu, Dec 28, 2017 at 3:01 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> > wrote: > > Copy the soc_camera based driver in v4l2 sensor driver directo

Re: [PATCH v2 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-03 Thread jacopo mondi
Hi Laurent, On Tue, Jan 02, 2018 at 01:45:30PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thursday, 28 December 2017 16:01:13 EET Jacopo Mondi wrote: > > Add bindings documentation for Renesas Capture Engine Unit (CEU). > > >

Re: [PATCH v2 2/9] include: media: Add Renesas CEU driver interface

2018-01-03 Thread jacopo mondi
Hi Laurent, On Tue, Jan 02, 2018 at 01:50:07PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thursday, 28 December 2017 16:01:14 EET Jacopo Mondi wrote: > > Add renesas-ceu header file. > > > > Do not remove the exi

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

2018-01-03 Thread jacopo mondi
Hi Laurent, On Tue, Jan 02, 2018 at 03:46:27PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > > +/* > > + * ceu_device - CEU device instance > > + */ > > +struct ceu_device { > > + struct device *dev; > > + struct video_device vdev; > > + struct

Re: [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver

2017-12-22 Thread jacopo mondi
Hi Laurent, On Fri, Dec 22, 2017 at 02:03:41PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > On Thursday, 21 December 2017 18:27:02 EET jacopo mondi wrote: > > On Mon, Dec 18, 2017 at 05:28:43PM +0200, Laurent Pinchart wrote: > > > On Monday, 18 December 2017 14:25:1

Re: [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver

2017-12-21 Thread jacopo mondi
Hi Laurent, On Mon, Dec 18, 2017 at 05:28:43PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > On Monday, 18 December 2017 14:25:12 EET jacopo mondi wrote: > > On Mon, Dec 11, 2017 at 06:15:23PM +0200, Laurent Pinchart wrote: [snip] > > >> +/** > > >> + * ce

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Laurent, On Tue, Jan 02, 2018 at 05:50:38PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thursday, 28 December 2017 16:01:21 EET Jacopo Mondi wrote: > > - priv->clk = v4l2_clk_get(>dev, "mclk"); > > - if (IS_

Re: [PATCH v2 7/9] media: i2c: ov772x: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Laurent, On Tue, Jan 02, 2018 at 05:44:03PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thursday, 28 December 2017 16:01:19 EET Jacopo Mondi wrote: > > Remove soc_camera framework dependencies from ov772x sensor driver. > &g

Re: [PATCH v2 7/9] media: i2c: ov772x: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Laurent, On Wed, Jan 03, 2018 at 05:49:55PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > > > > DT based platforms won't have any info->xlkc_rate, so they should be > > fine. I wonder how could I set rate in board code, as I'm just > > registering an alias for the clock there... > > Exactly

Re: [PATCH] v4l2: i2c: ov7670: Implement OF mbus configuration

2018-01-03 Thread jacopo mondi
Hi Sakari, thanks for review.. On Wed, Jan 03, 2018 at 12:11:32PM +0200, Sakari Ailus wrote: > Hi Jacopo, > > Please see my comments below. > > On Tue, Jan 02, 2018 at 04:03:53PM +0100, Jacopo Mondi wrote: > > ov7670 driver supports two optional properties supplied thro

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Fabio, On Wed, Jan 03, 2018 at 02:41:20PM -0200, Fabio Estevam wrote: > Hi Jacopo, > > On Thu, Dec 28, 2017 at 12:01 PM, Jacopo Mondi > <jacopo+rene...@jmondi.org> wrote: > > > + if (priv->rstb_gpio) { > > +

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Fabio, On Wed, Jan 03, 2018 at 03:27:53PM -0200, Fabio Estevam wrote: > Hi Jacopo, > > On Wed, Jan 3, 2018 at 3:13 PM, jacopo mondi <jac...@jmondi.org> wrote: > > > That would be true if I would have declared the GPIO to be ACTIVE_LOW. > > See patch [5/9] in th

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Fabio, On Wed, Jan 03, 2018 at 04:14:35PM -0200, Fabio Estevam wrote: > On Wed, Jan 3, 2018 at 3:37 PM, jacopo mondi <jac...@jmondi.org> wrote: > > >> Initially the rest GPIO was doing: > >> > >> - gpio_set_value(GPIO_PTT3, 0); > >>

[PATCH v2 2/2] media: dt-bindings: Add OF properties to ov7670

2018-01-04 Thread Jacopo Mondi
Describe newly introduced OF properties for ov7670 image sensor. The driver supports two standard properties to configure synchronism signals polarities and two custom properties already supported as platform data options by the driver. --- Documentation/devicetree/bindings/media/i2c/ov7670.txt |

[PATCH v2 0/2] media: ov7670: Implement mbus configuration

2018-01-04 Thread Jacopo Mondi
s description and implementation - Addressed Sakari's comments on v1 - Check for return values of register writes in set_fmt() - TODO: decide if "pll-bypass" should be an OF property. Jacopo Mondi (2): v4l2: i2c: ov7670: Implement OF mbus configuration media: dt-bindings: Add OF properties to

[PATCH v2 1/2] v4l2: i2c: ov7670: Implement OF mbus configuration

2018-01-04 Thread Jacopo Mondi
data. While at there, check return value of register writes in set_fmt function and rationalize spacings. Signal polarities and pixel clock blanking verified through scope and image capture. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/media/i2c/ov7670.c

[PATCH 4/8] arm64: dts: renesas: r8a77995: Set EtherAVB phy mode to "rgmii"

2018-02-26 Thread Jacopo Mondi
Set the "phy-mode" property of EtherAVB device to "rgmii" and let board files override it if the installed PHY layer provides delays for the RX/TX channels. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 2 +- 1

[PATCH 2/8] arm64: dts: renesas: r8a7796: Set EtherAVB phy mode to "rgmii"

2018-02-26 Thread Jacopo Mondi
Set the "phy-mode" property of EtherAVB device to "rgmii" and let board files override it if the installed PHY layer provides delays for the RX/TX channels. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 2 +- 1

[PATCH 1/8] arm64: dts: renesas: salvator-common: Override EtherAVB phy-mode

2018-02-26 Thread Jacopo Mondi
erride that. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/salvator-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi index 8e8ec30.

[PATCH 6/8] iommu/ipmmu-vmsa: Hook up R8A77965 DT matching code

2018-02-26 Thread Jacopo Mondi
Add support for R-Car M3-N (R8A77965) SoC IPMMUs. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/iommu/ipmmu-vmsa.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c index 933a3da..6a0e714 100644 --- a/d

[PATCH 8/8] arm64: dts: renesas: r8a77965: Add EtherAVB device node

2018-02-26 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 3/8] arm64: dts: renesas: r8a7795: Set EtherAVB phy mode to "rgmii"

2018-02-26 Thread Jacopo Mondi
Set the "phy-mode" property of EtherAVB device to "rgmii" and let board files override it if the installed PHY layer provides delays for the RX/TX channels. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 +- 1

[PATCH 7/8] arm64: dts: renesas: r8a77965: Add IPMMU mm and ds0 blocks

2018-02-26 Thread Jacopo Mondi
Add IPMMU device nodes for mm and ds0 domains. "ipmmu_ds0" is a dependency for EtherAVB enablement and it has "ipmmu_mm" as it main ipmmu. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 17 + 1 f

[PATCH 0/8] R-Car M3-N: Enable EtherAVB device node

2018-02-26 Thread Jacopo Mondi
itial support - EtherAVB + DTS fixes). A branch for testing is available at git://jmondi.org/linux m3-n/renesas-drivers-2018-02-13-v4.16-rc1/v2-simon Thanks j Jacopo Mondi (8): arm64: dts: renesas: salvator-common: Override EtherAVB phy-mode arm64: dts: renesas: r8a7796: Set EtherAVB ph

[PATCH 5/8] dt-bindings: iommu/ipmmu-vmsa: Add R-Car M3-N (R8A77965)

2018-02-26 Thread Jacopo Mondi
Add Renesas R-Car M3-N (R8A77965) compat string to IPMMU DT bindings documentation. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bi

Re: [PATCH 0/8] R-Car M3-N: Enable EtherAVB device node

2018-02-27 Thread jacopo mondi
Hi Geert, On Mon, Feb 26, 2018 at 07:28:47PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Mon, Feb 26, 2018 at 6:57 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> > wrote: > > as discussed with you Sergei and Geert, in order to enable EtherAVB for > > R8

Re: [PATCH 4/5] pinctrl: rza1: Fix selector use for groups and functions

2018-06-18 Thread jacopo mondi
lector in case we need to remove them. Otherwise > the selector use will be racy for deferred probe at least. > > Fixes: 5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller") > Reported-by: H. Nikolaus Schaller > Cc: Haojian Zhuang > Cc: Jacopo Mondi > Cc: Pau

Re: linux-next: build warning after merge of the pm tree

2018-07-30 Thread jacopo mondi
Hi, On Mon, Jul 30, 2018 at 10:24:45AM +0300, Sakari Ailus wrote: > Hi folks, > > On Mon, Jul 30, 2018 at 12:00:53PM +1000, Stephen Rothwell wrote: > > Hi Rafael, > > > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > > produced this warning: > > > >

[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

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

[PATCH v4 1/2] media: dt-bindings: Add OF properties to ov7670

2018-01-24 Thread Jacopo Mondi
description while at there. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/devicetree/bindings/media/i2c/ov7670.txt | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/ov7670.txt b/Documen

[PATCH v4 0/2] media: ov7670: Implement mbus configuration

2018-01-24 Thread Jacopo Mondi
register writes in set_fmt() - TODO: decide if "pll-bypass" should be an OF property. Jacopo Mondi (2): media: dt-bindings: Add OF properties to ov7670 v4l2: i2c: ov7670: Implement OF mbus configuration .../devicetree/bindings/media/i2c/ov7670.txt | 16 +++- drivers

[PATCH v4 2/2] v4l2: i2c: ov7670: Implement OF mbus configuration

2018-01-24 Thread Jacopo Mondi
data to suppress pixel clock output during horizontal blanking. While at there, check return value of register writes in set_fmt function and rationalize spacings. Signal polarities and pixel clock blanking verified through scope and image capture. Signed-off-by: Jacopo Mondi <jacopo+r

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

2018-01-12 Thread jacopo mondi
Hi Philippe, Laurent, Geert, On Fri, Jan 12, 2018 at 11:36:31AM +0100, Philippe Ombredanne wrote: > On Tue, Jan 9, 2018 at 5:25 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> > wrote: > > Add driver for Renesas Capture Engine Unit (CEU). > > > > > --- /dev/null

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

2018-01-12 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 v5 5/9] v4l: i2c: Copy ov772x soc_camera sensor driver

2018-01-12 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 v5 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-12 Thread Jacopo Mondi
sensor drivers --- Remove g/s_mbus_config operations Jacopo Mondi (9): dt-bindings: media: Add Renesas CEU bindings include: media: Add Renesas CEU driver interface v4l: platform: Add Renesas CEU driver ARM: dts: r7s72100: Add Capture Engine Unit (CEU) v4l: i2c: Copy ov772x soc_camera

[PATCH v5 2/9] include: media: Add Renesas CEU driver interface

2018-01-12 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> --- include/media/drv-intf/renesa

[PATCH v5 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-12 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> --- .../devicetree/bindings/media/renesas

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

2018-01-12 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> --- arch/sh/boards/mach-migor/setup.c | 225 +++-- arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 +- 2 f

[PATCH v5 7/9] v4l: i2c: Copy tw9910 soc_camera sensor driver

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

2018-01-12 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> --- drivers/media/i2c/Kconfig | 9 +++ drivers/media/i2c/Makefile | 1 + d

[PATCH v5 6/9] media: i2c: ov772x: Remove soc_camera dependencies

2018-01-12 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 v5 4/9] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)

2018-01-12 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> --- arch/arm/boot/dts/r7s72100.dtsi | 15 +

Re: [PATCH v6 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-21 Thread jacopo mondi
Hi Randy, thanks for noticing, On Fri, Jan 19, 2018 at 02:12:19PM -0800, Randy Dunlap wrote: > On 01/16/2018 01:44 PM, Jacopo Mondi wrote: > > Hello, > >new version of CEU after Hans' review. > > > > Added his Acked-by to most patches and closed review comments.

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

2018-01-21 Thread jacopo mondi
Hi Hans, On Sun, Jan 21, 2018 at 11:23:12AM +0100, Hans Verkuil wrote: > On 21/01/18 11:21, Hans Verkuil wrote: > > On 21/01/18 10:53, jacopo mondi wrote: > >> Hi Hans, > >> > >> On Fri, Jan 19, 2018 at 12:20:19PM +0100, Hans Verkuil wrote: > >>>

Re: [PATCH v6 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-21 Thread jacopo mondi
Hi Hans, On Fri, Jan 19, 2018 at 12:26:09PM +0100, Hans Verkuil wrote: > Hi Jacopo, > > On 01/16/18 22:44, Jacopo Mondi wrote: > > Hello, > >new version of CEU after Hans' review. > > > > Added his Acked-by to most patches and closed review comments. >

[PATCH v2 3/4] arch: sh: ecovec: Use new renesas-ceu camera driver

2018-03-12 Thread Jacopo Mondi
and declare memory reserved with memblock APIs as dma capable to be used for CEU buffers. While at there re-order include directives to respect alphabetical ordering. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/sh/boards/mach-ecovec24/setup.c

[PATCH v2 0/4] Renesas CEU: SH7724 ECOVEC + Aptina mt9t112

2018-03-12 Thread Jacopo Mondi
that is expected v4l2 compliance tool to report errors. v1 -> v2: - Fix soc_camera driver build error - Add TODO note for missing frame rate control - Reduce patch count Jacopo Mondi (4): media: i2c: Copy mt9t112 soc_camera sensor driver media: i2c: mt9t112: Remove soc_camera dependencies a

[PATCH v2 1/4] media: i2c: Copy mt9t112 soc_camera sensor driver

2018-03-12 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 v2 2/4] media: i2c: mt9t112: Remove soc_camera dependencies

2018-03-12 Thread Jacopo Mondi
reported by checkpatch in strict mode This commit does not remove the original soc_camera based driver as long as other platforms depends on soc_camera framework. As I don't have access to a working camera module, this change has only been compile tested. Signed-off-by: Jacopo Mondi <jacopo+r

[PATCH v2 4/4] media: MAINTAINERS: Add entry for Aptina MT9T112

2018-03-12 Thread Jacopo Mondi
Add entry for Aptina/Micron MT9T112 camera sensor. The driver is maintained by me for "Odd Fixes" only due to lack of suitable hardware for testing. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH 5/5] media: MAINTAINERS: Add entry for Aptina MT9T112

2018-03-12 Thread jacopo mondi
Hi Sakari, On Sun, Mar 11, 2018 at 10:15:14PM +0200, Sakari Ailus wrote: > Hi Jacopo, > > On Fri, Mar 02, 2018 at 05:35:41PM +0100, Jacopo Mondi wrote: > > Add entry for Aptina/Micron MT9T112 camera sensor. The driver is > > currently orphaned. > > > > Signed-

Re: [PATCH v2 0/3] drm: Add LVDS decoder bridge

2018-03-12 Thread jacopo mondi
Hi Andrzej, thanks for the detailed reply, much appreciated :) On Mon, Mar 12, 2018 at 02:47:20PM +0100, Andrzej Hajda wrote: > On 12.03.2018 13:30, jacopo mondi wrote: > > Hi Andrzej, > > > > On Mon, Mar 12, 2018 at 10:07:27AM +0100, Andrzej Hajda wrote: > >

Re: [PATCH v2 0/3] drm: Add LVDS decoder bridge

2018-03-12 Thread jacopo mondi
Hi Andrzej, On Mon, Mar 12, 2018 at 10:07:27AM +0100, Andrzej Hajda wrote: > On 09.03.2018 14:51, Jacopo Mondi wrote: > > Hello, > >after some discussion on the proposed bindings for generic lvds decoder > > and > > Thine THC63LVD1024, I decided to drop the THC63

Re: [PATCH 09/11] media: vsp1: Provide support for extended command pools

2018-03-12 Thread jacopo mondi
Hi Kieran, just one small thing I noticed below... On Fri, Mar 09, 2018 at 10:04:07PM +, Kieran Bingham wrote: > VSPD and VSP-DL devices can provide extended display lists supporting > extended command display list objects. > > These extended commands require their own dma memory areas

Re: [PATCH v8 13/13] [media] v4l: Document explicit synchronization behavior

2018-03-13 Thread jacopo mondi
Hi Gustavo, a very small comment below On Fri, Mar 09, 2018 at 02:49:20PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > Add section to VIDIOC_QBUF and VIDIOC_QUERY_BUF about it > > v6: - Close some gaps in the docs (Hans) > > v5: > - Remove

[PATCH v3 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-13 Thread Jacopo Mondi
Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel output decoder. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/gpu/drm/bridge/Kconfig| 7 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/thc63lvd1024.c

[PATCH v3 0/3] drm: Add Thine THC63LVD1024 LVDS decoder bridge

2018-03-13 Thread Jacopo Mondi
> v3: - Drop support for "lvds-decoder" and make the driver THC63LVD1024 specific -- Rework bindings to describe multiple input/output ports -- Rename driver and remove "lvds-decoder" references -- Rework Eagle DTS to use new bindings v1 -> v2: - Drop support for THC63LVD1024 Ja

[PATCH v3 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-03-13 Thread Jacopo Mondi
Document Thine THC63LVD1024 LVDS decoder device tree bindings. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- .../bindings/display/bridge/thine,thc63lvd1024.txt | 63 ++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCH v3 3/3] arm64: dts: renesas: Add LVDS decoder to R-Car V3M Eagle

2018-03-13 Thread Jacopo Mondi
, describe it in DT as well. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 33 +++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts b/arch/arm64/bo

[PATCH v5 2/3] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-03-15 Thread Jacopo Mondi
Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel output converter. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> --- drivers/gpu/drm/bridge/Kconfig| 6 + drivers/gpu/drm/bridge/Makefile

[PATCH v5 3/3] arm64: dts: renesas: Add LVDS decoder to R-Car V3M Eagle

2018-03-15 Thread Jacopo Mondi
, describe it in DT as well. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> --- arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 33 +++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/arch/ar

[PATCH v5 0/3] drm: Add Thine THC63LVD1024 LVDS decoder bridge

2018-03-15 Thread Jacopo Mondi
ot;lvds-decoder" references -- Rework Eagle DTS to use new bindings v1 -> v2: - Drop support for THC63LVD1024 Jacopo Mondi (3): dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder drm: bridge: Add thc63lvd1024 LVDS decoder driver arm64: dts: renesas: Add LVDS

<    1   2   3   4   5   6   7   8   9   10   >