Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3854316rwj; Tue, 20 Dec 2022 02:55:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf63nZS2r8VOvsFZi3oowyTCc9zKQ8F04AxcRPGD2TkcZ0P4a/U9zKUGwfZQEwCuzBBLR+wo X-Received: by 2002:a17:902:e1c1:b0:18d:1bb9:672 with SMTP id t1-20020a170902e1c100b0018d1bb90672mr41219562pla.6.1671533700705; Tue, 20 Dec 2022 02:55:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671533700; cv=none; d=google.com; s=arc-20160816; b=N1kqOJWvDI/0OEvGjyFIWWCGzd3SuM0ySJOSbvHTeCvyK7EKI0ytDpRZpxkf0jiBD4 fwublrb5nqKQgUE8eCndcAP55lWgIqi571CqTT3bPjD7kQn8fVuJTo5tytI0J3w2n1Uw ihlm64kn5boYn+CUCK80Llmi9rFAAdtvBKLHM2YtCVsu45KkhHGOgms3muoFhbgiL1I0 3tKn1zz2OAvIVMAy7v3DTMB08zsX5HquwXRSyYGkIDSFmd9snmjg03O6IxsM9I3ZpvUT kTeBGuTUkBOKUcxk8vVcDzfGNG+B9hu5kGMFiG1uSfRSyWqg3yHi4WpL25EGMTsVMyQH kZLg== 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:cc:to:from :dkim-signature; bh=xLpWFlG8mxCCWcewzRCKKTz15AMme8ZuJhE5IEg3io0=; b=0SMSvJ3AumWRoxtmeTMHU8cTQdCXklvVYRzgE7etcLu4SdTXxu94KwXQA2wzsnXUd/ sO9txG/ilS/ns6Yus1wH4UrrvAe/a9TA1+mlMH+Q6ZHl7lYG+z2a5//Omxa/PsW74OBn JXsd9Q0fC281/ub4u7bhVpu5C8CdcBL/cQxKBbQge/kaQ+EXZMjylhlRwbAOcTOpsORU 7QsY1E4SynCgDfDzKQ4cmLbFexRTC0cXYwBeMaSi+BougumgoP0+bZAwCuiC77QbT8Tn nPrXWRmol9hH3rzlCANxeRQ1Z/eLe+kEmuHyjAJP8YVSiqFQlpzpS/Udmi3YnTSFOFxQ Mmgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pr5onYIp; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x4-20020a1709029a4400b00186a4763532si12670554plv.28.2022.12.20.02.54.51; Tue, 20 Dec 2022 02:55:00 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pr5onYIp; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233315AbiLTJmt (ORCPT + 70 others); Tue, 20 Dec 2022 04:42:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233607AbiLTJl4 (ORCPT ); Tue, 20 Dec 2022 04:41:56 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9785310DF; Tue, 20 Dec 2022 01:41:55 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id 62so7947965pgb.13; Tue, 20 Dec 2022 01:41:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xLpWFlG8mxCCWcewzRCKKTz15AMme8ZuJhE5IEg3io0=; b=pr5onYIpgIwqxyD1wGQPdnZ1iGEXKVapyWpDEbM01PRH1XCZBF6M9gt9A2zgqNw+Rz 7lQSoynKI5RzwiW3YL8T4e11U0t8ng2R2brQYM8d/MKxt4Gw2B9xaG1LpEf763qmz21Z +XpQDbWcAA3CgcbAeqgPZ0UmZcfPQ3K7rAoOM5nk8hOoo0c3abWUvuuKI82LrXD0jr6H h2TbnnHbQtMauIdEmsncd78226zA02iG78V2qnuzyck61lQxducp7bI+Ckt2j2L+JnYO kT1aidxZVuucSA+k6sjhNsb6U3XI3bnaZP6Rz5bzF4YnSS4+/HfiNpes9OHOI9pVijCV sR2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xLpWFlG8mxCCWcewzRCKKTz15AMme8ZuJhE5IEg3io0=; b=NGYKw9s9QKBfe72asE8KINu4PwUMO0XHjE/WvurXaL7lT4UBaJd7R1kgdIqIueObpp tdCcSkdgyJrpuqL1CyyZU4vh2cxufyTvtvFcYH/aaa1pscUHBpAfoFkUMPOVfyQFNE9h DNugl52oEzEG78kF0YYeeROVgcOZRRC2hIS5COczvcVlwgyfrnKVnkj2exBA8qdKwPQq mWf994SP33MeZArZoX02+8SMBKWcf4HD8lNxB/UVurrbs/43n230MfHCzu9KmaQnMMwB 0f7pgcMHDSADwwBWOIMg97iZEANYfFZeJOCvEjzzvQIGlHIV97CHZeBj0JzI8JddGk16 qhzQ== X-Gm-Message-State: ANoB5plovJr/J6TxZzDz2Bmzrcj3hNz/feV+ZPeuURr6rmUlNBXXVTCA AZi4q5wsZ4zToJzx9u4e2IY= X-Received: by 2002:a62:33c4:0:b0:56c:7216:fbc6 with SMTP id z187-20020a6233c4000000b0056c7216fbc6mr40481807pfz.30.1671529315156; Tue, 20 Dec 2022 01:41:55 -0800 (PST) Received: from hcdev-d520mt2.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id b17-20020a621b11000000b00576a89978e5sm8210230pfb.63.2022.12.20.01.41.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 01:41:54 -0800 (PST) From: Marvin Lin To: mchehab@kernel.org, hverkuil-cisco@xs4all.nl, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andrzej.p@collabora.com Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, kwliu@nuvoton.com, kflin@nuvoton.com, Marvin Lin Subject: [PATCH v9 5/7] media: v4l2-ctrls: Reserve user control base for NPCM video controls Date: Tue, 20 Dec 2022 17:40:53 +0800 Message-Id: <20221220094055.3011916-6-milkfafa@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221220094055.3011916-1-milkfafa@gmail.com> References: <20221220094055.3011916-1-milkfafa@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Add a control base and reserve 16 controls for Nuvoton NPCM video controls. Signed-off-by: Marvin Lin --- 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 b73a8ba7df6c..aa5c9f64f1d6 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h @@ -199,6 +199,12 @@ enum v4l2_colorfx { */ #define V4L2_CID_USER_ASPEED_BASE (V4L2_CID_USER_BASE + 0x11a0) +/* + * The base for Nuvoton NPCM driver controls. + * We reserve 16 controls for this driver. + */ +#define V4L2_CID_USER_NPCM_BASE (V4L2_CID_USER_BASE + 0x11b0) + /* MPEG-class control IDs */ /* The MPEG controls are applicable to all codec controls * and the 'MPEG' part of the define is historical */ -- 2.34.1