diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2014-12-02 11:49:04 -0500 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2015-03-31 05:59:33 -0400 |
commit | b295c22978b86fc62019d12f4108b68b7e795610 (patch) | |
tree | 156d07ae037036b77f6fd27e9c0f5b8be233a4de /include/uapi | |
parent | 4b3a81a917a5ef21a4483d699cefd4d9fa35b841 (diff) |
Add LVDS RGB media bus formats
This patch adds three new RGB media bus formats that describe
18-bit or 24-bit samples transferred over an LVDS bus with three
or four differential data pairs, serialized into 7 time slots,
using standard SPWG/PSWG/VESA or JEIDA data ordering.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/media-bus-format.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h index 37091c668f65..3fb9cbbb603f 100644 --- a/include/uapi/linux/media-bus-format.h +++ b/include/uapi/linux/media-bus-format.h | |||
@@ -33,7 +33,7 @@ | |||
33 | 33 | ||
34 | #define MEDIA_BUS_FMT_FIXED 0x0001 | 34 | #define MEDIA_BUS_FMT_FIXED 0x0001 |
35 | 35 | ||
36 | /* RGB - next is 0x1010 */ | 36 | /* RGB - next is 0x1013 */ |
37 | #define MEDIA_BUS_FMT_RGB444_1X12 0x100e | 37 | #define MEDIA_BUS_FMT_RGB444_1X12 0x100e |
38 | #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001 | 38 | #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001 |
39 | #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002 | 39 | #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002 |
@@ -45,9 +45,12 @@ | |||
45 | #define MEDIA_BUS_FMT_RGB565_2X8_BE 0x1007 | 45 | #define MEDIA_BUS_FMT_RGB565_2X8_BE 0x1007 |
46 | #define MEDIA_BUS_FMT_RGB565_2X8_LE 0x1008 | 46 | #define MEDIA_BUS_FMT_RGB565_2X8_LE 0x1008 |
47 | #define MEDIA_BUS_FMT_RGB666_1X18 0x1009 | 47 | #define MEDIA_BUS_FMT_RGB666_1X18 0x1009 |
48 | #define MEDIA_BUS_FMT_RGB666_1X7X3_SPWG 0x1010 | ||
48 | #define MEDIA_BUS_FMT_RGB888_1X24 0x100a | 49 | #define MEDIA_BUS_FMT_RGB888_1X24 0x100a |
49 | #define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b | 50 | #define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b |
50 | #define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c | 51 | #define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c |
52 | #define MEDIA_BUS_FMT_RGB888_1X7X4_SPWG 0x1011 | ||
53 | #define MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA 0x1012 | ||
51 | #define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d | 54 | #define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d |
52 | 55 | ||
53 | /* YUV (including grey) - next is 0x2024 */ | 56 | /* YUV (including grey) - next is 0x2024 */ |