From patchwork Tue Oct 25 09:02:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jammy Huang X-Patchwork-Id: 10627 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp892610wru; Tue, 25 Oct 2022 02:09:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7bJv5UoFVkYfeDtVNnXDiuf/O2B9eXzRTzcetNamWa4c2bxupMjYc9eIwkA0E8gv276aGv X-Received: by 2002:a17:906:9bc2:b0:7a3:b186:ba68 with SMTP id de2-20020a1709069bc200b007a3b186ba68mr12061040ejc.622.1666688986065; Tue, 25 Oct 2022 02:09:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666688986; cv=none; d=google.com; s=arc-20160816; b=vuZCl3x+hY1yooyjeeFsBkXvMx8Z7NGc6ib1PUR9GrCdLW3pWWftYNvCHGMZK2D/na epxrMHtnxlBW4BxoUfsMbCqUvM8W/WFnoTPmyTM25h7RtBMQVOubI3HoaKn14+JScP5A ciRq0DeupatYB/VrEh7bAc7EXof36mJtoFtA9zLqyTEBKvqgjhrwJvkx6rG3etN8Wa9t d1nsHPAiHQunrEtUw+a+oYm3NH5BGMMLECD9xDie6rOXF/eZM9ZOU45y/nFVyjCVjQvL 9XZeIRraX+CHT5lV3yEoK81M4kx1U019UunBSsrTBYuRewePjs1MzNcriLJxmciWroWj 4C2g== 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=zJ+pgXlT5JgQmULr7APRkIE8nMsMNeKK/jGXv+lSdC8=; b=yqZzHa08gG8nU9N+z123CaukuOuM9xvpuwNYIoK8R6lpkcovtRvnGNlc/fAVtzMbX2 Wd9HswAEtOnSDxHxbBN4PIyIgkx1cQRtqnAA3AJZdmKAn7isYCuxrWsWI86R/yZcAwG5 rF5nvVuK8WGoXhGCP145N4OawIPtmfqEIiVjaQwQIZPoQqZfPh/YHXQfCwFOSlHLT0Bn t7/rikn6jUsp+fBbgNaHxlpuqCyIsTjZYdMjLR3DmraU/c/BGIR3BiCPE9evHgawZi/W o8M1eXjq+xs9kECV9W4hiqOQWWsqdh6vOdcB3YAZbaSJNqG0Zjmr3kaJzW584ZTgKwIC c7Xg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a509e0f000000b00456964d3369si1754084ede.230.2022.10.25.02.09.19; Tue, 25 Oct 2022 02:09: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 S232289AbiJYJFY (ORCPT + 99 others); Tue, 25 Oct 2022 05:05:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232010AbiJYJEU (ORCPT ); Tue, 25 Oct 2022 05:04:20 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC83E15F90E; Tue, 25 Oct 2022 02:03:46 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 29P8dHbu031240; Tue, 25 Oct 2022 16:39:17 +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; Tue, 25 Oct 2022 17:02:03 +0800 From: Jammy Huang To: , , , , , , , , , , , , , , , , , Subject: [PATCH v10 2/5] media: v4l2-ctrls: Reserve controls for ASPEED Date: Tue, 25 Oct 2022 17:02:00 +0800 Message-ID: <20221025090203.5623-3-jammy_huang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025090203.5623-1-jammy_huang@aspeedtech.com> References: <20221025090203.5623-1-jammy_huang@aspeedtech.com> MIME-Version: 1.0 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 29P8dHbu031240 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747650069993282327?= X-GMAIL-MSGID: =?utf-8?q?1747650069993282327?= 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 --- 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 */