aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/exynos4-is/fimc-lite.c
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-11-10 12:28:31 -0500
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-14 14:54:08 -0500
commit27ffaeb0ab160852c87e2dfa505594020e9a3a06 (patch)
tree2cd571bc21a1e3deedefc762a73a58f755fa3d03 /drivers/media/platform/exynos4-is/fimc-lite.c
parent43ba464182cd7f9e8089e3d76af8ef265ff287dd (diff)
[media] platform: Make use of media_bus_format enum
In order to have subsytem agnostic media bus format definitions we've moved media bus definition to include/uapi/linux/media-bus-format.h and prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT. Reference new definitions in all platform drivers. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Sekhar Nori <nsekhar@ti.com> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-lite.c')
-rw-r--r--drivers/media/platform/exynos4-is/fimc-lite.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-lite.c b/drivers/media/platform/exynos4-is/fimc-lite.c
index a97d2352f1d7..b7dca8b2d455 100644
--- a/drivers/media/platform/exynos4-is/fimc-lite.c
+++ b/drivers/media/platform/exynos4-is/fimc-lite.c
@@ -48,7 +48,7 @@ static const struct fimc_fmt fimc_lite_formats[] = {
48 .depth = { 16 }, 48 .depth = { 16 },
49 .color = FIMC_FMT_YCBYCR422, 49 .color = FIMC_FMT_YCBYCR422,
50 .memplanes = 1, 50 .memplanes = 1,
51 .mbus_code = V4L2_MBUS_FMT_YUYV8_2X8, 51 .mbus_code = MEDIA_BUS_FMT_YUYV8_2X8,
52 .flags = FMT_FLAGS_YUV, 52 .flags = FMT_FLAGS_YUV,
53 }, { 53 }, {
54 .name = "YUV 4:2:2 packed, CbYCrY", 54 .name = "YUV 4:2:2 packed, CbYCrY",
@@ -57,7 +57,7 @@ static const struct fimc_fmt fimc_lite_formats[] = {
57 .depth = { 16 }, 57 .depth = { 16 },
58 .color = FIMC_FMT_CBYCRY422, 58 .color = FIMC_FMT_CBYCRY422,
59 .memplanes = 1, 59 .memplanes = 1,
60 .mbus_code = V4L2_MBUS_FMT_UYVY8_2X8, 60 .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
61 .flags = FMT_FLAGS_YUV, 61 .flags = FMT_FLAGS_YUV,
62 }, { 62 }, {
63 .name = "YUV 4:2:2 packed, CrYCbY", 63 .name = "YUV 4:2:2 packed, CrYCbY",
@@ -66,7 +66,7 @@ static const struct fimc_fmt fimc_lite_formats[] = {
66 .depth = { 16 }, 66 .depth = { 16 },
67 .color = FIMC_FMT_CRYCBY422, 67 .color = FIMC_FMT_CRYCBY422,
68 .memplanes = 1, 68 .memplanes = 1,
69 .mbus_code = V4L2_MBUS_FMT_VYUY8_2X8, 69 .mbus_code = MEDIA_BUS_FMT_VYUY8_2X8,
70 .flags = FMT_FLAGS_YUV, 70 .flags = FMT_FLAGS_YUV,
71 }, { 71 }, {
72 .name = "YUV 4:2:2 packed, YCrYCb", 72 .name = "YUV 4:2:2 packed, YCrYCb",
@@ -75,7 +75,7 @@ static const struct fimc_fmt fimc_lite_formats[] = {
75 .depth = { 16 }, 75 .depth = { 16 },
76 .color = FIMC_FMT_YCRYCB422, 76 .color = FIMC_FMT_YCRYCB422,
77 .memplanes = 1, 77 .memplanes = 1,
78 .mbus_code = V4L2_MBUS_FMT_YVYU8_2X8, 78 .mbus_code = MEDIA_BUS_FMT_YVYU8_2X8,
79 .flags = FMT_FLAGS_YUV, 79 .flags = FMT_FLAGS_YUV,
80 }, { 80 }, {
81 .name = "RAW8 (GRBG)", 81 .name = "RAW8 (GRBG)",
@@ -84,7 +84,7 @@ static const struct fimc_fmt fimc_lite_formats[] = {
84 .depth = { 8 }, 84 .depth = { 8 },
85 .color = FIMC_FMT_RAW8, 85 .color = FIMC_FMT_RAW8,
86 .memplanes = 1, 86 .memplanes = 1,
87 .mbus_code = V4L2_MBUS_FMT_SGRBG8_1X8, 87 .mbus_code = MEDIA_BUS_FMT_SGRBG8_1X8,
88 .flags = FMT_FLAGS_RAW_BAYER, 88 .flags = FMT_FLAGS_RAW_BAYER,
89 }, { 89 }, {
90 .name = "RAW10 (GRBG)", 90 .name = "RAW10 (GRBG)",
@@ -93,7 +93,7 @@ static const struct fimc_fmt fimc_lite_formats[] = {
93 .depth = { 16 }, 93 .depth = { 16 },
94 .color = FIMC_FMT_RAW10, 94 .color = FIMC_FMT_RAW10,
95 .memplanes = 1, 95 .memplanes = 1,
96 .mbus_code = V4L2_MBUS_FMT_SGRBG10_1X10, 96 .mbus_code = MEDIA_BUS_FMT_SGRBG10_1X10,
97 .flags = FMT_FLAGS_RAW_BAYER, 97 .flags = FMT_FLAGS_RAW_BAYER,
98 }, { 98 }, {
99 .name = "RAW12 (GRBG)", 99 .name = "RAW12 (GRBG)",
@@ -102,7 +102,7 @@ static const struct fimc_fmt fimc_lite_formats[] = {
102 .depth = { 16 }, 102 .depth = { 16 },
103 .color = FIMC_FMT_RAW12, 103 .color = FIMC_FMT_RAW12,
104 .memplanes = 1, 104 .memplanes = 1,
105 .mbus_code = V4L2_MBUS_FMT_SGRBG12_1X12, 105 .mbus_code = MEDIA_BUS_FMT_SGRBG12_1X12,
106 .flags = FMT_FLAGS_RAW_BAYER, 106 .flags = FMT_FLAGS_RAW_BAYER,
107 }, 107 },
108}; 108};