summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst
diff options
context:
space:
mode:
authorNick Dyer2016-08-14 21:57:29 +0200
committerMauro Carvalho Chehab2016-08-23 21:39:23 +0200
commit233b213a3143d9f1dc6984816262c43f95144bb9 (patch)
tree115a65e12f9cc0b7e7c4f2a2fd2c809b1545a9b1 /Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst
parent[media] Input: sur40 - use new V4L2 touch input type (diff)
downloadkernel-qcow2-linux-233b213a3143d9f1dc6984816262c43f95144bb9.tar.gz
kernel-qcow2-linux-233b213a3143d9f1dc6984816262c43f95144bb9.tar.xz
kernel-qcow2-linux-233b213a3143d9f1dc6984816262c43f95144bb9.zip
[media] Documentation: add support for V4L touch devices
Document the new touch API. Signed-off-by: Nick Dyer <nick@shmanahar.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> [hans.verkuil@cisco.com: fix up videodev2.h.rst.exceptions] Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst')
-rw-r--r--Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst110
1 files changed, 110 insertions, 0 deletions
diff --git a/Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst b/Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst
new file mode 100644
index 000000000000..67be13d9e550
--- /dev/null
+++ b/Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst
@@ -0,0 +1,110 @@
+.. -*- coding: utf-8; mode: rst -*-
+
+.. _V4L2-TCH-FMT-TU16:
+
+********************************
+V4L2_TCH_FMT_TU16 ('TU16')
+********************************
+
+*man V4L2_TCH_FMT_TU16(2)*
+
+16-bit unsigned raw touch data
+
+
+Description
+===========
+
+This format represents unsigned 16-bit data from a touch controller.
+
+This may be used for output for raw and reference data. Values may range from
+0 to 65535.
+
+**Byte Order.**
+Each cell is one byte.
+
+
+.. flat-table::
+ :header-rows: 0
+ :stub-columns: 0
+ :widths: 2 1 1 1 1 1 1 1 1
+
+
+ - .. row 1
+
+ - start + 0:
+
+ - R'\ :sub:`00high`
+
+ - R'\ :sub:`00low`
+
+ - R'\ :sub:`01high`
+
+ - R'\ :sub:`01low`
+
+ - R'\ :sub:`02high`
+
+ - R'\ :sub:`02low`
+
+ - R'\ :sub:`03high`
+
+ - R'\ :sub:`03low`
+
+ - .. row 2
+
+ - start + 8:
+
+ - R'\ :sub:`10high`
+
+ - R'\ :sub:`10low`
+
+ - R'\ :sub:`11high`
+
+ - R'\ :sub:`11low`
+
+ - R'\ :sub:`12high`
+
+ - R'\ :sub:`12low`
+
+ - R'\ :sub:`13high`
+
+ - R'\ :sub:`13low`
+
+ - .. row 3
+
+ - start + 16:
+
+ - R'\ :sub:`20high`
+
+ - R'\ :sub:`20low`
+
+ - R'\ :sub:`21high`
+
+ - R'\ :sub:`21low`
+
+ - R'\ :sub:`22high`
+
+ - R'\ :sub:`22low`
+
+ - R'\ :sub:`23high`
+
+ - R'\ :sub:`23low`
+
+ - .. row 4
+
+ - start + 24:
+
+ - R'\ :sub:`30high`
+
+ - R'\ :sub:`30low`
+
+ - R'\ :sub:`31high`
+
+ - R'\ :sub:`31low`
+
+ - R'\ :sub:`32high`
+
+ - R'\ :sub:`32low`
+
+ - R'\ :sub:`33high`
+
+ - R'\ :sub:`33low`