linux-omap 2.6.37: sync with OE .dev
[glsdk/meta-ti-glsdk.git] / recipes-bsp / linux / linux-omap / media / 0036-v4l-Add-remaining-RAW10-patterns-w-DPCM-pixel-code-v.patch
1 From a63be84f54298581d51efb8a4745747ca17a9d0d Mon Sep 17 00:00:00 2001
2 From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
3 Date: Fri, 3 Sep 2010 10:47:25 +0200
4 Subject: [PATCH 36/43] v4l: Add remaining RAW10 patterns w DPCM pixel code variants
6 This adds following formats:
7 - V4L2_MBUS_FMT_SRGGB10_1X10
8 - V4L2_MBUS_FMT_SGBRG10_1X10
9 - V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8
10 - V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8
11 - V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8
13 Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
14 Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
15 ---
16  include/linux/v4l2-mediabus.h |    7 ++++++-
17  1 files changed, 6 insertions(+), 1 deletions(-)
19 diff --git a/include/linux/v4l2-mediabus.h b/include/linux/v4l2-mediabus.h
20 index c4caca3..5c64924 100644
21 --- a/include/linux/v4l2-mediabus.h
22 +++ b/include/linux/v4l2-mediabus.h
23 @@ -67,16 +67,21 @@ enum v4l2_mbus_pixelcode {
24         V4L2_MBUS_FMT_YUYV10_1X20 = 0x200d,
25         V4L2_MBUS_FMT_YVYU10_1X20 = 0x200e,
26  
27 -       /* Bayer - next is 0x300b */
28 +       /* Bayer - next is 0x3010 */
29         V4L2_MBUS_FMT_SBGGR8_1X8 = 0x3001,
30         V4L2_MBUS_FMT_SGRBG8_1X8 = 0x3002,
31 +       V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8 = 0x300b,
32 +       V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8 = 0x300c,
33         V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 = 0x3009,
34 +       V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8 = 0x300d,
35         V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE = 0x3003,
36         V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE = 0x3004,
37         V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE = 0x3005,
38         V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE = 0x3006,
39         V4L2_MBUS_FMT_SBGGR10_1X10 = 0x3007,
40 +       V4L2_MBUS_FMT_SGBRG10_1X10 = 0x300e,
41         V4L2_MBUS_FMT_SGRBG10_1X10 = 0x300a,
42 +       V4L2_MBUS_FMT_SRGGB10_1X10 = 0x300f,
43         V4L2_MBUS_FMT_SBGGR12_1X12 = 0x3008,
44  };
45  
46 -- 
47 1.6.6.1