linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] v4l2 support for thermopile devices
@ 2016-10-28 20:14 Matt Ranostay
  2016-10-28 20:30 ` Devin Heitmueller
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Matt Ranostay @ 2016-10-28 20:14 UTC (permalink / raw)
  To: linux-media, linux-kernel, Jonathan Cameron, Lars-Peter Clausen
  Cc: Attila Kinali, Marek Vasut

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

My question is that there doesn't seem to be an other driver that
polls frames off of a device and pushes it to the video buffer, and
wanted to be sure that this doesn't currently exist somewhere.

Also more importantly does the mailing list thinks it belongs in v4l2?
We already came up the opinion on the IIO list that it doesn't belong
in that subsystem since pushing raw pixel data to a buffer is a bit
hacky. Also could be generically written with regmap so other devices
(namely FLIR Lepton) could be easily supported.

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 to do some basic processing on the data since greyscale is
going to look weird with temperatures under 0C degrees? Namely a cold
object is going to be brighter than the hottest object it could read.
Or should a new V4L2_PIX_FMT_* be defined and processing done in
software?  Another issue is how to report the scaling value of 0.25 C
for each LSB of the pixels to the respecting recording application.

Datasheet: http://media.digikey.com/pdf/Data%20Sheets/Panasonic%20Sensors%20PDFs/Grid-EYE_AMG88.pdf
Datasheet: https://eewiki.net/download/attachments/13599167/Grid-EYE%20SPECIFICATIONS%28Reference%29.pdf?version=1&modificationDate=1380660426690&api=v2

Thanks,

Matt

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-11-26 13:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-28 20:14 [RFC] v4l2 support for thermopile devices Matt Ranostay
2016-10-28 20:30 ` Devin Heitmueller
2016-10-28 20:40   ` Marek Vasut
2016-10-29  2:56     ` Matt Ranostay
2016-10-29  2:58   ` Matt Ranostay
2016-10-28 21:53 ` Hans Verkuil
2016-10-29  2:59   ` Matt Ranostay
2016-11-03  6:10     ` Matt Ranostay
2016-11-03  7:35       ` Antonio Ospite
2016-11-03  8:41         ` Hans Verkuil
2016-11-03 13:21       ` Attila Kinali
2016-11-03 15:11         ` Luca Barbato
2016-11-04  5:11           ` Matt Ranostay
2016-11-17 17:31       ` Sakari Ailus
2016-11-26 13:16 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).