Re: [PATCH] media: video-i2c: add mlx90640 subpage data to output

2019-08-20 Thread Matt Ranostay
On Mon, Aug 12, 2019 at 6:05 AM Hans Verkuil wrote: > > Hi Matt, > > On 8/11/19 9:10 AM, Matt Ranostay wrote: > > Add current subpage data via the status register to the video > > frame in the last word of data, which seems to be unused > > undocumented res

Re: [PATCH] media: video-i2c: add mlx90640 subpage data to output

2019-08-14 Thread Matt Ranostay
On Mon, Aug 12, 2019 at 6:05 AM Hans Verkuil wrote: > > Hi Matt, > > On 8/11/19 9:10 AM, Matt Ranostay wrote: > > Add current subpage data via the status register to the video > > frame in the last word of data, which seems to be unused > > undocumented res

[PATCH] media: video-i2c: add mlx90640 subpage data to output

2019-08-11 Thread Matt Ranostay
Add current subpage data via the status register to the video frame in the last word of data, which seems to be unused undocumented reserved data. Signed-off-by: Matt Ranostay --- drivers/media/i2c/video-i2c.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a

Re: unsubscribe linux-media

2019-01-08 Thread Matt Ranostay
You should direct this message to majord...@vger.kernel.org :) On Tue, Jan 8, 2019 at 4:36 PM Bhanu Murthy V wrote: > > unsubscribe linux-media > --- > This email message is for the sole use of the intended recipient

