Skip to content

Commit

Permalink
media: v4l2-ctrls: Add user control base for Nuvoton NPCM controls
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marvin Lin authored and Hans Verkuil committed Sep 27, 2023
1 parent d62d8e7 commit 2817154
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/uapi/linux/v4l2-controls.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2817154

Please sign in to comment.