From patchwork Fri Oct 28 02:35:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jammy Huang X-Patchwork-Id: 12054 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp577382wru; Thu, 27 Oct 2022 19:41:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ZyNIHzhXSNEkPA3HYXWYXxaJJCWbOqk2/qaJefClBWAx3tAAjhcsl1ySUZhGBEphHbZnZ X-Received: by 2002:a17:907:948f:b0:7a7:6425:7d1b with SMTP id dm15-20020a170907948f00b007a764257d1bmr22610189ejc.165.1666924916147; Thu, 27 Oct 2022 19:41:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666924916; cv=none; d=google.com; s=arc-20160816; b=LOL0coN9cDM2soKlZxMo7CREC0l10oSUbLj61L9rZ1SdND842t8RqOZqxjmAk6SeUg W77GwIKNEax0jcWSLuHYAzpKkDjzJrmg3P1oS0v758WflWm/bHKZE7rh9t0BW3AxzdBl 9z6Is5SI1YvC+wVHYijVH5TmWQJg41+MbztERvY/UDwi1E1hegKhNt1rTSPjviFeHAex ECeNP7wbDfoEE5V8+Jg6PaQhqxZF6XXBzDNxPe/trSG7wQvjvoPgT/JAoaCvRcN4WaMi p6gmpF+MTz8jkKur6wfjpAl06qZowlbKzFeh3Dp7pFSFbKxW9yrg4Pt79aXSWO4t5sO/ i/UA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a68-20020a509eca000000b00461b47b6557si3132589edf.68.2022.10.27.19.41.32; Thu, 27 Oct 2022 19:41:56 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747897460419860954?= X-GMAIL-MSGID: =?utf-8?q?1747897460419860954?= 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 */