mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
62b7f5931c
bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G
bcm2710: boot tested on RPi 3B v1.2
bcm2711: boot tested on RPi 4B v1.1 4G
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry-picked from commit f07e572f64
)
89 lines
2.4 KiB
Diff
89 lines
2.4 KiB
Diff
From efc06d6c82d5b6b3ee5dd2bfa7c010f737a0fa49 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= <dg@emlix.com>
|
|
Date: Mon, 24 Feb 2020 18:52:22 +0100
|
|
Subject: [PATCH] media: v4l: Add 1X14 14-bit greyscale media bus
|
|
code definition
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Commit 573a750813459725c6f6fc4bc5779da1fe03238a upstream.
|
|
|
|
The code is called MEDIA_BUS_FMT_Y14_1X14 and behaves just like
|
|
MEDIA_BUS_FMT_Y12_1X12 with two more bits.
|
|
|
|
Signed-off-by: Daniel Glöckner <dg@emlix.com>
|
|
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
|
---
|
|
.../media/uapi/v4l/subdev-formats.rst | 37 +++++++++++++++++++
|
|
include/uapi/linux/media-bus-format.h | 3 +-
|
|
2 files changed, 39 insertions(+), 1 deletion(-)
|
|
|
|
--- a/Documentation/media/uapi/v4l/subdev-formats.rst
|
|
+++ b/Documentation/media/uapi/v4l/subdev-formats.rst
|
|
@@ -5792,6 +5792,43 @@ the following codes.
|
|
- u\ :sub:`2`
|
|
- u\ :sub:`1`
|
|
- u\ :sub:`0`
|
|
+ * .. _MEDIA-BUS-FMT-Y14-1X14:
|
|
+
|
|
+ - MEDIA_BUS_FMT_Y14_1X14
|
|
+ - 0x202d
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ -
|
|
+ - y\ :sub:`13`
|
|
+ - y\ :sub:`12`
|
|
+ - y\ :sub:`11`
|
|
+ - y\ :sub:`10`
|
|
+ - y\ :sub:`9`
|
|
+ - y\ :sub:`8`
|
|
+ - y\ :sub:`7`
|
|
+ - y\ :sub:`6`
|
|
+ - y\ :sub:`5`
|
|
+ - y\ :sub:`4`
|
|
+ - y\ :sub:`3`
|
|
+ - y\ :sub:`2`
|
|
+ - y\ :sub:`1`
|
|
+ - y\ :sub:`0`
|
|
* .. _MEDIA-BUS-FMT-UYVY8-1X16:
|
|
|
|
- MEDIA_BUS_FMT_UYVY8_1X16
|
|
--- a/include/uapi/linux/media-bus-format.h
|
|
+++ b/include/uapi/linux/media-bus-format.h
|
|
@@ -64,7 +64,7 @@
|
|
#define MEDIA_BUS_FMT_RGB121212_1X36 0x1019
|
|
#define MEDIA_BUS_FMT_RGB161616_1X48 0x101a
|
|
|
|
-/* YUV (including grey) - next is 0x202d */
|
|
+/* YUV (including grey) - next is 0x202e */
|
|
#define MEDIA_BUS_FMT_Y8_1X8 0x2001
|
|
#define MEDIA_BUS_FMT_UV8_1X8 0x2015
|
|
#define MEDIA_BUS_FMT_UYVY8_1_5X8 0x2002
|
|
@@ -86,6 +86,7 @@
|
|
#define MEDIA_BUS_FMT_VYUY12_2X12 0x201d
|
|
#define MEDIA_BUS_FMT_YUYV12_2X12 0x201e
|
|
#define MEDIA_BUS_FMT_YVYU12_2X12 0x201f
|
|
+#define MEDIA_BUS_FMT_Y14_1X14 0x202d
|
|
#define MEDIA_BUS_FMT_UYVY8_1X16 0x200f
|
|
#define MEDIA_BUS_FMT_VYUY8_1X16 0x2010
|
|
#define MEDIA_BUS_FMT_YUYV8_1X16 0x2011
|