[PATCH v4 0/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-12-11 Thread Matt Ranostay
own patch Changes from v3: * split devicetree binding docs into its own patch Matt Ranostay (2): media: video-i2c: check if chip struct has set_power function media: video-i2c: add Melexis MLX90640 thermal camera support Matt Ranostay (2): media: dt-bindings: media: video-i2c: add melexis

[PATCH v4 2/2] media: video-i2c: add Melexis MLX90640 thermal camera

2018-12-11 Thread Matt Ranostay
. Signed-off-by: Matt Ranostay --- drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/video-i2c.c | 110 +- 2 files changed, 110 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 4c936e129500..a8819686e078

[PATCH v4 1/2] media: dt-bindings: media: video-i2c: add melexis mlx90640 documentation

2018-12-11 Thread Matt Ranostay
Cc: devicet...@vger.kernel.org Signed-off-by: Matt Ranostay --- .../bindings/media/i2c/melexis,mlx90640.txt | 20 +++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/melexis,mlx90640.txt diff --git a/Documentation/devicetree

Re: [PATCH v3] media: video-i2c: check if chip struct has set_power function

2018-11-26 Thread Matt Ranostay
On Mon, Nov 26, 2018 at 2:50 PM Hans Verkuil wrote: > > On 11/25/2018 05:55 PM, Sakari Ailus wrote: > > Hi Matt, > > > > On Sat, Nov 24, 2018 at 02:03:23PM -0800, Matt Ranostay wrote: > >> Not all future supported video chips will always have power management >

[PATCH v3] media: video-i2c: check if chip struct has set_power function

2018-11-24 Thread Matt Ranostay
Not all future supported video chips will always have power management support, and so it is important to check before calling set_power() is defined. Cc: Sakari Ailus Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Cc: Akinobu Mita Signed-off-by: Matt Ranostay --- Changes from v2: - split out

Re: [PATCH v2 2/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-11-22 Thread Matt Ranostay
On Thu, Nov 22, 2018 at 12:57 AM Hans Verkuil wrote: > > On 11/22/2018 04:52 AM, Matt Ranostay wrote: > > Add initial support for MLX90640 thermal cameras which output an 32x24 > > greyscale pixel image along with 2 rows of coefficent data. > > > > Because of th

[PATCH v2 0/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-11-21 Thread Matt Ranostay
.txt documentation Matt Ranostay (2): media: video-i2c: check if chip struct has set_power function media: video-i2c: add Melexis MLX90640 thermal camera support .../bindings/media/i2c/melexis,mlx90640.txt | 20 +++ drivers/media/i2c/Kconfig | 1 + drivers/media/i2c

[PATCH v2 2/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-11-21 Thread Matt Ranostay
: devicet...@vger.kernel.org Signed-off-by: Matt Ranostay --- .../bindings/media/i2c/melexis,mlx90640.txt | 20 drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/video-i2c.c | 110 +- 3 files changed, 130 insertions(+), 1 deletion

[PATCH v2 1/2] media: video-i2c: check if chip struct has set_power function

2018-11-21 Thread Matt Ranostay
Not all future supported video chips will always have power management support, and so it is important to check before calling set_power() is defined. Signed-off-by: Matt Ranostay --- drivers/media/i2c/video-i2c.c | 21 - 1 file changed, 16 insertions(+), 5 deletions

Re: [PATCH 2/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-11-19 Thread Matt Ranostay
On Mon, Nov 19, 2018 at 6:26 AM Hans Verkuil wrote: > > On 11/01/2018 05:15 AM, Matt Ranostay wrote: > > Add initial support for MLX90640 thermal cameras which output an 32x24 > > greyscale pixel image along with 2 rows of coefficent data. > > > > Because of this the

[PATCH 0/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-10-31 Thread Matt Ranostay
Add initial support for Melexis line of thermal cameras. This is the first part of processing pipeline in which the real processing is done in userspace using the V4L2 camera data. Dependency patchset series: https://patchwork.kernel.org/cover/10650541/ Matt Ranostay (2): media: video-i2c

[PATCH 1/2] media: video-i2c: check if chip struct has set_power function

2018-10-31 Thread Matt Ranostay
Not all future supported video chips will always have power management support, and so it is important to check before calling set_power() is defined. Signed-off-by: Matt Ranostay --- drivers/media/i2c/video-i2c.c | 21 - 1 file changed, 16 insertions(+), 5 deletions

[PATCH 2/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-10-31 Thread Matt Ranostay
. Signed-off-by: Matt Ranostay --- drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/video-i2c.c | 110 +- 2 files changed, 110 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 704af210e270..4bfb2c66d192

Re: [PATCH 2/2] media: video-i2c: hwmon: constify vb2_ops structure

2018-10-30 Thread Matt Ranostay
On Tue, Oct 30, 2018 at 9:06 AM Julia Lawall wrote: > > The vb2_ops structure can be const as it is only stored in the ops > field of a vb2_queue structure and this field is const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-by: Matt Ranostay

Re: [PATCH v4 3/6] media: v4l2-common: add V4L2_FRACT_COMPARE

2018-10-28 Thread Matt Ranostay
On Sun, Oct 28, 2018 at 9:25 AM Akinobu Mita wrote: > > 2018年10月28日(日) 12:49 Matt Ranostay : > > > > On Sat, Oct 20, 2018 at 7:26 AM Akinobu Mita wrote: > > > > > > Add macro to compare two v4l2_fract values in v4l2 common internal API. > > > Th

Re: [PATCH v4 3/6] media: v4l2-common: add V4L2_FRACT_COMPARE

2018-10-27 Thread Matt Ranostay
On Sat, Oct 20, 2018 at 7:26 AM Akinobu Mita wrote: > > Add macro to compare two v4l2_fract values in v4l2 common internal API. > The same macro FRACT_CMP() is used by vivid and bcm2835-camera. This just > renames it to V4L2_FRACT_COMPARE in order to avoid namespace collision.

Re: [PATCH v4 5/6] media: video-i2c: support changing frame interval

2018-10-27 Thread Matt Ranostay
On Sat, Oct 20, 2018 at 7:26 AM Akinobu Mita wrote: > > AMG88xx has a register for setting frame rate 1 or 10 FPS. > This adds support changing frame interval. > > Reference specifications: > https://docid81hrs3j1.cloudfront.net/medialibrary/2017/11/PANA-S-A0002141979-1.pdf >

Re: [PATCH v3 1/6] media: video-i2c: avoid accessing released memory area when removing driver

2018-10-13 Thread Matt Ranostay
> Fixes: 5cebaac60974 ("media: video-i2c: add video-i2c driver") > Cc: Matt Ranostay Reviewed-by: Matt Ranostay > Cc: Sakari Ailus > Cc: Hans Verkuil > Cc: Mauro Carvalho Chehab > Signed-off-by: Akinobu Mita > --- > * v3 > - Move the code causing use-afte

Re: [PATCH v2 2/6] media: video-i2c: use i2c regmap

2018-09-23 Thread Matt Ranostay
On Mon, Sep 24, 2018 at 12:35 AM Akinobu Mita wrote: > > Use regmap for i2c register access. This simplifies register accesses and > chooses suitable access commands based on the functionality that the > adapter supports. > > Cc: Matt Ranostay > Cc: Sakari Ailus > Cc: H

Re: [PATCH 4/5] media: video-i2c: support changing frame interval

2018-09-17 Thread Matt Ranostay
On Mon, Sep 17, 2018 at 6:03 PM Akinobu Mita wrote: > > AMG88xx has a register for setting frame rate 1 or 10 FPS. > This adds support changing frame interval. > > Reference specifications: > https://docid81hrs3j1.cloudfront.net/medialibrary/2017/11/PANA-S-A0002141979-1.pdf >

Re: [PATCH 5/5] media: video-i2c: support runtime PM

2018-09-17 Thread Matt Ranostay
t; https://docid81hrs3j1.cloudfront.net/medialibrary/2017/11/PANA-S-A0002141979-1.pdf > > Cc: Matt Ranostay > Cc: Sakari Ailus > Cc: Hans Verkuil > Cc: Mauro Carvalho Chehab > Signed-off-by: Akinobu Mita > --- > drivers/media/i2c/video-i2c.c | 140 > ++

Re: [PATCH 2/5] media: video-i2c: use i2c regmap

2018-09-17 Thread Matt Ranostay
On Mon, Sep 17, 2018 at 9:03 AM Akinobu Mita wrote: > > Use regmap for i2c register access. This simplifies register accesses and > chooses suitable access commands based on the functionality that the > adapter supports. > > Cc: Matt Ranostay > Cc: Sakari Ailus > Cc: H

Re: [PATCH 1/5] media: video-i2c: avoid accessing released memory area when removing driver

2018-09-17 Thread Matt Ranostay
on driver > detach. > > Fixes: 5cebaac60974 ("media: video-i2c: add video-i2c driver") > Cc: Matt Ranostay > Cc: Sakari Ailus > Cc: Hans Verkuil > Cc: Mauro Carvalho Chehab > Signed-off-by: Akinobu Mita Acked-by: Matt Ranostay > --- > drivers/media/i2

[PATCH] media: video-i2c: hwmon: fix return value from amg88xx_hwmon_init()

2018-07-26 Thread Matt Ranostay
PTR_ERR was making any pointer passed an error pointer, and should be replaced with PTR_ERR_OR_ZERO which checks if is an actual error condition. Signed-off-by: Matt Ranostay --- drivers/media/i2c/video-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c

Re: [RFC] media: thermal I2C cameras metadata

2018-07-25 Thread Matt Ranostay
On Wed, Jul 25, 2018 at 2:09 AM, Sakari Ailus wrote: > On Tue, Jul 24, 2018 at 11:05:47PM -0700, Matt Ranostay wrote: >> On Mon, Jul 23, 2018 at 4:35 AM, Sakari Ailus wrote: >> > Hi Matt, >> > >> > On Sun, Jul 15, 2018 at 11:05:42PM -0700, Matt Ranostay wrote

Re: [RFC] media: thermal I2C cameras metadata

2018-07-24 Thread Matt Ranostay
On Mon, Jul 23, 2018 at 4:35 AM, Sakari Ailus wrote: > Hi Matt, > > On Sun, Jul 15, 2018 at 11:05:42PM -0700, Matt Ranostay wrote: >> Hello et all, >> >> So currently working with some thermal sensors that have coefficients >> that needs to be passed back to use

[RFC] media: thermal I2C cameras metadata

2018-07-15 Thread Matt Ranostay
Hello et all, So currently working with some thermal sensors that have coefficients that needs to be passed back to userspace that aren't related to the pixel data but are required to normalize to remove scan patterns and temp gradients. Was wondering the best way to do this, and hope it isn't som

Re: [PATCH v8 2/2] media: video-i2c: add video-i2c driver

2018-04-18 Thread Matt Ranostay
On Wed, Apr 18, 2018 at 1:03 AM, Sakari Ailus wrote: > Hi Matt, > > Thanks for the update. > > On Fri, Apr 06, 2018 at 03:52:31PM -0700, Matt Ranostay wrote: >> There are several thermal sensors that only have a low-speed bus >> interface but output valid video data. Th

Re: [PATCH v8 2/2] media: video-i2c: add video-i2c driver

2018-04-18 Thread Matt Ranostay
Slight poke on this since the merge window craziness should be over also I stupidly forgot to CC people who had comments in the last revision. *grin* - Matt On Fri, Apr 6, 2018 at 3:52 PM, Matt Ranostay wrote: > There are several thermal sensors that only have a low-speed bus > interfa

[PATCH v8 0/2] media: video-i2c: add video-i2c driver support

2018-04-06 Thread Matt Ranostay
* corrected a few over 80 column lines * change DT check to generic dev_fwnode() call Matt Ranostay (2): media: dt-bindings: Add bindings for panasonic,amg88xx media: video-i2c: add video-i2c driver .../bindings/media/i2c/panasonic,amg88xx.txt | 19 + MAINTAINERS

[PATCH v8 1/2] media: dt-bindings: Add bindings for panasonic,amg88xx

2018-04-06 Thread Matt Ranostay
Define the device tree bindings for the panasonic,amg88xx i2c video driver. Cc: devicet...@vger.kernel.org Reviewed-by: Rob Herring Signed-off-by: Matt Ranostay --- .../bindings/media/i2c/panasonic,amg88xx.txt | 19 +++ 1 file changed, 19 insertions(+) create mode

[PATCH v8 2/2] media: video-i2c: add video-i2c driver

2018-04-06 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Signed-off-by: Matt Ranostay --- MAINTAINERS | 6 + drivers/media/i2c/Kconfig | 13

[PATCH v7 1/2] media: dt-bindings: Add bindings for panasonic,amg88xx

2018-04-05 Thread Matt Ranostay
Define the device tree bindings for the panasonic,amg88xx i2c video driver. Cc: devicet...@vger.kernel.org Reviewed-by: Rob Herring Signed-off-by: Matt Ranostay --- .../bindings/media/i2c/panasonic,amg88xx.txt | 19 +++ 1 file changed, 19 insertions(+) create mode

[PATCH v7 2/2] media: video-i2c: add video-i2c driver

2018-04-05 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Signed-off-by: Matt Ranostay --- MAINTAINERS | 6 + drivers/media/i2c/Kconfig | 13

[PATCH v7 0/2] media: video-i2c: add video-i2c driver support

2018-04-05 Thread Matt Ranostay
Kconfig documentation * destroy mutexes on error path and module removal * fixed MODULE_LICENSE from GPL to GPLv2 * changes some calls to list_last_entry() to avoid touching next pointer * moved common code to a function from start/stop_streaming() Matt Ranostay (2): media: dt-bindings: Add

Re: [PATCH v6 2/2] media: video-i2c: add video-i2c driver

2018-04-05 Thread Matt Ranostay
On Thu, Apr 5, 2018 at 12:39 AM, Sakari Ailus wrote: > Hi Matt, > > Thanks for the patch. It's a very nicely written, small driver. :-) > > Please see more comments below. > > On Sat, Mar 31, 2018 at 05:59:26PM -0700, Matt Ranostay wrote: >> There are several ther

Re: [PATCH v6 2/2] media: video-i2c: add video-i2c driver

2018-03-31 Thread Matt Ranostay
On Sat, Mar 31, 2018 at 5:59 PM, Matt Ranostay wrote: > There are several thermal sensors that only have a low-speed bus > interface but output valid video data. This patchset enables support > for the AMG88xx "Grid-Eye" sensor family. > > Signed-off-by: Matt Ranostay &g

[PATCH v6 0/2] media: video-i2c: add video-i2c driver support

2018-03-31 Thread Matt Ranostay
: * convert pointer from of_device_get_match_data() to long instead of int to avoid compiler warning Changes from v5: * fix various issues with v4l2-compliance tool run Matt Ranostay (2): media: dt-bindings: Add bindings for panasonic,amg88xx media: video-i2c: add video-i2c driver .../bindings

[PATCH v6 2/2] media: video-i2c: add video-i2c driver

2018-03-31 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Signed-off-by: Matt Ranostay --- MAINTAINERS | 6 + drivers/media/i2c/Kconfig | 9

[PATCH v6 1/2] media: dt-bindings: Add bindings for panasonic,amg88xx

2018-03-31 Thread Matt Ranostay
Define the device tree bindings for the panasonic,amg88xx i2c video driver. Cc: devicet...@vger.kernel.org Reviewed-by: Rob Herring Signed-off-by: Matt Ranostay --- .../bindings/media/i2c/panasonic,amg88xx.txt | 19 +++ 1 file changed, 19 insertions(+) create mode

Re: [PATCH v5 0/2] media: video-i2c: add video-i2c driver support

2018-03-22 Thread Matt Ranostay
On Thu, Mar 22, 2018 at 3:28 PM, Hans Verkuil wrote: > On 03/22/2018 06:46 AM, Matt Ranostay wrote: >> On Mon, Mar 19, 2018 at 5:31 PM, Hans Verkuil wrote: >>> On 03/16/2018 03:47 AM, Matt Ranostay wrote: >>>> On Fri, Mar 9, 2018 at 10:26 AM, Matt Ranostay >>

Re: [PATCH v5 0/2] media: video-i2c: add video-i2c driver support

2018-03-21 Thread Matt Ranostay
On Mon, Mar 19, 2018 at 5:31 PM, Hans Verkuil wrote: > On 03/16/2018 03:47 AM, Matt Ranostay wrote: >> On Fri, Mar 9, 2018 at 10:26 AM, Matt Ranostay >> wrote: >>> On Fri, Mar 9, 2018 at 4:45 AM, Hans Verkuil wrote: >>>> Hi Matt, >>>> >&

Re: [PATCH v5 0/2] media: video-i2c: add video-i2c driver support

2018-03-15 Thread Matt Ranostay
On Fri, Mar 9, 2018 at 10:26 AM, Matt Ranostay wrote: > On Fri, Mar 9, 2018 at 4:45 AM, Hans Verkuil wrote: >> Hi Matt, >> >> This is looking good. One request before I merge: please run the >> 'v4l2-compliance -s -f' utility and post the result here. >

Re: [PATCH v5 0/2] media: video-i2c: add video-i2c driver support

2018-03-09 Thread Matt Ranostay
p(1268): q.reqbufs(node, 3) Stride 0, Field Interlaced Bottom-Top: FAIL fail: v4l2-test-buffers.cpp(1472): fmt.g_sizeimage() <= size fail: v4l2-test-buffers.cpp(1268): q.reqbufs(node, 3) Stride 80, Field None: FAIL Total: 64, Succeeded: 44, Failed: 20, Warnings: 0 > > Thanks! > >

[PATCH v5 2/2] media: video-i2c: add video-i2c driver

2018-03-08 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Signed-off-by: Matt Ranostay --- MAINTAINERS | 6 + drivers/media/i2c/Kconfig | 9

[PATCH v5 0/2] media: video-i2c: add video-i2c driver support

2018-03-08 Thread Matt Ranostay
: * convert pointer from of_device_get_match_data() to long instead of int to avoid compiler warning Matt Ranostay (2): media: dt-bindings: Add bindings for panasonic,amg88xx media: video-i2c: add video-i2c driver .../bindings/media/i2c/panasonic,amg88xx.txt | 19 + MAINTAINERS

[PATCH v5 1/2] media: dt-bindings: Add bindings for panasonic,amg88xx

2018-03-08 Thread Matt Ranostay
Define the device tree bindings for the panasonic,amg88xx i2c video driver. Cc: devicet...@vger.kernel.org Reviewed-by: Rob Herring Signed-off-by: Matt Ranostay --- .../bindings/media/i2c/panasonic,amg88xx.txt | 19 +++ 1 file changed, 19 insertions(+) create mode

Re: [PATCH v4 2/2] media: video-i2c: add video-i2c driver

2018-03-04 Thread Matt Ranostay
tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Matt-Ranostay/media-video-i2c-add-video-i2c-driver-support/20180301-111038 > base: git://linuxtv.org/media_tree.git master > config: ia64-allmodconfig (attached as .

[PATCH v4 1/2] media: dt-bindings: Add bindings for panasonic,amg88xx

2018-02-26 Thread Matt Ranostay
Define the device tree bindings for the panasonic,amg88xx i2c video driver. Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Matt Ranostay --- .../bindings/media/i2c/panasonic,amg88xx.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644

[PATCH v4 2/2] media: video-i2c: add video-i2c driver

2018-02-26 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Luca Barbato Cc: Laurent Pinchart Signed-off-by: Matt Ranostay --- MAINTAINERS | 6

[PATCH v4 0/2] media: video-i2c: add video-i2c driver support

2018-02-26 Thread Matt Ranostay
build Changes from v3: * Add devicetree binding documents * snprintf check added * switched to per chip support based on devicetree or i2c client id * add VB2_DMABUF to io_modes * added entry to MAINTAINERS file switched to per chip support based on devicetree or i2c client id Matt Ranostay (2

[PATCH v3] media: video-i2c: add video-i2c driver

2018-02-24 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Luca Barbato Cc: Laurent Pinchart Signed-off-by: Matt Ranostay --- Changes from v1: * Switch to SPDX t

[PATCH v2] media: video-i2c: add video-i2c driver

2018-02-15 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Luca Barbato Cc: Laurent Pinchart Signed-off-by: Matt Ranostay --- Changes from v1: * Switch to SPDX t

Re: [PATCH RESEND] media: video-i2c: add video-i2c driver

2018-02-15 Thread Matt Ranostay
On Thu, Feb 15, 2018 at 7:49 AM, Hans Verkuil wrote: > Hi Matt, > > Here is a quick review. Apologies for the delay, it has been very busy for > the last few weeks. > > On 13/01/18 04:57, Matt Ranostay wrote: >> There are several thermal sensors that only have a low-sp

[PATCH RESEND] media: video-i2c: add video-i2c driver

2018-01-12 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Luca Barbato Cc: Laurent Pinchart Signed-off-by: Matt Ranostay --- drivers/media/i2c/Kconfig | 9

Re: [PATCH v5] media: video-i2c: add video-i2c driver

2017-01-13 Thread Matt Ranostay
On Fri, Jan 13, 2017 at 3:47 AM, Laurent Pinchart wrote: > Hi Matt, > > Thank you for the patch. > > On Friday 23 Dec 2016 19:04:26 Matt Ranostay wrote: >> There are several thermal sensors that only have a low-speed bus >> interface but output valid video data. Th

Re: [PATCH v5] media: video-i2c: add video-i2c driver

2017-01-13 Thread Matt Ranostay
On Fri, Jan 13, 2017 at 2:22 AM, Laurent Pinchart wrote: > Hi Matt, > > On Thursday 12 Jan 2017 20:45:21 Matt Ranostay wrote: >> On Sun, Jan 8, 2017 at 9:33 PM, Marek Vasut wrote: >> > On 01/09/2017 06:17 AM, Matt Ranostay wrote: >> >> Gentle ping on thi

Re: [PATCH v5] media: video-i2c: add video-i2c driver

2017-01-12 Thread Matt Ranostay
On Sun, Jan 8, 2017 at 9:33 PM, Marek Vasut wrote: > On 01/09/2017 06:17 AM, Matt Ranostay wrote: >> Gentle ping on this! :) > > Just some high-level feedback ... You should use regmap instead. Also, > calling a driver which is specific to a particular sensor (amg88x) by > ge

Re: [PATCH v5] media: video-i2c: add video-i2c driver

2017-01-08 Thread Matt Ranostay
Gentle ping on this! :) Thanks, Matt > On Dec 23, 2016, at 19:04, Matt Ranostay wrote: > > There are several thermal sensors that only have a low-speed bus > interface but output valid video data. This patchset enables support > for the AMG88xx "Grid-Eye" sensor famil

[PATCH v5] media: video-i2c: add video-i2c driver

2016-12-23 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Attila Kinali Cc: Marek Vasut Cc: Luca Barbato Cc: Laurent Pinchart Signed-off-by: Matt Ranostay -

[PATCH v4] media: video-i2c: add video-i2c driver

2016-11-25 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Attila Kinali Cc: Marek Vasut Cc: Luca Barbato Cc: Laurent Pinchart Signed-off-by: Matt Ranostay -

Re: [PATCH v3] media: i2c-polling: add i2c-polling driver

2016-11-24 Thread Matt Ranostay
On Wed, Nov 23, 2016 at 10:31 PM, Matt Ranostay wrote: > On Wed, Nov 23, 2016 at 8:30 AM, Laurent Pinchart > wrote: >> Hi Matt, >> >> Thank you for the patch. >> >> On Tuesday 22 Nov 2016 17:18:40 Matt Ranostay wrote: >>> There are several t

Re: [PATCH v3] media: i2c-polling: add i2c-polling driver

2016-11-23 Thread Matt Ranostay
On Wed, Nov 23, 2016 at 8:30 AM, Laurent Pinchart wrote: > Hi Matt, > > Thank you for the patch. > > On Tuesday 22 Nov 2016 17:18:40 Matt Ranostay wrote: >> There are several thermal sensors that only have a low-speed bus >> interface but output valid video data. Th

Re: [PATCH v3] media: i2c-polling: add i2c-polling driver

2016-11-23 Thread Matt Ranostay
On Wed, Nov 23, 2016 at 8:30 AM, Laurent Pinchart wrote: > Hi Matt, > > Thank you for the patch. > > On Tuesday 22 Nov 2016 17:18:40 Matt Ranostay wrote: >> There are several thermal sensors that only have a low-speed bus >> interface but output valid video data. Th

Re: [PATCH v3] media: i2c-polling: add i2c-polling driver

2016-11-23 Thread Matt Ranostay
On Wed, Nov 23, 2016 at 8:30 AM, Laurent Pinchart wrote: > Hi Matt, > > Thank you for the patch. > > On Tuesday 22 Nov 2016 17:18:40 Matt Ranostay wrote: >> There are several thermal sensors that only have a low-speed bus >> interface but output valid video data. Th

[PATCH v3] media: i2c-polling: add i2c-polling driver

2016-11-22 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Attila Kinali Cc: Marek Vasut Cc: Luca Barbato Signed-off-by: Matt Ranostay --- Changes from v1:

Re: [PATCH v2] media: i2c-polling: add i2c-polling driver

2016-11-08 Thread Matt Ranostay
ering how it built for me. will fix in v3 > > > 2016-11-08 9:00 GMT+03:00 Matt Ranostay : >> >> There are several thermal sensors that only have a low-speed bus >> interface but output valid video data. This patchset enables support >> for the AMG88xx "Grid-Eye&q

[PATCH v2] media: i2c-polling: add i2c-polling driver

2016-11-07 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Attila Kinali Cc: Marek Vasut Cc: Luca Barbato Signed-off-by: Matt Ranostay --- Changes from v1:

Re: [PATCH] media: i2c-polling: add i2c-polling driver

2016-11-06 Thread Matt Ranostay
On Sun, Nov 6, 2016 at 5:21 PM, Matt Ranostay wrote: > There are several thermal sensors that only have a low-speed bus > interface but output valid video data. This patchset enables support > for the AMG88xx "Grid-Eye" sensor family. > > Cc: Attila Kinali > Cc: Mar

[PATCH] media: i2c-polling: add i2c-polling driver

2016-11-06 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Attila Kinali Cc: Marek Vasut Cc: Luca Barbato Signed-off-by: Matt Ranostay --- drivers/media/i

Re: [RFC] v4l2 support for thermopile devices

2016-11-03 Thread Matt Ranostay
On Thu, Nov 3, 2016 at 8:11 AM, Luca Barbato wrote: > On 03/11/2016 14:21, Attila Kinali wrote: >> On Wed, 2 Nov 2016 23:10:41 -0700 >> Matt Ranostay wrote: >> >>> >>> So does anyone know of any software that is using V4L2_PIX_FMT_Y12 >>> current

Re: [RFC] v4l2 support for thermopile devices

2016-11-02 Thread Matt Ranostay
On Fri, Oct 28, 2016 at 7:59 PM, Matt Ranostay wrote: > On Fri, Oct 28, 2016 at 2:53 PM, Hans Verkuil wrote: >> Hi Matt, >> >> On 28/10/16 22:14, Matt Ranostay wrote: >>> >>> So want to toss a few thoughts on adding support for thermopile >>> devi

Re: [RFC] v4l2 support for thermopile devices

2016-10-28 Thread Matt Ranostay
On Fri, Oct 28, 2016 at 2:53 PM, Hans Verkuil wrote: > Hi Matt, > > On 28/10/16 22:14, Matt Ranostay wrote: >> >> So want to toss a few thoughts on adding support for thermopile >> devices (could be used for FLIR Lepton as well) that output pixel >> data. &

Re: [RFC] v4l2 support for thermopile devices

2016-10-28 Thread Matt Ranostay
On Fri, Oct 28, 2016 at 1:30 PM, Devin Heitmueller wrote: > Hi Matt, > >> Need some input for the video pixel data types, which the device we >> are using (see datasheet links below) is outputting pixel data in >> little endian 16-bit of which a 12-bits signed value is used. Does it >> make sense

Re: [RFC] v4l2 support for thermopile devices

2016-10-28 Thread Matt Ranostay
On Fri, Oct 28, 2016 at 1:40 PM, Marek Vasut wrote: > On 10/28/2016 10:30 PM, Devin Heitmueller wrote: >> Hi Matt, >> >>> Need some input for the video pixel data types, which the device we >>> are using (see datasheet links below) is outputting pixel data in >>> little endian 16-bit of which a 12

[RFC] v4l2 support for thermopile devices

2016-10-28 Thread Matt Ranostay
So want to toss a few thoughts on adding support for thermopile devices (could be used for FLIR Lepton as well) that output pixel data. These typically aren't DMA'able devices since they are low speed (partly to limiting the functionality to be in compliance with ITAR) and data is piped over i2c/sp