From patchwork Wed May 5 08:06:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Louis Kuo X-Patchwork-Id: 12239299 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9C4BC433B4 for ; Wed, 5 May 2021 08:06:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9B22D613C4 for ; Wed, 5 May 2021 08:06:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232054AbhEEIHn (ORCPT ); Wed, 5 May 2021 04:07:43 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:57220 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231984AbhEEIHi (ORCPT ); Wed, 5 May 2021 04:07:38 -0400 X-UUID: bf68588efbc5403ca67e1758ad68d849-20210505 X-UUID: bf68588efbc5403ca67e1758ad68d849-20210505 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1018924336; Wed, 05 May 2021 16:06:37 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 5 May 2021 16:06:29 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 5 May 2021 16:06:29 +0800 From: Louis Kuo To: , , , , , , , , , , CC: , , , , Subject: [RFC PATCH V0 3/4] media: v4l2-ctrl: Add ISP Camsys user control Date: Wed, 5 May 2021 16:06:25 +0800 Message-ID: <20210505080626.15432-4-louis.kuo@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210505080626.15432-1-louis.kuo@mediatek.com> References: <20210505080626.15432-1-louis.kuo@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 2AD440AB152DF74CCB18EBD6FA67A0AF2586E335DB4BE4A90D62AE7605D4D11E2000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This patch is to add V4L2_CID_USER_MTK_CAM_BASE for Mediatek ISP-only features. For example, we have some hits from users to let drivers select internal path and resource usage. (e.g. use multiple engine or bining the image or use higher clk and power). Signed-off-by: Louis Kuo --- include/uapi/linux/v4l2-controls.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h index d43bec5f1afd..5f664b98fc58 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h @@ -194,6 +194,10 @@ enum v4l2_colorfx { * We reserve 16 controls for this driver. */ #define V4L2_CID_USER_IMX_BASE (V4L2_CID_USER_BASE + 0x10b0) +/* The base for the mediatek camsys driver controls */ +/* We reserve 48 controls for this driver. */ +#define V4L2_CID_USER_MTK_CAM_BASE (V4L2_CID_USER_BASE + 0x10d0) + /* * The base for the atmel isc driver controls. * We reserve 32 controls for this driver.