Commit 94010145 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

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: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 06b5cf51
...@@ -15,7 +15,7 @@ V4L2_TCH_FMT_DELTA_TD16 ('TD16') ...@@ -15,7 +15,7 @@ V4L2_TCH_FMT_DELTA_TD16 ('TD16')
*man V4L2_TCH_FMT_DELTA_TD16(2)* *man V4L2_TCH_FMT_DELTA_TD16(2)*
16-bit signed Touch Delta 16-bit signed little endian Touch Delta
Description Description
...@@ -37,38 +37,38 @@ Each cell is one byte. ...@@ -37,38 +37,38 @@ Each cell is one byte.
:widths: 2 1 1 1 1 1 1 1 1 :widths: 2 1 1 1 1 1 1 1 1
* - start + 0: * - start + 0:
- D'\ :sub:`00high`
- D'\ :sub:`00low` - D'\ :sub:`00low`
- D'\ :sub:`01high` - D'\ :sub:`00high`
- D'\ :sub:`01low` - D'\ :sub:`01low`
- D'\ :sub:`02high` - D'\ :sub:`01high`
- D'\ :sub:`02low` - D'\ :sub:`02low`
- D'\ :sub:`03high` - D'\ :sub:`02high`
- D'\ :sub:`03low` - D'\ :sub:`03low`
- D'\ :sub:`03high`
* - start + 8: * - start + 8:
- D'\ :sub:`10high`
- D'\ :sub:`10low` - D'\ :sub:`10low`
- D'\ :sub:`11high` - D'\ :sub:`10high`
- D'\ :sub:`11low` - D'\ :sub:`11low`
- D'\ :sub:`12high` - D'\ :sub:`11high`
- D'\ :sub:`12low` - D'\ :sub:`12low`
- D'\ :sub:`13high` - D'\ :sub:`12high`
- D'\ :sub:`13low` - D'\ :sub:`13low`
- D'\ :sub:`13high`
* - start + 16: * - start + 16:
- D'\ :sub:`20high`
- D'\ :sub:`20low` - D'\ :sub:`20low`
- D'\ :sub:`21high` - D'\ :sub:`20high`
- D'\ :sub:`21low` - D'\ :sub:`21low`
- D'\ :sub:`22high` - D'\ :sub:`21high`
- D'\ :sub:`22low` - D'\ :sub:`22low`
- D'\ :sub:`23high` - D'\ :sub:`22high`
- D'\ :sub:`23low` - D'\ :sub:`23low`
- D'\ :sub:`23high`
* - start + 24: * - start + 24:
- D'\ :sub:`30high`
- D'\ :sub:`30low` - D'\ :sub:`30low`
- D'\ :sub:`31high` - D'\ :sub:`30high`
- D'\ :sub:`31low` - D'\ :sub:`31low`
- D'\ :sub:`32high` - D'\ :sub:`31high`
- D'\ :sub:`32low` - D'\ :sub:`32low`
- D'\ :sub:`33high` - D'\ :sub:`32high`
- D'\ :sub:`33low` - D'\ :sub:`33low`
- D'\ :sub:`33high`
...@@ -15,7 +15,7 @@ V4L2_TCH_FMT_TU16 ('TU16') ...@@ -15,7 +15,7 @@ V4L2_TCH_FMT_TU16 ('TU16')
*man V4L2_TCH_FMT_TU16(2)* *man V4L2_TCH_FMT_TU16(2)*
16-bit unsigned raw touch data 16-bit unsigned little endian raw touch data
Description Description
...@@ -36,38 +36,38 @@ Each cell is one byte. ...@@ -36,38 +36,38 @@ Each cell is one byte.
:widths: 2 1 1 1 1 1 1 1 1 :widths: 2 1 1 1 1 1 1 1 1
* - start + 0: * - start + 0:
- R'\ :sub:`00high`
- R'\ :sub:`00low` - R'\ :sub:`00low`
- R'\ :sub:`01high` - R'\ :sub:`00high`
- R'\ :sub:`01low` - R'\ :sub:`01low`
- R'\ :sub:`02high` - R'\ :sub:`01high`
- R'\ :sub:`02low` - R'\ :sub:`02low`
- R'\ :sub:`03high` - R'\ :sub:`02high`
- R'\ :sub:`03low` - R'\ :sub:`03low`
- R'\ :sub:`03high`
* - start + 8: * - start + 8:
- R'\ :sub:`10high`
- R'\ :sub:`10low` - R'\ :sub:`10low`
- R'\ :sub:`11high` - R'\ :sub:`10high`
- R'\ :sub:`11low` - R'\ :sub:`11low`
- R'\ :sub:`12high` - R'\ :sub:`11high`
- R'\ :sub:`12low` - R'\ :sub:`12low`
- R'\ :sub:`13high` - R'\ :sub:`12high`
- R'\ :sub:`13low` - R'\ :sub:`13low`
- R'\ :sub:`13high`
* - start + 16: * - start + 16:
- R'\ :sub:`20high`
- R'\ :sub:`20low` - R'\ :sub:`20low`
- R'\ :sub:`21high` - R'\ :sub:`20high`
- R'\ :sub:`21low` - R'\ :sub:`21low`
- R'\ :sub:`22high` - R'\ :sub:`21high`
- R'\ :sub:`22low` - R'\ :sub:`22low`
- R'\ :sub:`23high` - R'\ :sub:`22high`
- R'\ :sub:`23low` - R'\ :sub:`23low`
- R'\ :sub:`23high`
* - start + 24: * - start + 24:
- R'\ :sub:`30high`
- R'\ :sub:`30low` - R'\ :sub:`30low`
- R'\ :sub:`31high` - R'\ :sub:`30high`
- R'\ :sub:`31low` - R'\ :sub:`31low`
- R'\ :sub:`32high` - R'\ :sub:`31high`
- R'\ :sub:`32low` - R'\ :sub:`32low`
- R'\ :sub:`33high` - R'\ :sub:`32high`
- R'\ :sub:`33low` - R'\ :sub:`33low`
- R'\ :sub:`33high`
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment