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
>
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
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
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
.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
: 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
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
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
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
.
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
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.
> > >
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.
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
>
> 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
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
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
>
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
> ++
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
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
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
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
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
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
On Wed, Apr 18, 2018 at 1:03 AM, Sakari Ailus <sakari.ai...@iki.fi> 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
>> inte
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
<matt.ranos...@konsulko.com> wrote:
> There are several thermal sensors that only h
* 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
Define the device tree bindings for the panasonic,amg88xx i2c
video driver.
Cc: devicet...@vger.kernel.org
Reviewed-by: Rob Herring <r...@kernel.org>
Signed-off-by: Matt Ranostay <matt.ranos...@konsulko.com>
---
.../bindings/media/i2c/panasonic,amg88xx.txt | 19 ++
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 <matt.ranos...@konsulko.com>
---
MAINTAINERS | 6 +
d
Define the device tree bindings for the panasonic,amg88xx i2c
video driver.
Cc: devicet...@vger.kernel.org
Reviewed-by: Rob Herring <r...@kernel.org>
Signed-off-by: Matt Ranostay <matt.ranos...@konsulko.com>
---
.../bindings/media/i2c/panasonic,amg88xx.txt | 19 ++
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 <matt.ranos...@konsulko.com>
---
MAINTAINERS | 6 +
d
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
On Thu, Apr 5, 2018 at 12:39 AM, Sakari Ailus <sakari.ai...@iki.fi> 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:
>>
On Sat, Mar 31, 2018 at 5:59 PM, Matt Ranostay
<matt.ranos...@konsulko.com> 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.
>
&g
:
* 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
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 <matt.ranos...@konsulko.com>
---
MAINTAINERS | 6 +
d
Define the device tree bindings for the panasonic,amg88xx i2c
video driver.
Cc: devicet...@vger.kernel.org
Reviewed-by: Rob Herring <r...@kernel.org>
Signed-off-by: Matt Ranostay <matt.ranos...@konsulko.com>
---
.../bindings/media/i2c/panasonic,amg88xx.txt | 19 ++
On Thu, Mar 22, 2018 at 3:28 PM, Hans Verkuil <hverk...@xs4all.nl> wrote:
> On 03/22/2018 06:46 AM, Matt Ranostay wrote:
>> On Mon, Mar 19, 2018 at 5:31 PM, Hans Verkuil <hverk...@xs4all.nl> wrote:
>>> On 03/16/2018 03:47 AM, Matt Ranostay wrote:
>>>> On F
On Mon, Mar 19, 2018 at 5:31 PM, Hans Verkuil <hverk...@xs4all.nl> wrote:
> On 03/16/2018 03:47 AM, Matt Ranostay wrote:
>> On Fri, Mar 9, 2018 at 10:26 AM, Matt Ranostay
>> <matt.ranos...@konsulko.com> wrote:
>>> On Fri, Mar 9, 2018 at 4:45 AM, Hans Verkuil
On Fri, Mar 9, 2018 at 10:26 AM, Matt Ranostay
<matt.ranos...@konsulko.com> wrote:
> On Fri, Mar 9, 2018 at 4:45 AM, Hans Verkuil <hverk...@xs4all.nl> wrote:
>> Hi Matt,
>>
>> This is looking good. One request before I merge: please run the
>> 'v4l2-compli
: 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!
>
>
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 <matt.ranos...@konsulko.com>
---
MAINTAINERS | 6 +
d
Define the device tree bindings for the panasonic,amg88xx i2c
video driver.
Cc: devicet...@vger.kernel.org
Reviewed-by: Rob Herring <r...@kernel.org>
Signed-off-by: Matt Ranostay <matt.ranos...@konsulko.com>
---
.../bindings/media/i2c/panasonic,amg88xx.txt | 19 ++
:
* 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
plied to the wrong git 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-
Define the device tree bindings for the panasonic,amg88xx i2c
video driver.
Cc: Rob Herring <r...@kernel.org>
Cc: devicet...@vger.kernel.org
Signed-off-by: Matt Ranostay <matt.ranos...@konsulko.com>
---
.../bindings/media/i2c/panasonic,amg88xx.txt | 19 +++
video-i2c.c - Support for I2C transport video devices
+ *
+ * Copyright (C) 2018 Matt Ranostay <matt.ranos...@konsulko.com>
+ *
+ * Supported:
+ * - Panasonic AMG88xx Grid-Eye Sensors
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#incl
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
ort for I2C transport video devices
+ *
+ * Copyright (C) 2018 Matt Ranostay <matt.ranos...@konsulko.com>
+ *
+ * Supported:
+ * - Panasonic AMG88xx Grid-Eye Sensors
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#
c.c b/drivers/media/i2c/video-i2c.c
new file mode 100644
index ..936baaae2c7f
--- /dev/null
+++ b/drivers/media/i2c/video-i2c.c
@@ -0,0 +1,546 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * video-i2c.c - Support for I2C transport video devices
+ *
+ * Copyright (C) 2018 Matt Ranostay <mat
On Thu, Feb 15, 2018 at 7:49 AM, Hans Verkuil <hverk...@xs4all.nl> 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
ort for I2C transport video devices
+ *
+ * Copyright (C) 2018 Matt Ranostay <matt.ranos...@konsulko.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; eith
On Fri, Jan 13, 2017 at 3:47 AM, Laurent Pinchart
<laurent.pinch...@ideasonboard.com> 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
>> inte
On Fri, Jan 13, 2017 at 2:22 AM, Laurent Pinchart
<laurent.pinch...@ideasonboard.com> 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 <ma...@denx.de> wrote:
>> > On 01/09/2017 06:17 A
On Sun, Jan 8, 2017 at 9:33 PM, Marek Vasut <ma...@denx.de> 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 sens
Gentle ping on this! :)
Thanks,
Matt
> On Dec 23, 2016, at 19:04, Matt Ranostay <matt@ranostay.consulting> 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 AMG8
.@gentoo.org>
Cc: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
---
Changes from v1:
* correct i2c_polling_remove() operations
* fixed delay calcuation in buffer_queue()
* add include linux/slab.h
Changes from v2:
* fix buil
.@gentoo.org>
Cc: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
---
Changes from v1:
* correct i2c_polling_remove() operations
* fixed delay calcuation in buffer_queue()
* add include linux/slab.h
Changes from v2:
* fix buil
On Wed, Nov 23, 2016 at 10:31 PM, Matt Ranostay
<matt@ranostay.consulting> wrote:
> On Wed, Nov 23, 2016 at 8:30 AM, Laurent Pinchart
> <laurent.pinch...@ideasonboard.com> wrote:
>> Hi Matt,
>>
>> Thank you for the patch.
>>
>> On
On Wed, Nov 23, 2016 at 8:30 AM, Laurent Pinchart
<laurent.pinch...@ideasonboard.com> 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
>> inte
On Wed, Nov 23, 2016 at 8:30 AM, Laurent Pinchart
<laurent.pinch...@ideasonboard.com> 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
>> inte
On Wed, Nov 23, 2016 at 8:30 AM, Laurent Pinchart
<laurent.pinch...@ideasonboard.com> 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
>> inte
..@gentoo.org>
Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
---
Changes from v1:
* correct i2c_polling_remove() operations
* fixed delay calcuation in buffer_queue()
* add include linux/slab.h
Changes from v2:
* fix build error due to typo in include of slab.h
drivers/media/i2c/Kc
;>> +#include
Gah wondering how it built for me. will fix in v3
>
>
> 2016-11-08 9:00 GMT+03:00 Matt Ranostay <matt@ranostay.consulting>:
>>
>> There are several thermal sensors that only have a low-speed bus
>> interface but output valid video data.
..@gentoo.org>
Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
---
Changes from v1:
* correct i2c_polling_remove() operations
* fixed delay calcuation in buffer_queue()
* add include linux/slab.h
drivers/media/i2c/Kconfig | 8 +
drivers/media/i2c/Makefile | 1 +
dri
On Sun, Nov 6, 2016 at 5:21 PM, Matt Ranostay <mranos...@gmail.com> 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:
..@gentoo.org>
Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
---
drivers/media/i2c/Kconfig | 8 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/i2c-polling.c | 466
3 files changed, 475 insertions(+)
create mode 1006
On Thu, Nov 3, 2016 at 8:11 AM, Luca Barbato <lu_z...@gentoo.org> wrote:
> On 03/11/2016 14:21, Attila Kinali wrote:
>> On Wed, 2 Nov 2016 23:10:41 -0700
>> Matt Ranostay <matt@ranostay.consulting> wrote:
>>
>>>
>>> So does anyone know of any so
On Fri, Oct 28, 2016 at 7:59 PM, Matt Ranostay <matt@ranostay.consulting> wrote:
> On Fri, Oct 28, 2016 at 2:53 PM, Hans Verkuil <hverk...@xs4all.nl> wrote:
>> Hi Matt,
>>
>> On 28/10/16 22:14, Matt Ranostay wrote:
>>>
>>> So want to toss a few th
On Fri, Oct 28, 2016 at 2:53 PM, Hans Verkuil <hverk...@xs4all.nl> 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
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
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
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
72 matches
Mail list logo