From patchwork Fri Jul 12 05:29:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 20650 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 8AA06BDB1C for ; Fri, 12 Jul 2024 05:29:44 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3468563378; Fri, 12 Jul 2024 07:29:43 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="LfCDGdx1"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4E84163371 for ; Fri, 12 Jul 2024 07:29:35 +0200 (CEST) Received: from localhost.localdomain (unknown [IPv6:2405:201:2015:f873:55f8:639e:8e9f:12ec]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id F2159CC8; Fri, 12 Jul 2024 07:28:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1720762140; bh=pS8ZNhEAjZ3R9W6fOfdb5YHkNlSnq0N3U4oT2PMaaP4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LfCDGdx1OtR/eNL1DC8JXbLU5mmC7VYItYvKxr0eVqH1quMOFV4k8jnvTjhCzPq4d J7BDTHDK45nXnf7isdy81qAwssMBnZRnjNsD9Cpz2Bq6QYb8kjhFZpOtrkfUK3oVLB uVMefrBwnBxJM7YhWZcy2JfPGkM07oX1YyWixBLo= From: Umang Jain To: libcamera-devel@lists.libcamera.org Cc: Xavier Roumegue , Umang Jain Subject: [RFC PATCH 2/6] include: linux: Update headers for Dw100 dewarper engine Date: Fri, 12 Jul 2024 10:59:16 +0530 Message-ID: <20240712052920.33396-3-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240712052920.33396-1-umang.jain@ideasonboard.com> References: <20240712052920.33396-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Xavier Roumegue 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 Signed-off-by: Umang Jain Acked-by: Jacopo Mondi --- 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 00000000..3356496e --- /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 + +/* + * 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