summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2020-09-24 21:44:13 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-12 17:25:15 +0100
commitcd9f145dabafec8ad001756f2abe60c7c2ec3cc1 (patch)
tree1f922c96923d8e18f38f16e066b622d03e8852eb
parent541374837cd911785ae9307b4902896f2e3b8f15 (diff)
downloadlinux-cd9f145dabafec8ad001756f2abe60c7c2ec3cc1.tar.bz2
media: v4l: uapi: Add user control base for CCS controls
Add a control base for CCS controls, and reserve 128 controls. Luckily these numbers are cheap. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--include/uapi/linux/v4l2-controls.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
index 823b214aac0c..9ead7a8386c8 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-controls.h
@@ -204,6 +204,11 @@ enum v4l2_colorfx {
* We reserve 16 controls for this driver.
*/
#define V4L2_CID_USER_CODA_BASE (V4L2_CID_USER_BASE + 0x10e0)
+/*
+ * The base for MIPI CCS driver controls.
+ * We reserve 128 controls for this driver.
+ */
+#define V4L2_CID_USER_CCS_BASE (V4L2_CID_USER_BASE + 0x10f0)
/* MPEG-class control IDs */
/* The MPEG controls are applicable to all codec controls