[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1620356017-26486-3-git-send-email-john.wei@mediatek.com>
Date: Fri, 7 May 2021 10:53:37 +0800
From: <john.wei@...iatek.com>
To: <john.wei@...iatek.com>, <louis.kuo@...iak.com>,
<mchehab@...nel.org>, <matthias.bgg@...il.com>
CC: <linux-media@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>, <wsd_upstream@...iatek.com>
Subject: [RFC PATCH V0 2/2] media: v4l2-ctrl: Add user defined base for ISP user control
From: John Wei <john.wei@...iatek.com>
This patch is to add V4L2_CID_USER_SENINF_BASE and
V4L2_CID_USER_MTK_SENSOR_BASE for Mediatek ISP-only features
Signed-off-by: John Wei <john.wei@...iatek.com>
---
include/uapi/linux/v4l2-controls.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
index d43bec5..2bcde70 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-controls.h
@@ -211,6 +211,16 @@ enum v4l2_colorfx {
*/
#define V4L2_CID_USER_CCS_BASE (V4L2_CID_USER_BASE + 0x10f0)
+/* The base for the mediatek sensor driver controls
+ * We reserve 64 controls for this driver.
+ */
+#define V4L2_CID_USER_MTK_SENSOR_BASE (V4L2_CID_USER_BASE + 0x1100)
+
+/* The base for the mediatek sensor driver controls
+ * We reserve 64 controls for this driver.
+ */
+#define V4L2_CID_USER_MTK_SENINF_BASE (V4L2_CID_USER_BASE + 0x1140)
+
/* MPEG-class control IDs */
/* The MPEG controls are applicable to all codec controls
* and the 'MPEG' part of the define is historical */
--
1.7.9.5
Powered by blists - more mailing lists