media: v4l2-ctrls: Add user control base for Nuvoton NPCM controls
authorMarvin Lin <milkfafa@gmail.com>
Fri, 22 Sep 2023 06:24:03 +0000 (14:24 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 27 Sep 2023 07:40:02 +0000 (09:40 +0200)
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>
include/uapi/linux/v4l2-controls.h

index c3604a0a3e30ae44e2c1ff1e20e9745c92fc0d2d..68db66d4aae81ea4671766b946a12df8be6e1c8d 100644 (file)
@@ -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 */