[Patch v6 3/3] media: ti-vpe: Add CAL v4l2 camera capture driver

2016-01-06 Thread Benoit Parrot
compliant. Driver supports the following: - V4L2 API using DMABUF/MMAP buffer access based on videobuf2 api - Asynchronous sensor sub device registration - DT support Signed-off-by: Benoit Parrot <bpar...@ti.com> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- d

[Patch v6 0/3] media: ti-vpe: Add CAL v4l2 camera capture driver

2016-01-06 Thread Benoit Parrot
, specify --expbuf-device Stream using all formats: test MMAP for Format GRBG, Frame Size 1920x1080@30.00 Hz: Stride 1920, Field None: OK Total: 46, Succeeded: 46, Failed: 0, Warnings: 0 *** BLURB HERE *** Benoit Parrot (3): media: ti-vpe

[Patch v6 1/3] media: ti-vpe: Document CAL driver

2016-01-06 Thread Benoit Parrot
Device Tree bindings for the Camera Adaptation Layer (CAL) driver Signed-off-by: Benoit Parrot <bpar...@ti.com> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/media/ti-cal.txt | 72 ++ 1 file changed, 72 insertions(+) create

[Patch v6 2/3] MAINTAINERS: Add ti-vpe maintainer entry

2016-01-06 Thread Benoit Parrot
Signed-off-by: Benoit Parrot <bpar...@ti.com> --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4635e1d14612..ebbdb410c0f0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10631,6 +10631,14 @@ L: linux-o...@vger.kernel.

