[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5767DAE4.3000202@xs4all.nl>
Date: Mon, 20 Jun 2016 14:00:36 +0200
From: Hans Verkuil <hverkuil@...all.nl>
To: Nick Dyer <nick.dyer@...ev.co.uk>,
Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-media@...r.kernel.org,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Benson Leung <bleung@...omium.org>,
Alan Bowens <Alan.Bowens@...el.com>,
Javier Martinez Canillas <javier@....samsung.com>,
Chris Healy <cphealy@...il.com>,
Henrik Rydberg <rydberg@...math.org>,
Andrew Duggan <aduggan@...aptics.com>,
James Chen <james.chen@....com.tw>,
Dudley Du <dudl@...ress.com>,
Andrew de los Reyes <adlr@...omium.org>,
sheckylin@...omium.org, Peter Hutterer <peter.hutterer@...-t.net>,
Florian Echtler <floe@...terbrot.org>, mchehab@....samsung.com
Subject: Re: [PATCH v4 2/9] [media] v4l2-core: Add VFL_TYPE_TOUCH_SENSOR
On 06/17/2016 04:16 PM, Nick Dyer wrote:
> Some touch controllers send out raw touch data in a similar way to a
> greyscale frame grabber. Add a new device type for these devices.
>
> Use a new device prefix v4l-touch for these devices, to stop generic
> capture software from treating them as webcams.
>
> Signed-off-by: Nick Dyer <nick.dyer@...ev.co.uk>
> ---
> drivers/input/touchscreen/sur40.c | 4 ++--
> drivers/media/v4l2-core/v4l2-dev.c | 13 ++++++++++---
> drivers/media/v4l2-core/v4l2-ioctl.c | 15 ++++++++++-----
> include/media/v4l2-dev.h | 3 ++-
> include/uapi/linux/videodev2.h | 1 +
The new interface also needs to be documented in the media DocBook: section 4
describes all the interfaces, so a new one should be added here.
Sorry, just realized this.
I recommend that you grep for swradio:
git grep swradio Documentation/DocBook/media
and add a line there for v4l-touch as well. It also looks like a new interface
define is needed as a media type.
Regards,
Hans
Powered by blists - more mailing lists