summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Lin <milkfafa@gmail.com>2023-09-22 14:24:03 +0800
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 09:40:02 +0200
commit2817154cd18942cd89e254d3764a378518a3270f (patch)
tree64bfa7a64c9e2c51acc1108073bb066c63ee6fde
parentd62d8e7b59f9d7ed9b6eaaa788fee0d727b7d3ad (diff)
media: v4l2-ctrls: Add user control base for Nuvoton NPCM controls
Add a control base for Nuvoton NPCM driver controls, and reserve 16 controls. Signed-off-by: Marvin Lin <milkfafa@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--include/uapi/linux/v4l2-controls.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
index c3604a0a3e30..68db66d4aae8 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-controls.h
@@ -203,6 +203,12 @@ enum v4l2_colorfx {
*/
#define V4L2_CID_USER_ASPEED_BASE (V4L2_CID_USER_BASE + 0x11a0)
+/*
+ * The base for Nuvoton NPCM driver controls.
+ * We reserve 16 controls for this driver.
+ */
+#define V4L2_CID_USER_NPCM_BASE (V4L2_CID_USER_BASE + 0x11b0)
+
/* MPEG-class control IDs */
/* The MPEG controls are applicable to all codec controls
* and the 'MPEG' part of the define is historical */