Re: [Patch v5 1/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-12-11 Thread Benoit Parrot
Mauro Carvalho Chehab <mche...@osg.samsung.com> wrote on Thu [2015-Dec-03 11:19:22 -0200]: > Em Wed, 18 Nov 2015 14:47:11 -0600 > Benoit Parrot <bpar...@ti.com> escreveu: > > > The Camera Adaptation Layer (CAL) is a block which consists of a dual > > por

[Patch v5 0/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-11-18 Thread Benoit Parrot
: test MMAP for Format GRBG, Frame Size 1920x1080@30.00 Hz: Stride 1920, Field None: OK Total: 46, Succeeded: 46, Failed: 0, Warnings: 0 Benoit Parrot (2): media: v4l: ti-vpe: Add CAL v4l2 camera capture driver media: v4l: ti-vpe: Document DRA72 CAL

[Patch v5 1/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-11-18 Thread Benoit Parrot
compliant. Driver supports the following: - V4L2 API using DMABUF/MMAP buffer access based on videobuf2 api - Asynchronous sensor sub device registration Signed-off-by: Benoit Parrot <bpar...@ti.com> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/plat

[Patch v5 2/2] media: v4l: ti-vpe: Document DRA72 CAL h/w module

2015-11-18 Thread Benoit Parrot
Device Tree bindings for the DRA72 Camera Adaptation Layer (CAL) H/W module. Signed-off-by: Benoit Parrot <bpar...@ti.com> --- Documentation/devicetree/bindings/media/ti-cal.txt | 72 ++ 1 file changed, 72 insertions(+) create mode 100644 Documentation/devicetree/bi

Re: [Patch v4 2/2] media: v4l: ti-vpe: Document CAL driver

2015-11-16 Thread Benoit Parrot
Rob Herring <r...@kernel.org> wrote on Mon [2015-Nov-16 09:26:16 -0600]: > On Sun, Nov 15, 2015 at 05:53:48PM -0600, Benoit Parrot wrote: > > Device Tree bindings for the Camera Adaptation Layer (CAL) driver > > Bindings are for h/w blocks, not drivers... OK I'll fix that

[Patch v4 2/2] media: v4l: ti-vpe: Document CAL driver

2015-11-15 Thread Benoit Parrot
Device Tree bindings for the Camera Adaptation Layer (CAL) driver Signed-off-by: Benoit Parrot <bpar...@ti.com> --- Documentation/devicetree/bindings/media/ti-cal.txt | 70 ++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/me

[Patch v4 0/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-11-15 Thread Benoit Parrot
) test DMABUF: Cannot test, specify --expbuf-device Stream using all formats: test MMAP for Format GRBG, Frame Size 1920x1080@30.00 Hz: Stride 1920, Field None: OK Total: 46, Succeeded: 46, Failed: 0, Warnings: 0 Benoit Parrot (2

[Patch v4 1/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-11-15 Thread Benoit Parrot
compliant. Driver supports the following: - V4L2 API using DMABUF/MMAP buffer access based on videobuf2 api - Asynchronous sensor sub device registration - DT support Signed-off-by: Benoit Parrot <bpar...@ti.com> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- d

[Patch v3 1/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-11-15 Thread Benoit Parrot
compliant. Driver supports the following: - V4L2 API using DMABUF/MMAP buffer access based on videobuf2 api - Asynchronous sensor sub device registration - DT support Signed-off-by: Benoit Parrot <bpar...@ti.com> --- drivers/media/platform/Kconfig | 12 + drivers/media/pl

[Patch v3 2/2] media: v4l: ti-vpe: Document CAL driver

2015-11-15 Thread Benoit Parrot
Device Tree bindings for the Camera Adaptation Layer (CAL) driver Signed-off-by: Benoit Parrot <bpar...@ti.com> --- Documentation/devicetree/bindings/media/ti-cal.txt | 70 ++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/me

[Patch v3 0/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-11-15 Thread Benoit Parrot
Size 1920x1080@30.00 Hz: Stride 1920, Field None: OK Total: 46, Succeeded: 46, Failed: 0, Warnings: 0 Benoit Parrot (2): media: v4l: ti-vpe: Add CAL v4l2 camera capture driver media: v4l: ti-vpe: Document CAL driver Documentation/devicetree

Re: [Patch 1/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-09-16 Thread Benoit Parrot
Hans, I am almost done with my review comment but I am stuck here. Benoit Parrot <bpar...@ti.com> wrote on Tue [2015-Jun-23 14:36:47 -0500]: > > > + > > > +static int cal_get_external_info(struct cal_ctx *ctx) > > > +{ > > > + struct v4l2_ext_control

[Patch v4] media: am437x-vpfe: Fix a race condition during release

2015-07-15 Thread Benoit Parrot
...@vger.kernel.org # v4.0+ Signed-off-by: Benoit Parrot bpar...@ti.com --- Changes since v3: - fix review comment to protect v4l2_fh_is_singular_file() drivers/media/platform/am437x/am437x-vpfe.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform

Re: [Patch 1/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-06-23 Thread Benoit Parrot
Hans, Thanks for the feedback. Hans Verkuil hverk...@xs4all.nl wrote on Mon [2015-Jun-22 10:09:00 +0200]: Hi Benoit, Thanks for the patch! I do have a few comments, though. See below. On 06/16/2015 07:29 PM, Benoit Parrot wrote: The Camera Adaptation Layer (CAL) is a block which

Re: [Patch 0/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-06-23 Thread Benoit Parrot
Hans Verkuil hverk...@xs4all.nl wrote on Mon [2015-Jun-22 09:31:21 +0200]: On 06/16/2015 07:29 PM, Benoit Parrot wrote: The Camera Adaptation Layer (CAL) is a block which consists of a dual port CSI2/MIPI camera capture engine. This camera engine is currently found on DRA72xx family

[Patch 2/2] media: v4l: ti-vpe: Document CAL driver

2015-06-16 Thread Benoit Parrot
Device Tree bindings for the Camera Adaptation Layer (CAL) driver Signed-off-by: Benoit Parrot bpar...@ti.com --- Documentation/devicetree/bindings/media/ti-cal.txt | 70 ++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/ti

[Patch 1/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-06-16 Thread Benoit Parrot
compliant. Driver supports the following: - V4L2 API using DMABUF/MMAP buffer access based on videobuf2 api - Asynchronous sensor sub device registration - DT support Signed-off-by: Benoit Parrot bpar...@ti.com --- drivers/media/platform/Kconfig | 12 + drivers/media/platform

[Patch 0/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-06-16 Thread Benoit Parrot
Total: 45, Succeeded: 45, Failed: 0, Warnings: 0 Benoit Parrot (2): media: v4l: ti-vpe: Add CAL v4l2 camera capture driver media: v4l: ti-vpe: Document CAL driver Documentation/devicetree/bindings/media/ti-cal.txt | 70 + drivers/media/platform/Kconfig | 12 + drivers

Re: [Patch v6 0/2] gpio: add GPIO hogging mechanism

2015-02-18 Thread Benoit Parrot
Gentle ping. Is there any chance this will make it in 3.21? Benoit Parrot, Benoit bpar...@ti.com wrote on Wed [2015-Feb-02 17:44:43 -0600]: This patch set re-introduces the gpio hogging concept first presented by Boris Brezillion. This patch set provides a way to initially configure specific

Re: [PATCH] media: i2c: add support for omnivision's ov2659 sensor

2015-02-10 Thread Benoit Parrot
Laurent Pinchart laurent.pinch...@ideasonboard.com wrote on Thu [2015-Feb-05 16:52:22 +0200]: Hi Prabhakar, (CC'ing Benoit Parrot) On Thursday 05 February 2015 11:55:28 Lad, Prabhakar wrote: On Thu, Feb 5, 2015 at 11:53 AM, Laurent Pinchart wrote: On Wednesday 04 February 2015 20:55

[Patch v6 0/2] gpio: add GPIO hogging mechanism

2015-02-02 Thread Benoit Parrot
of of_gpiochip_remove Changes since v1: * Split the devicetree bindings documentation in its own patch. * Refactor the gpio-hog mechanism as private functions meant to be to invoked from of_gpiochip_add(). Benoit Parrot (2): gpio: add GPIO hogging mechanism gpio: Document GPIO hogging

Re: [Patch v5 2/2] gpio: Document GPIO hogging mechanism

2015-01-12 Thread Benoit Parrot
Linus Walleij linus.wall...@linaro.org wrote on Mon [2015-Jan-12 11:20:14 +0100]: On Fri, Dec 19, 2014 at 9:07 PM, Benoit Parrot bpar...@ti.com wrote: Add GPIO hogging documentation to gpio.txt Signed-off-by: Benoit Parrot bpar...@ti.com Reviewed-by: Alexandre Courbot acour

[Patch v5 0/2] gpio: add GPIO hogging mechanism

2014-12-19 Thread Benoit Parrot
of_gpiochip_add(). Benoit Parrot (2): gpio: add GPIO hogging mechanism gpio: Document GPIO hogging mechanism Documentation/devicetree/bindings/gpio/gpio.txt | 23 + drivers/gpio/gpiolib-of.c | 118 ++ drivers/gpio/gpiolib.c | 128

[Patch v5 1/2] gpio: add GPIO hogging mechanism

2014-12-19 Thread Benoit Parrot
to switch various modes. Specific drivers should not necessarily need to be aware of what accounts to a specific board implementation. This board level description should be best kept as part of the dts file. Signed-off-by: Benoit Parrot bpar...@ti.com Reviewed-by: Alexandre Courbot acour...@nvidia.com

[Patch v5 2/2] gpio: Document GPIO hogging mechanism

2014-12-19 Thread Benoit Parrot
Add GPIO hogging documentation to gpio.txt Signed-off-by: Benoit Parrot bpar...@ti.com Reviewed-by: Alexandre Courbot acour...@nvidia.com --- Documentation/devicetree/bindings/gpio/gpio.txt | 23 +++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree

Re: [Patch v4 1/2] gpio: add GPIO hogging mechanism

2014-12-18 Thread Benoit Parrot
with this! On Sat, Dec 13, 2014 at 7:07 AM, Benoit Parrot bpar...@ti.com wrote: Based on Boris Brezillion's work this is a reworked patch of his initial GPIO hogging mechanism. This patch provides a way to initally configure specific GPIO s/initally/initially when the gpio controller is probed

Re: [Patch v3 1/2] gpio: add GPIO hogging mechanism

2014-12-12 Thread Benoit Parrot
Thanks for the quick feedback. Alexandre Courbot gnu...@gmail.com wrote on Fri [2014-Dec-12 17:54:06 +0900]: On Thu, Dec 11, 2014 at 8:48 AM, Benoit Parrot bpar...@ti.com wrote: Alexandre Courbot gnu...@gmail.com wrote on Wed [2014-Dec-10 20:19:51 +0900]: On Fri, Dec 5, 2014 at 6:02 AM

[Patch v4 0/2] gpio: add GPIO hogging mechanism

2014-12-12 Thread Benoit Parrot
to the hogging, the cleanup is performed as part of of_gpiochip_remove Changes since v1: * Split the devicetree bindings documentation in its own patch. * Refactor the gpio-hog mechanism as private functions meant to be to invoked from of_gpiochip_add(). Benoit Parrot (2): gpio: add GPIO hogging

[Patch v4 1/2] gpio: add GPIO hogging mechanism

2014-12-12 Thread Benoit Parrot
to switch various modes and combination. Specific drivers should not necessarily need to be aware of what accounts to a specific board implementation. This board level description should be best kept as part of the dts file. Signed-off-by: Benoit Parrot bpar...@ti.com --- Changes since v3: * Relocated

[Patch v4 2/2] gpio: Document GPIO hogging mechanism

2014-12-12 Thread Benoit Parrot
Add GPIO hogging documentation to gpio.txt Signed-off-by: Benoit Parrot bpar...@ti.com --- Changes since v3: * Renamed the direction DT properties to state. Documentation/devicetree/bindings/gpio/gpio.txt | 23 +++ 1 file changed, 23 insertions(+) diff --git

Re: [Patch v3 2/2] gpio: Document GPIO hogging mechanism

2014-12-10 Thread Benoit Parrot
Alexandre Courbot gnu...@gmail.com wrote on Wed [2014-Dec-10 19:56:17 +0900]: On Fri, Dec 5, 2014 at 6:02 AM, Benoit Parrot bpar...@ti.com wrote: Add GPIO hogging documentation to gpio.txt Signed-off-by: Benoit Parrot bpar...@ti.com --- Changes since v2: * Updated to the latest hog

Re: [Patch v3 1/2] gpio: add GPIO hogging mechanism

2014-12-10 Thread Benoit Parrot
Alexandre Courbot gnu...@gmail.com wrote on Wed [2014-Dec-10 20:19:51 +0900]: On Fri, Dec 5, 2014 at 6:02 AM, Benoit Parrot bpar...@ti.com wrote: Based on Boris Brezillion's work this is a reworked patch of his initial GPIO hogging mechanism. This patch provides a way to initally configure

[Patch v3 0/2] gpio: add GPIO hogging mechanism

2014-12-04 Thread Benoit Parrot
Changes since v1: * Split the devicetree bindings documentation in its own patch. * Refactor the gpio-hog mechanism as private functions meant to be to invoked from of_gpiochip_add(). Benoit Parrot (2): gpio: add GPIO hogging mechanism gpio: Document GPIO hogging mechanism Documentation

[Patch v3 2/2] gpio: Document GPIO hogging mechanism

2014-12-04 Thread Benoit Parrot
Add GPIO hogging documentation to gpio.txt Signed-off-by: Benoit Parrot bpar...@ti.com --- Changes since v2: * Updated to the latest hog syntax. Changes since v1: * Split the devicetree bindings documentation in its own patch. Documentation/devicetree/bindings/gpio/gpio.txt | 23

[Patch v3 1/2] gpio: add GPIO hogging mechanism

2014-12-04 Thread Benoit Parrot
to switch various modes and combination. Specific drivers should not necessarily need to be aware of what accounts to a specific board implementation. This board level description should be best kept as part of the dts file. Signed-off-by: Benoit Parrot bpar...@ti.com --- Changes since v2: * Refactor

Re: [Patch v2 2/2] gpio: Document GPIO hogging mechanism

2014-12-01 Thread Benoit Parrot
Alexandre Courbot gnu...@gmail.com wrote on Fri [2014-Nov-28 16:31:19 +0900]: On Fri, Nov 21, 2014 at 8:54 AM, Benoit Parrot bpar...@ti.com wrote: Add GPIO hogging documentation to gpio.txt Signed-off-by: Benoit Parrot bpar...@ti.com --- Changes since v1: * Split the devicetree

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-12-01 Thread Benoit Parrot
Alexandre Courbot gnu...@gmail.com wrote on Fri [2014-Nov-28 16:30:01 +0900]: On Fri, Nov 21, 2014 at 8:54 AM, Benoit Parrot bpar...@ti.com wrote: Based on Boris Brezillion's work this is a reworked patch of his initial GPIO hogging mechanism. This patch provides a way to initally configure

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-12-01 Thread Benoit Parrot
Maxime Ripard maxime.rip...@free-electrons.com wrote on Mon [2014-Dec-01 17:36:39 +0100]: Hi, On Fri, Nov 28, 2014 at 04:30:01PM +0900, Alexandre Courbot wrote: +/** + * do_gpio_hog - Given node is a GPIO hog configuration, handle it + * @np:device node to get GPIO

[Patch v2 0/2] gpio: add GPIO hogging mechanism

2014-11-20 Thread Benoit Parrot
patch. * Refactor the gpio-hog mechanism as private functions meant to be to invoked from of_gpiochip_add(). Benoit Parrot (2): gpio: add GPIO hogging mechanism gpio: Document GPIO hogging mechanism Documentation/devicetree/bindings/gpio/gpio.txt | 25 drivers/gpio/gpiolib-of.c

[Patch v2 2/2] gpio: Document GPIO hogging mechanism

2014-11-20 Thread Benoit Parrot
Add GPIO hogging documentation to gpio.txt Signed-off-by: Benoit Parrot bpar...@ti.com --- Changes since v1: * Split the devicetree bindings documentation in its own patch. Documentation/devicetree/bindings/gpio/gpio.txt | 25 + 1 file changed, 25 insertions(+) diff

[Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-11-20 Thread Benoit Parrot
to switch various modes and combination. Specific drivers should not necessarily need to be aware of what accounts to a specific board implementation. This board level description should be best kept as part of the dts file. Signed-off-by: Benoit Parrot bpar...@ti.com --- Changes since v1: * Refactor

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-11-03 Thread Benoit Parrot
Linus, Thanks for the feedback. To summarize the hog feature should be local to gpiolib-of.c, correct? I also also need some clarifications, see below. Linus Walleij linus.wall...@linaro.org wrote on Mon [2014-Nov-03 10:59:53 +0100]: On Tue, Oct 21, 2014 at 10:09 PM, Benoit Parrot bpar

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Benoit Parrot
at 5:09 AM, Benoit Parrot bpar...@ti.com wrote: Based on Boris Brezillion work this is a reworked patch of his initial GPIO hogging mechanism. This patch provides a way to initally configure specific GPIO when the gpio controller is probe. Typo nit: s/probe/probed Will fix

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Benoit Parrot
Pantelis, Thanks for the feedback. Pantelis Antoniou pantelis.anton...@gmail.com wrote on Wed [2014-Oct-29 10:53:44 +0200]: Hi Benoit, On Oct 21, 2014, at 23:09 , Benoit Parrot bpar...@ti.com wrote: Based on Boris Brezillion work this is a reworked patch of his initial GPIO hogging

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Benoit Parrot
Maxime Ripard maxime.rip...@free-electrons.com wrote on Wed [2014-Oct-29 11:45:59 +0100]: Hi, On Tue, Oct 21, 2014 at 03:09:58PM -0500, Benoit Parrot wrote: Based on Boris Brezillion work this is a reworked patch of his initial GPIO hogging mechanism. This patch provides a way

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Benoit Parrot
Pantelis Antoniou pantelis.anton...@gmail.com wrote on Wed [2014-Oct-29 18:42:48 +0200]: Hi Benoit, On Oct 29, 2014, at 18:34 , Benoit Parrot bpar...@ti.com wrote: Pantelis, Thanks for the feedback. Pantelis Antoniou pantelis.anton...@gmail.com wrote on Wed [2014-Oct-29 10

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Benoit Parrot
Maxime Ripard maxime.rip...@free-electrons.com wrote on Wed [2014-Oct-29 17:47:46 +0100]: On Wed, Oct 29, 2014 at 11:41:22AM -0500, Benoit Parrot wrote: Maxime Ripard maxime.rip...@free-electrons.com wrote on Wed [2014-Oct-29 11:45:59 +0100]: Hi, On Tue, Oct 21, 2014 at 03:09:58PM

[RFC Patch] gpio: add GPIO hogging mechanism

2014-10-21 Thread Benoit Parrot
to switch various modes and combination. Specific drivers should not necessarily need to be aware of what accounts to a specific board implementation. This board level description should be best kept as part of the dts file. Signed-off-by: Benoit Parrot bpar...@ti.com --- Documentation/devicetree