Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1667787rwi; Thu, 27 Oct 2022 19:50:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Ix6CtbiPBxw6E4CwynZ0hEXsq1t1IolC6DCCEOJ6ucKCbvU+fzSMXtae4gHaCGpjocBW3 X-Received: by 2002:a17:906:846d:b0:7ad:90dd:4b6 with SMTP id hx13-20020a170906846d00b007ad90dd04b6mr4938230ejc.492.1666925446853; Thu, 27 Oct 2022 19:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666925446; cv=none; d=google.com; s=arc-20160816; b=brL5/HRAoc6Xivh484/5LKoXhblNnNy3mtqOEQBHt5RXwDSDTo7XC8vlO/YbOu4yvi ax673qNa+OEooCHVxs8SQMNewlCtUY9VUZgpVL2DA4NjiJbYOTsIbUJrl4m1Xaof61ji kMMRbBlDNE6YGcnlRmrTc8Q9L8o+36G65WV+HsJNhkd4iw+nt1pxcI81q2vdrgb5Cmvr GCJAtkrGnd9M/ShGfTItE+NvNQxADTRAfGyOz79bM39V1GmmQl0HfWTDFpcNa53hbXbm +KfJV6N6AHkY4nsZfGfn2iSlmEUI7F8XGqIA1lRKMxy8k4/7ELAlUfejWxo0LEJX6CKt Vs5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=yqvQzcgxvoV4KGAsfFmyFW+4bBuCHoEFXnjtAXm1h+o=; b=qh35iilYrp6QsIPIcKB+CJXWJVRbPC7VR/dWV3+q4C1CSod8TWsv1krIFZJMXHqCVy xdBWq6sZM4atvbFkVRJ5H2CeTBPGK4EYEh1L1gYp4ucH4JYxQ9vmy8GjTIeahuwF6Akf AyGUldIxq2pR0l5RvtDm+jqrNI8e/GfBjQXwVbyD7U/qyGOoh4icVC8gIAmdeYhFxoC/ d3UTr/KMo3FBE1wMWQuvDL85w6bAKnIXk0XK9hU0/sUEugjJAPeCduqFZ/7TOHYM0NOg TVf3Djl4IWjW5iJxX9xUoXs15yKjU+yr4slj8fmsjQvTxth3RboNpJCo119iU/4ed2jB SB4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gh1-20020a170906e08100b007a835c56b70si2503820ejb.267.2022.10.27.19.50.21; Thu, 27 Oct 2022 19:50:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236451AbiJ1Cik (ORCPT + 99 others); Thu, 27 Oct 2022 22:38:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236424AbiJ1Ch7 (ORCPT ); Thu, 27 Oct 2022 22:37:59 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB87940579; Thu, 27 Oct 2022 19:37:53 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 29S2D5KE054600; Fri, 28 Oct 2022 10:13:05 +0800 (GMT-8) (envelope-from jammy_huang@aspeedtech.com) Received: from JammyHuang-PC.aspeed.com (192.168.2.115) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 28 Oct 2022 10:35:59 +0800 From: Jammy Huang To: , , , , , , , , , , , , , , , , , Subject: [PATCH v11 2/5] media: v4l2-ctrls: Reserve controls for ASPEED Date: Fri, 28 Oct 2022 10:35:51 +0800 Message-ID: <20221028023554.928-3-jammy_huang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221028023554.928-1-jammy_huang@aspeedtech.com> References: <20221028023554.928-1-jammy_huang@aspeedtech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.2.115] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 29S2D5KE054600 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reserve controls for ASPEED video family. Aspeed video engine contains a few features which improve video quality, reduce amount of compressed data, and etc. Hence, 16 controls are reserved for these aspeed proprietary features. Signed-off-by: Jammy Huang --- v11: - no update v10: - no update v9: - Rebase on new kernel v8: - no update v7: - no update v6: - no update v5: - no update v4: - new --- 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 b5e7d082b8ad..60a6bed21c56 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h @@ -231,6 +231,12 @@ enum v4l2_colorfx { */ #define V4L2_CID_USER_DW100_BASE (V4L2_CID_USER_BASE + 0x1190) +/* + * The base for Aspeed driver controls. + * We reserve 16 controls for this driver. + */ +#define V4L2_CID_USER_ASPEED_BASE (V4L2_CID_USER_BASE + 0x11A0) + /* MPEG-class control IDs */ /* The MPEG controls are applicable to all codec controls * and the 'MPEG' part of the define is historical */ -- 2.25.1