[v2,11/35] include: linux: Update headers for Dw100 dewarper engine
diff mbox series

Message ID 20251023144841.403689-12-stefan.klug@ideasonboard.com
State New
Headers show
Series
  • Full dewarper support on imx8mp
Related show

Commit Message

Stefan Klug Oct. 23, 2025, 2:48 p.m. UTC
From: Xavier Roumegue <xavier.roumegue@oss.nxp.com>

Include the DW100 dewarper header as part of linux headers.
It will be used to set the V4L2_CID_DW100_DEWARPING_16x16_VERTEX_MAP
control by ConverterDW100

Signed-off-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com>
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Acked-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
 include/linux/dw100.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 include/linux/dw100.h

Comments

Paul Elder Nov. 5, 2025, 4:46 p.m. UTC | #1
Quoting Stefan Klug (2025-10-23 23:48:12)
> From: Xavier Roumegue <xavier.roumegue@oss.nxp.com>
> 
> Include the DW100 dewarper header as part of linux headers.
> It will be used to set the V4L2_CID_DW100_DEWARPING_16x16_VERTEX_MAP
> control by ConverterDW100
> 
> Signed-off-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com>
> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
> Acked-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>

Acked-by: Paul Elder <paul.elder@ideasonboard.com>

> ---
>  include/linux/dw100.h | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 include/linux/dw100.h
> 
> diff --git a/include/linux/dw100.h b/include/linux/dw100.h
> new file mode 100644
> index 000000000000..3356496edd6b
> --- /dev/null
> +++ b/include/linux/dw100.h
> @@ -0,0 +1,14 @@
> +/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
> +/* Copyright 2022 NXP */
> +
> +#ifndef __UAPI_DW100_H__
> +#define __UAPI_DW100_H__
> +
> +#include <linux/v4l2-controls.h>
> +
> +/*
> + * Check Documentation/userspace-api/media/drivers/dw100.rst for control details.
> + */
> +#define V4L2_CID_DW100_DEWARPING_16x16_VERTEX_MAP (V4L2_CID_USER_DW100_BASE + 1)
> +
> +#endif
> -- 
> 2.48.1
>

Patch
diff mbox series

diff --git a/include/linux/dw100.h b/include/linux/dw100.h
new file mode 100644
index 000000000000..3356496edd6b
--- /dev/null
+++ b/include/linux/dw100.h
@@ -0,0 +1,14 @@ 
+/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
+/* Copyright 2022 NXP */
+
+#ifndef __UAPI_DW100_H__
+#define __UAPI_DW100_H__
+
+#include <linux/v4l2-controls.h>
+
+/*
+ * Check Documentation/userspace-api/media/drivers/dw100.rst for control details.
+ */
+#define V4L2_CID_DW100_DEWARPING_16x16_VERTEX_MAP (V4L2_CID_USER_DW100_BASE + 1)
+
+#endif