From: Volodymyr Kharuk <vkh@xxxxxxxxxxx> To: linux-media@xxxxxxxxxxxxxxx Cc: Volodymyr Kharuk <vkh@xxxxxxxxxxx>, Andrii Kyselov <ays@xxxxxxxxxxx>, Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>, Rob Herring <robh+dt@xxxxxxxxxx>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx>, Hyun Kwon <hyun.kwon@xxxxxxxxxx>, Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>, Michal Simek <michal.simek@xxxxxxxxxx>, Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx>, devicetree@xxxxxxxxxxxxxxx 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@xxxxxxxxxxx> X-Mailer: git-send-email 2.36.1 In-Reply-To: <cover.1655738299.git.vkh@xxxxxxxxxxx> References: <cover.1655738299.git.vkh@xxxxxxxxxxx> 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. Signed-off-by: Volodymyr Kharuk <vkh@xxxxxxxxxxx> --- include/uapi/linux/v4l2-controls.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h index dfff69ed88f7..8f68d5b53430 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h @@ -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 */ -- BR, Volodymyr Kharuk