Skip to contentSkip to conversation

media: v4l: ctrls: Add user control base for mlx7502x

PATCH Superseded Volodymyr Kharuk 1 participant 1 message Jun 20, 2022 Media (V4L/DVB)

v1 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH 3/6 media: v4l: ctrls: Add user control base for mlx7502x

From: Volodymyr Kharuk <[email protected]>
To: [email protected]
Cc: Volodymyr Kharuk <[email protected]>,
Andrii Kyselov <[email protected]>,
Mauro Carvalho Chehab <[email protected]>,
Rob Herring <[email protected]>,
Krzysztof Kozlowski <[email protected]>,
Hyun Kwon <[email protected]>,
Laurent Pinchart <[email protected]>,
Michal Simek <[email protected]>,
Kieran Bingham <[email protected]>, [email protected]
Subject: [PATCH 3/6] media: v4l: ctrls: Add user control base for mlx7502x
Date: Mon, 20 Jun 2022 19:24:34 +0300
Message-Id: <a8fc4190469b459c339556c0c37fdf581204dcbd.1655738299.git.vkh@melexis.com>
X-Mailer: git-send-email 2.36.1
In-Reply-To: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Add a control base for mlx7502x and reserve 16 controls. ToF sensor requires a bunch of new user controls.

---
 include/uapi/linux/v4l2-controls.h | 6 ++++++
 1 file changed, 6 insertions(+)
include/uapi/linux/v4l2-controls.h +6 -0
index dfff69ed88f7..8f68d5b53430 100644
@@ -225,6 +225,12 @@ enum v4l2_colorfx {
  */
 #define V4L2_CID_USER_ISL7998X_BASE		(V4L2_CID_USER_BASE + 0x1180)
 
+/*
+ * The base for Melexis ToF 7502x driver controls.
+ * We reserve 16 controls for this driver.
+ */
+#define V4L2_CID_USER_MLX7502X_BASE		(V4L2_CID_USER_BASE + 0x1190)
+
 /* MPEG-class control IDs */
 /* The MPEG controls are applicable to all codec controls
  * and the 'MPEG' part of the define is historical */
Signature · 2 lines
BR,
Volodymyr Kharuk