[PATCH v2] pinctrl: generic: Add output-enable property

2017-06-22 Thread Jacopo Mondi
Add output-enable generic pin configuration property. This properties allows enabling/disabling pin's output capabilities without actually driving any value on the line. --- v1->v2: - Expand the property description as suggested by Laurent. I ended up mentioning the in-famous output buffer :)

Re: [PATCH] sh: migor: Reserve memory block for CEU

2017-11-14 Thread jacopo mondi
7;m basing my patches to move Migo-R to use the new CEU driver on top of them. Thanks j > > On Wednesday, 8 November 2017 20:05:46 EET Jacopo Mondi wrote: > > A memory region for CEU video buffer has to be reserved during machine > > initialization. > > > > Or

[PATCH v2 0/2] Migo-R: reserve memory block with memblock APIs

2017-11-14 Thread Jacopo Mondi
H4 architecture, but please do not consider that patch for inclusion for now. Thanks j Jacopo Mondi (2): sh: migor: Reserve memory block for CEU base: dma-mapping: Postpone page_to_pfn() on mmap() arch/sh/boards/mach-migor/setup.c | 29 +++-- drivers/base/dma-mappin

[RFC v2 2/2] base: dma-mapping: Postpone page_to_pfn() on mmap()

2017-11-14 Thread Jacopo Mondi
mit a proper fix mainline. Not sending for inclusion at the moment. Suggested-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- drivers/base/dma-mapping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/base/dma-mapping.c b/drivers/base/dma-mapping.c index e5

[PATCH v2 1/2] sh: migor: Reserve memory block for CEU

2017-11-14 Thread Jacopo Mondi
. This is similar to what happens on ARM architecture with 'arm_memblock_steal()' function. Suggested-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- arch/sh/boards/mach-migor/setup.c | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/arch/sh

[PATCH] sh: defconfig: Remove NUMA support from Migo-R

2017-10-30 Thread Jacopo Mondi
: 8c002000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Signed-off-by: Jacopo Mondi --- arch/sh/configs/migor_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sh/configs/migor_defconfig b/arch/sh/configs/migor_defconfig index e04f21b..7510de5 100644 --- a/arch/sh

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: > > > > drivers/media/i2c/

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

2018-07-25 Thread Jacopo Mondi
posure and auto-white-balancing - 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 sen

[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 0/2] media: ov7670: Implement mbus configuration

2018-01-24 Thread Jacopo Mondi
ation - 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): media: dt-bindings: Add OF properties to ov7670 v4l2: i2c: ov7670: Implement OF mbus configurat

