Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH] add V4L2_CID_USER_ALVIUM_BASE and request space for up to 128 controls
@ 2026-10-09 17:38 Martin Hecht
  2026-10-11 19:33 ` Sakari Ailus
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Hecht @ 2026-10-09 17:38 UTC (permalink / raw)
  To: linux-media
  Cc: sakari.ailus, michael.roeder, martin.hecht, Martin Hecht,
	Mauro Carvalho Chehab, linux-kernel

That patch requests a continoous block of controls to enable various
features of the Alvium camera family. There are many features like
triggers, ROI for auto functions like AWB, auto gain and so on.

Signed-off-by: Martin Hecht <mhecht73@gmail.com>
---
 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 d17e41d51d2e..5ed91c053617 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-controls.h
@@ -255,6 +255,12 @@ enum v4l2_colorfx {
  */
 #define V4L2_CID_USER_IT6625_BASE		(V4L2_CID_USER_BASE + 0x1250)
 
+/*
+ * The base for Alvium CSI2 driver controls.
+ * We reserve 128 controls for this driver.
+ */
+#define V4L2_CID_USER_ALVIUM_BASE		(V4L2_CID_USER_BASE + 0x1260)
+
 /* MPEG-class control IDs */
 /* The MPEG controls are applicable to all codec controls
  * and the 'MPEG' part of the define is historical */
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] add V4L2_CID_USER_ALVIUM_BASE and request space for up to 128 controls
  2026-10-09 17:38 [PATCH] add V4L2_CID_USER_ALVIUM_BASE and request space for up to 128 controls Martin Hecht
@ 2026-10-11 19:33 ` Sakari Ailus
  0 siblings, 0 replies; 2+ messages in thread
From: Sakari Ailus @ 2026-10-11 19:33 UTC (permalink / raw)
  To: Martin Hecht
  Cc: linux-media, michael.roeder, martin.hecht, Mauro Carvalho Chehab,
	linux-kernel

Hi Martin,

On Fri, Oct 09, 2026 at 07:38:24PM +0200, Martin Hecht wrote:
> That patch requests a continoous block of controls to enable various
> features of the Alvium camera family. There are many features like
> triggers, ROI for auto functions like AWB, auto gain and so on.
> 
> Signed-off-by: Martin Hecht <mhecht73@gmail.com>

Thanks for the patch.

Could you also include some patches for actual control definitions in the
same patchset?

> ---
>  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 d17e41d51d2e..5ed91c053617 100644
> --- a/include/uapi/linux/v4l2-controls.h
> +++ b/include/uapi/linux/v4l2-controls.h
> @@ -255,6 +255,12 @@ enum v4l2_colorfx {
>   */
>  #define V4L2_CID_USER_IT6625_BASE		(V4L2_CID_USER_BASE + 0x1250)
>  
> +/*
> + * The base for Alvium CSI2 driver controls.
> + * We reserve 128 controls for this driver.
> + */
> +#define V4L2_CID_USER_ALVIUM_BASE		(V4L2_CID_USER_BASE + 0x1260)
> +
>  /* MPEG-class control IDs */
>  /* The MPEG controls are applicable to all codec controls
>   * and the 'MPEG' part of the define is historical */

-- 
Kind regards,

Sakari Ailus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-11 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-09 17:38 [PATCH] add V4L2_CID_USER_ALVIUM_BASE and request space for up to 128 controls Martin Hecht
2026-10-11 19:33 ` Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox