Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp168372pxy; Thu, 6 May 2021 23:58:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNm6AN+0+7d109yTFtKwx+g6JtzlcBmT+gSqxQ2dwndy5hDf9vSAeNc9qhlISxNpipKQIa X-Received: by 2002:a63:4648:: with SMTP id v8mr8230372pgk.34.1620370725770; Thu, 06 May 2021 23:58:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620370725; cv=none; d=google.com; s=arc-20160816; b=HVzy4dlcuezhV3MiQUkPzhENt5lrOwEiZ0CCKtwuJV9rWX9SceqamYXmBtBrwz4DjM +vnnBUG3vR1ld1QJS1Sg3XhQRq6/YvrpG4RP1GDB7Z8IFlgNHNMIcFln1MTj6JhEGz2s 05czBNMJyKcReT89njFl9gDDMggoQlkebqUwutc7LMbDj3EWlU38NERhgJCFVQmZJiDp X71allz5xBEig22qbiyLjTHmwBQOCZubB/WnhQqXJ9fe1siCCZGvg3+crrhwLFMpZezZ tKXOV/EXwm00sHb3GPl2Ss2h70R9OL8MwDtZ1PnqRRHm8V1f3u4en7Pt/p6y+r8kNOaR f3aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=f2cPxul9qtbdSGpCvmsa3/UgCfzLofb5LvVQGLr5j4k=; b=gupOo6QexE6vksWNIUhgti0CPrYEKEGGaZBJkh0BKFujcwxQOcMa8TX+vwGGqO86RG cmrIGhvqSAPX8Xs25T1lwWicWJZT1bSuUHVbYP+53M56pYEDezafHIRZ/VqlH4k6tKaN SWDDEMhsWZ9+ROKZSMLwqmYcaB65UTUgZjTGMchljMojmjSU+LWsP7zS4ixwGynL4cc/ bILgSDPyOEQ74oFwHWrXR+Wy/tbqYqEc7Il2nk8fTh5/8FTQaZYfcfC5WS7yrXa3ErtT CQ7P22WzYHmMfW35sIYFQzCVZugHht5pihW7DKB1kh7MrveNnDCyfQJquwMwFLklnwpP XTFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y12si5568285pfe.311.2021.05.06.23.58.32; Thu, 06 May 2021 23:58:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234314AbhEGCyw (ORCPT + 99 others); Thu, 6 May 2021 22:54:52 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:44118 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S234097AbhEGCyt (ORCPT ); Thu, 6 May 2021 22:54:49 -0400 X-UUID: 8692f411e9bc436e9e2b6114e1c9c519-20210507 X-UUID: 8692f411e9bc436e9e2b6114e1c9c519-20210507 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1022193804; Fri, 07 May 2021 10:53:47 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 7 May 2021 10:53:44 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 7 May 2021 10:53:44 +0800 From: To: , , , CC: , , , , Subject: [RFC PATCH V0 2/2] media: v4l2-ctrl: Add user defined base for ISP user control Date: Fri, 7 May 2021 10:53:37 +0800 Message-ID: <1620356017-26486-3-git-send-email-john.wei@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1620356017-26486-1-git-send-email-john.wei@mediatek.com> References: <1620356017-26486-1-git-send-email-john.wei@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 4A7844A57F2EE1055F8E10CEB30C986A9EB0024C59559241BD322A03A6385BD12000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: John Wei This patch is to add V4L2_CID_USER_SENINF_BASE and V4L2_CID_USER_MTK_SENSOR_BASE for Mediatek ISP-only features Signed-off-by: John Wei --- include/uapi/linux/v4l2-controls.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h index d43bec5..2bcde70 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h @@ -211,6 +211,16 @@ enum v4l2_colorfx { */ #define V4L2_CID_USER_CCS_BASE (V4L2_CID_USER_BASE + 0x10f0) +/* The base for the mediatek sensor driver controls + * We reserve 64 controls for this driver. + */ +#define V4L2_CID_USER_MTK_SENSOR_BASE (V4L2_CID_USER_BASE + 0x1100) + +/* The base for the mediatek sensor driver controls + * We reserve 64 controls for this driver. + */ +#define V4L2_CID_USER_MTK_SENINF_BASE (V4L2_CID_USER_BASE + 0x1140) + /* MPEG-class control IDs */ /* The MPEG controls are applicable to all codec controls * and the 'MPEG' part of the define is historical */ -- 1.7.9.5