[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 --- drivers/media

[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 --- 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/Documentation/devicetree/bindings/media

[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 --- 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 sensor is installed on on Migo-R

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

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 > wrote: > > Add driver for Renesas Capture Engine Unit (CEU). > > > > > --- /dev/null > > +++ b/drivers/media/p

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

2018-01-12 Thread Jacopo Mondi
ent: --- Removed platform callbacks and handle clocks and gpios from 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: r7s72

[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 Reviewed-by: Laurent Pinchart --- include/media/drv-intf/renesas-ceu.h | 26 ++ 1 file changed, 26 insertions

[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 Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart --- .../devicetree/bindings/media/renesas,ceu.txt | 81 ++ 1 file changed, 81 insertions(+) create mode 100644

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

2018-01-12 Thread Jacopo Mondi
RZ platform GR-Peach. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + drivers/media/platform/renesas-ceu.c | 1648 +

[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 Acked-by: Laurent

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

2018-01-12 Thread Jacopo Mondi
chitecture specific part from CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- arch/sh/boards/mach-migor/setup.c | 225 +++-- arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 +- 2 files changed, 101 insertions(+), 126 deletions(-) diff --git a/arch

[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 Reviewed-by: Laurent Pinchart --- drivers/media/i2c/Kconfig | 9 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tw9910.c | 162

[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 Acked-by: Laurent

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

2018-01-12 Thread Jacopo Mondi
forms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/i2c/Kconfig | 11 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov772x.c | 177 ++--- include/media/i2c/ov772x.h | 6

[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 Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart --- arch/arm/boot/dts/r7s72100.dtsi | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/r7s72100.dtsi

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

2018-01-12 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 --- drivers/media

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

2018-01-12 Thread Jacopo Mondi
child nodes description while at there. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/media/i2c/ov7670.txt | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/ov7670.txt b/Documentation/devicetree

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

2018-01-12 Thread Jacopo Mondi
kari'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): media: dt-bindings: Add OF properties to ov7670 v4l2: i2c: ov7670: Implement OF mbus configuration .../devi

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

[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 Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- arch/arm/boot/dts/r7s72100.dtsi | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch

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

2018-01-30 Thread Jacopo Mondi
10 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 Renesas CEU bindings include: media: Add Renesas CEU dr

[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 Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- include/media/drv-intf/renesas-ceu.h | 26 ++ 1 file

[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 Acked-by: Laurent

[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 --- drivers/media/i2c/ov772x.c | 210

[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 Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- drivers/media/i2c/Kconfig | 9 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tw9910.c | 162

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

2018-01-30 Thread Jacopo Mondi
chitecture specific part from CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- arch/sh/boards/mach-migor/setup.c | 225 +++-- arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 +- 2 files changed, 101 insertions(+), 126

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

2018-01-30 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 --- drivers/media/i2c/ov7670.c | 4

[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 Acked-by: Laurent

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

2018-01-30 Thread Jacopo Mondi
forms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/i2c/Kconfig | 11 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov772x.c | 172 ++--- include/media/i2c/ov772x.h | 6

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

2018-01-30 Thread Jacopo Mondi
RZ platform GR-Peach. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + drivers/media/platform/renesas-ceu.c | 1661 +

[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 Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- .../devicetree/bindings/media/renesas,ceu.txt | 81 ++ 1 file changed, 81 insertions

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

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

2018-01-21 Thread jacopo mondi
rote: > > >> On 01/16/18 22:44, Jacopo Mondi wrote: > > >>> Remove soc_camera framework dependencies from ov772x sensor driver. > > >>> - Handle clock and gpios > > >>> - Register async subdevice > > >>> - Remove soc_camera s

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

2018-01-21 Thread jacopo mondi
> > + > > + ret = devm_request_irq(dev, irq, ceu_irq, > > + 0, dev_name(dev), ceudev); > > + if (ret) { > > + dev_err(&pdev->dev, "Unable to request CEU interrupt.\n"); > > + goto error_free_ceudev; > > + } > > + > > + pm_runtime_enable(dev); > > + > > + ret = v4l2_device_register(dev, &ceudev->v4l2_dev); > > + if (ret) > > + goto error_pm_disable; > > + > > + if (IS_ENABLED(CONFIG_OF) && dev->of_node) { > > + ceu_data = of_match_device(ceu_of_match, dev)->data; > > + num_subdevs = ceu_parse_dt(ceudev); > > + } else if (dev->platform_data) { > > + /* Assume SH4 if booting with platform data. */ > > + ceu_data = &ceu_data_sh4; > > + num_subdevs = ceu_parse_platform_data(ceudev, > > + dev->platform_data); > > + } else { > > + num_subdevs = -EINVAL; > > + } > > + > > + if (num_subdevs < 0) { > > + ret = num_subdevs; > > + goto error_v4l2_unregister; > > + } > > + ceudev->irq_mask = ceu_data->irq_mask; > > + > > + ceudev->notifier.v4l2_dev = &ceudev->v4l2_dev; > > + ceudev->notifier.subdevs= ceudev->asds; > > + ceudev->notifier.num_subdevs= num_subdevs; > > + ceudev->notifier.ops= &ceu_notify_ops; > > + ret = v4l2_async_notifier_register(&ceudev->v4l2_dev, > > + &ceudev->notifier); > > + if (ret) > > + goto error_v4l2_unregister; > > + > > + dev_info(dev, "Renesas Capture Engine Unit %s\n", dev_name(dev)); > > + > > + return 0; > > + > > +error_v4l2_unregister: > > + v4l2_device_unregister(&ceudev->v4l2_dev); > > +error_pm_disable: > > + pm_runtime_disable(dev); > > +error_free_ceudev: > > + kfree(ceudev); > > + > > + return ret; > > +} > > + > > +static int ceu_remove(struct platform_device *pdev) > > +{ > > + struct ceu_device *ceudev = platform_get_drvdata(pdev); > > + > > + pm_runtime_disable(ceudev->dev); > > + > > + v4l2_async_notifier_unregister(&ceudev->notifier); > > + > > + v4l2_device_unregister(&ceudev->v4l2_dev); > > + > > + video_unregister_device(&ceudev->vdev); > > + > > + return 0; > > +} > > + > > +static const struct dev_pm_ops ceu_pm_ops = { > > + SET_RUNTIME_PM_OPS(ceu_runtime_suspend, > > + ceu_runtime_resume, > > + NULL) > > +}; > > + > > +static struct platform_driver ceu_driver = { > > + .driver = { > > + .name = DRIVER_NAME, > > + .pm = &ceu_pm_ops, > > + .of_match_table = of_match_ptr(ceu_of_match), > > + }, > > + .probe = ceu_probe, > > + .remove = ceu_remove, > > +}; > > + > > +module_platform_driver(ceu_driver); > > + > > +MODULE_DESCRIPTION("Renesas CEU camera driver"); > > +MODULE_AUTHOR("Jacopo Mondi "); > > +MODULE_LICENSE("GPL v2"); > > > > Regards, > > Hans

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

2018-01-21 Thread jacopo mondi
Hi Sakari, On Fri, Jan 19, 2018 at 12:26:48AM +0200, Sakari Ailus wrote: > Hi Jacopo, > > On Fri, Jan 12, 2018 at 06:56:48PM +0100, Jacopo Mondi wrote: [snip] > > +static int ov7670_parse_dt(struct device *dev, > > + struct ov7670_info *info)

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. &g

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 comme

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

2018-01-05 Thread jacopo mondi
Hi Laurent, On Fri, Jan 05, 2018 at 12:28:03AM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thursday, 4 January 2018 18:03:09 EET Jacopo Mondi wrote: > > Add bindings documentation for Renesas Capture Engine Unit (CEU). > > >

[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 Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- arch/arm/boot/dts/r7s72100.dtsi | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch

[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 Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- include/media/drv-intf/renesas-ceu.h | 26 ++ 1 file

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

2018-01-26 Thread Jacopo Mondi
RZ platform GR-Peach. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + drivers/media/platform/renesas-ceu.c | 1661 +

[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 Acked-by: Laurent

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

2018-01-26 Thread Jacopo Mondi
vers 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 Renesas CEU bindings include: media: Add Renesas CEU driver interfa

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

2018-01-26 Thread Jacopo Mondi
forms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/i2c/Kconfig | 11 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov772x.c | 169 ++--- include/media/i2c/ov772x.h | 6

[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 Acked-by: Laurent

[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 Acked-by: Laurent

[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 --- drivers/media/i2c/ov772x.c | 315

[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 Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- drivers/media/i2c/Kconfig | 9 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tw9910.c | 162

[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 Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- drivers/media/i2c/Kconfig | 9 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tw9910.c | 162

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

2018-01-26 Thread Jacopo Mondi
chitecture specific part from CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- arch/sh/boards/mach-migor/setup.c | 225 +++-- arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 +- 2 files changed, 101 insertions(+), 126

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

2018-01-26 Thread Jacopo Mondi
chitecture specific part from CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- arch/sh/boards/mach-migor/setup.c | 225 +++-- arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 +- 2 files changed, 101 insertions(+), 126

[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 Acked-by: Laurent

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

2018-01-26 Thread Jacopo Mondi
RZ platform GR-Peach. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + drivers/media/platform/renesas-ceu.c | 1659 +

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 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 Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- .../devicetree/bindings/media/renesas,ceu.txt | 81 ++ 1 file changed, 81 insertions

[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 Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- .../devicetree/bindings/media/renesas,ceu.txt | 81 ++ 1 file changed, 81 insertions

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

2018-01-26 Thread Jacopo Mondi
vers 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 Renesas CEU bindings include: media: Add Renesas CEU driver interfa

[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 --- drivers/media/i2c/ov7670.c | 4

[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 Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- arch/arm/boot/dts/r7s72100.dtsi | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch

[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 --- drivers/media/i2c/ov772x.c | 315

[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 Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- include/media/drv-intf/renesas-ceu.h | 26 ++ 1 file

[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 Acked-by: Laurent

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

2018-01-26 Thread Jacopo Mondi
chitecture specific part from CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- arch/sh/boards/mach-migor/setup.c | 225 +++-- arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 +- 2 files changed, 101 insertions(+), 126

[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 Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- drivers/media/i2c/Kconfig | 9 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tw9910.c | 162

[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 Acked-by: Laurent

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

2018-01-26 Thread Jacopo Mondi
RZ platform GR-Peach. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + drivers/media/platform/renesas-ceu.c | 1661 +

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

2018-01-26 Thread Jacopo Mondi
forms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/i2c/Kconfig | 11 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov772x.c | 169 ++--- include/media/i2c/ov772x.h | 6

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 --git a/drivers/sh/clk/core.c b/drivers/sh/clk/core.c > >> > index 928

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

2018-01-16 Thread jacopo mondi
v3 I guess, since then it has not changed. I will include that in v6 cover letter. > On 01/12/2018 03:04 PM, Jacopo Mondi wrote: > > Add driver for Renesas Capture Engine Unit (CEU). > > > > The CEU interface supports capturing 'data' (YUV422) and 'images' >

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

2018-01-16 Thread Jacopo Mondi
moved soc_camera legacy operations g/s_mbus_format -- Update to new notifier implementation -- Fixed several 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 rem

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

2018-01-16 Thread Jacopo Mondi
RZ platform GR-Peach. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + drivers/media/platform/renesas-ceu.c | 1659 +

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

2018-01-16 Thread Jacopo Mondi
Add Capture Engine Unit (CEU) node to device tree. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- arch/arm/boot/dts/r7s72100.dtsi | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch

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

2018-01-16 Thread Jacopo Mondi
Add bindings documentation for Renesas Capture Engine Unit (CEU). Signed-off-by: Jacopo Mondi Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- .../devicetree/bindings/media/renesas,ceu.txt | 81 ++ 1 file changed, 81 insertions

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

2018-01-16 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 Acked-by: Laurent

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

2018-01-16 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 Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- include/media/drv-intf/renesas-ceu.h | 26 ++ 1 file

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

2018-01-16 Thread Jacopo Mondi
chitecture specific part from CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- arch/sh/boards/mach-migor/setup.c | 225 +++-- arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 +- 2 files changed, 101 insertions(+), 126

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

2018-01-16 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 Acked-by: Laurent

[PATCH v6 8/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-16 Thread Jacopo Mondi
soc_camera based driver as long as other platforms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- drivers/media/i2c/Kconfig | 9 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tw9910.c | 162

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

2018-01-16 Thread Jacopo Mondi
forms depends on soc_camera-based CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- drivers/media/i2c/Kconfig | 11 +++ drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov772x.c | 169 ++--- include/media/i2c/ov772x.h | 6

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

2018-01-17 Thread jacopo mondi
Hi Sakari, it's the second series this week where I fail to handle BT.656 properly, sorry about this :) On Wed, Jan 17, 2018 at 09:59:59AM +0200, Sakari Ailus wrote: > Hi Jacopo, > > On Tue, Jan 16, 2018 at 10:44:53PM +0100, Jacopo Mondi wrote: > > Add bindings docum

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

2018-01-09 Thread jacopo mondi
Hi Rob, thanks for comments On Mon, Jan 08, 2018 at 09:35:55PM -0600, Rob Herring wrote: > On Thu, Jan 04, 2018 at 10:52:33AM +0100, Jacopo Mondi wrote: > > Describe newly introduced OF properties for ov7670 image sensor. > > The driver supports two standard properties to config

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

2018-01-09 Thread Jacopo Mondi
remarks from Hans and Laurent: --- Removed platform callbacks and handle clocks and gpios from 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 CE

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

2018-01-09 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 Reviewed-by: Laurent Pinchart --- include/media/drv-intf/renesas-ceu.h | 26 ++ 1 file changed, 26 insertions

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

2018-01-09 Thread Jacopo Mondi
RZ platform GR-Peach. Tested with ov7725 camera sensor on SH4 platform Migo-R. Signed-off-by: Jacopo Mondi --- drivers/media/platform/Kconfig |9 + drivers/media/platform/Makefile |1 + drivers/media/platform/renesas-ceu.c | 1648 ++ 3 files chan

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

2018-01-09 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 Acked-by: Laurent

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

2018-01-09 Thread Jacopo Mondi
Add Capture Engine Unit (CEU) node to device tree. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart --- arch/arm/boot/dts/r7s72100.dtsi | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/r7s72100.dtsi

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

2018-01-09 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 Acked-by: Laurent

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

2018-01-09 Thread Jacopo Mondi
chitecture specific part from CEU driver. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- arch/sh/boards/mach-migor/setup.c | 225 +++-- arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 +- 2 files changed, 101 insertions(+), 126 deletions(-) diff --git a/arch

  1   2   3   4   5   6   7   8   9   10   >