Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4752495rwb; Tue, 20 Sep 2022 20:14:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4c1tPJhn1vAVCxbrJDzeShV/5SX9UNjRuJWRgFzJYkM4L4Oucm2k5bZHGZ64iuLu/6Q0yx X-Received: by 2002:a17:902:a9c6:b0:178:b2d4:f8b2 with SMTP id b6-20020a170902a9c600b00178b2d4f8b2mr2662436plr.79.1663730040871; Tue, 20 Sep 2022 20:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663730040; cv=none; d=google.com; s=arc-20160816; b=Bup4CorTmIPD3lAxjPnewcJZMicQFRHiIiEQbFGu42xN+w4YkUS4E349t+5UiH6NfV /l+AO+6nPn0e+D03lfSVgUNzz/h87sT8ZCicwNz3X5/XnF31ocsN+Gs6Yould6ypktwh R3g0Nmn86+gtxVgHGqNdu6nx0zXNYyU26XsjygURnLusQT3apIZgYXIrb7tQvad/oOaK y4Cw4zRJ1KCajCOEnL0jjed/9VAmwHuoO6ZB21oHI7U6BqbfsEvZDECqSSIZV3Ijngre N9EH99zzqqkHSpislJhBhpTi7Z5zEt1+2geRm4dL7B6YQNAi7VB0XSPMJYMdNOYJQrGA yxcQ== 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=Dg2XW/XuNteB0CwPlQ3egZTlK27YU71eBEwGqeM+xnE=; b=PW01JBCaxqb8KAOGoPO4yRYHitJnCZrJJNzK1PbCi5fUT0JWUKFQd7wf5YeMX2gYzS +iKeomp1EF3jXskudxZAxXPbHDXk2p8zLEaAbrXAQ4KfWe9RJu0YtpPXQbvztHS/E3nv v0DjGT1IElNUaLwimRj7JNJyzbM9h5bwIJq7Gu1yPGlNS7VmKsOz02Qs8rTbWUmwavqy x8lVjeA7VKgGaw3KJaOYAC1V36oFEA2ZK/wTGaNTS5xYNAlX1Fb03V7X/ti/BJ/5Ly0G dXIPCvYuCXndOqzSN5eQiaF2QE6ml4dWiQqrg0ptCuK0KFt1PPrm+x5H2tjXq17qvMja /eSw== 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 b18-20020a170902e95200b00174c5fdc8d2si1466686pll.307.2022.09.20.20.13.35; Tue, 20 Sep 2022 20:14:00 -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 S231150AbiIUCwv (ORCPT + 99 others); Tue, 20 Sep 2022 22:52:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230119AbiIUCwn (ORCPT ); Tue, 20 Sep 2022 22:52:43 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F9C57DF6D; Tue, 20 Sep 2022 19:52:39 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 28L2U5Vt024711; Wed, 21 Sep 2022 10:30:06 +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; Wed, 21 Sep 2022 10:50:55 +0800 From: Jammy Huang To: , , , , , , , , , , , , , , , Subject: [PATCH v9 2/4] media: v4l2-ctrls: Reserve controls for ASPEED Date: Wed, 21 Sep 2022 10:51:10 +0800 Message-ID: <20220921025112.13150-3-jammy_huang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220921025112.13150-1-jammy_huang@aspeedtech.com> References: <20220921025112.13150-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 28L2U5Vt024711 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 --- 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