diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2014-12-02 11:56:04 -0500 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2015-03-31 05:59:34 -0400 |
commit | 203508ef52e3fee93b71262928541ecea82c735d (patch) | |
tree | a3a0fdda5a008e9b6b169af02abe4ea5ab696770 /Documentation/DocBook | |
parent | 0fc63eb104d76e20654cd97eeb1bfd0f35bc3d3a (diff) |
Add RGB666_1X24_CPADHI media bus format
Commit 9e74d2926a28 ("staging: imx-drm: add LVDS666 support for parallel
display") describes a 24-bit bus format where three 6-bit components each
take the lower part of 8 bits with the two high bits zero padded. Add a
component-wise padded media bus format RGB666_1X24_CPADHI to support this
connection.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Emil Renner Berthing <kernel@esmil.dk>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/media/v4l/subdev-formats.xml | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/Documentation/DocBook/media/v4l/subdev-formats.xml b/Documentation/DocBook/media/v4l/subdev-formats.xml index 8d1f62402f88..18b71aff48c9 100644 --- a/Documentation/DocBook/media/v4l/subdev-formats.xml +++ b/Documentation/DocBook/media/v4l/subdev-formats.xml | |||
@@ -91,7 +91,9 @@ see <xref linkend="colorspaces" />.</entry> | |||
91 | <listitem><para>For formats where the total number of bits per pixel is smaller | 91 | <listitem><para>For formats where the total number of bits per pixel is smaller |
92 | than the number of bus samples per pixel times the bus width, a padding | 92 | than the number of bus samples per pixel times the bus width, a padding |
93 | value stating if the bytes are padded in their most high order bits | 93 | value stating if the bytes are padded in their most high order bits |
94 | (PADHI) or low order bits (PADLO).</para></listitem> | 94 | (PADHI) or low order bits (PADLO). A "C" prefix is used for component-wise |
95 | padding in the most high order bits (CPADHI) or low order bits (CPADLO) | ||
96 | of each separate component.</para></listitem> | ||
95 | <listitem><para>For formats where the number of bus samples per pixel is larger | 97 | <listitem><para>For formats where the number of bus samples per pixel is larger |
96 | than 1, an endianness value stating if the pixel is transferred MSB first | 98 | than 1, an endianness value stating if the pixel is transferred MSB first |
97 | (BE) or LSB first (LE).</para></listitem> | 99 | (BE) or LSB first (LE).</para></listitem> |
@@ -480,6 +482,36 @@ see <xref linkend="colorspaces" />.</entry> | |||
480 | <entry>b<subscript>1</subscript></entry> | 482 | <entry>b<subscript>1</subscript></entry> |
481 | <entry>b<subscript>0</subscript></entry> | 483 | <entry>b<subscript>0</subscript></entry> |
482 | </row> | 484 | </row> |
485 | <row id="MEDIA-BUS-FMT-RGB666-1X24_CPADHI"> | ||
486 | <entry>MEDIA_BUS_FMT_RGB666_1X24_CPADHI</entry> | ||
487 | <entry>0x1015</entry> | ||
488 | <entry></entry> | ||
489 | &dash-ent-8; | ||
490 | <entry>0</entry> | ||
491 | <entry>0</entry> | ||
492 | <entry>r<subscript>5</subscript></entry> | ||
493 | <entry>r<subscript>4</subscript></entry> | ||
494 | <entry>r<subscript>3</subscript></entry> | ||
495 | <entry>r<subscript>2</subscript></entry> | ||
496 | <entry>r<subscript>1</subscript></entry> | ||
497 | <entry>r<subscript>0</subscript></entry> | ||
498 | <entry>0</entry> | ||
499 | <entry>0</entry> | ||
500 | <entry>g<subscript>5</subscript></entry> | ||
501 | <entry>g<subscript>4</subscript></entry> | ||
502 | <entry>g<subscript>3</subscript></entry> | ||
503 | <entry>g<subscript>2</subscript></entry> | ||
504 | <entry>g<subscript>1</subscript></entry> | ||
505 | <entry>g<subscript>0</subscript></entry> | ||
506 | <entry>0</entry> | ||
507 | <entry>0</entry> | ||
508 | <entry>b<subscript>5</subscript></entry> | ||
509 | <entry>b<subscript>4</subscript></entry> | ||
510 | <entry>b<subscript>3</subscript></entry> | ||
511 | <entry>b<subscript>2</subscript></entry> | ||
512 | <entry>b<subscript>1</subscript></entry> | ||
513 | <entry>b<subscript>0</subscript></entry> | ||
514 | </row> | ||
483 | <row id="MEDIA-BUS-FMT-BGR888-1X24"> | 515 | <row id="MEDIA-BUS-FMT-BGR888-1X24"> |
484 | <entry>MEDIA_BUS_FMT_BGR888_1X24</entry> | 516 | <entry>MEDIA_BUS_FMT_BGR888_1X24</entry> |
485 | <entry>0x1013</entry> | 517 | <entry>0x1013</entry> |