linux/Documentation/media/uapi/v4l/pixfmt-tch-tu16.rst
Hans Verkuil 94010145a5 media: pixfmt-tch-td16/tu16.rst: document that this is little endian
Testing with the rmi_f54 driver on the Lenovo X1 Carbon 6th gen
laptop showed that the data is in little endian format. Update
the documentation accordingly.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2019-12-16 10:21:14 +01:00

74 lines
1.8 KiB
ReStructuredText

.. Permission is granted to copy, distribute and/or modify this
.. document under the terms of the GNU Free Documentation License,
.. Version 1.1 or any later version published by the Free Software
.. Foundation, with no Invariant Sections, no Front-Cover Texts
.. and no Back-Cover Texts. A copy of the license is included at
.. Documentation/media/uapi/fdl-appendix.rst.
..
.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
.. _V4L2-TCH-FMT-TU16:
********************************
V4L2_TCH_FMT_TU16 ('TU16')
********************************
*man V4L2_TCH_FMT_TU16(2)*
16-bit unsigned little endian 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
* - start + 0:
- R'\ :sub:`00low`
- R'\ :sub:`00high`
- R'\ :sub:`01low`
- R'\ :sub:`01high`
- R'\ :sub:`02low`
- R'\ :sub:`02high`
- R'\ :sub:`03low`
- R'\ :sub:`03high`
* - start + 8:
- R'\ :sub:`10low`
- R'\ :sub:`10high`
- R'\ :sub:`11low`
- R'\ :sub:`11high`
- R'\ :sub:`12low`
- R'\ :sub:`12high`
- R'\ :sub:`13low`
- R'\ :sub:`13high`
* - start + 16:
- R'\ :sub:`20low`
- R'\ :sub:`20high`
- R'\ :sub:`21low`
- R'\ :sub:`21high`
- R'\ :sub:`22low`
- R'\ :sub:`22high`
- R'\ :sub:`23low`
- R'\ :sub:`23high`
* - start + 24:
- R'\ :sub:`30low`
- R'\ :sub:`30high`
- R'\ :sub:`31low`
- R'\ :sub:`31high`
- R'\ :sub:`32low`
- R'\ :sub:`32high`
- R'\ :sub:`33low`
- R'\ :sub:`33high`