devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marvin Lin <milkfafa@gmail.com>
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 <milkfafa@gmail.com>
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	[thread overview]
Message-ID: <20221220094055.3011916-6-milkfafa@gmail.com> (raw)
In-Reply-To: <20221220094055.3011916-1-milkfafa@gmail.com>

Add a control base and reserve 16 controls for Nuvoton NPCM video
controls.

Signed-off-by: Marvin Lin <milkfafa@gmail.com>
---
 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


  parent reply	other threads:[~2022-12-20  9:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-20  9:40 [PATCH v9 0/7] Support Nuvoton NPCM Video Capture/Encode Engine Marvin Lin
2022-12-20  9:40 ` [PATCH v9 1/7] ARM: dts: nuvoton: Add node for NPCM VCD and ECE engine Marvin Lin
2022-12-20  9:40 ` [PATCH v9 2/7] media: dt-binding: nuvoton: Add " Marvin Lin
2022-12-20 16:11   ` Krzysztof Kozlowski
2022-12-22  2:25     ` Kun-Fa Lin
2022-12-20  9:40 ` [PATCH v9 3/7] dt-bindings: arm: nuvoton: Add bindings for NPCM GFXI Marvin Lin
2022-12-20  9:40 ` [PATCH v9 4/7] media: v4l: Add HEXTILE compressed format Marvin Lin
2022-12-20  9:40 ` Marvin Lin [this message]
2022-12-20  9:40 ` [PATCH v9 6/7] media: uapi: Add controls for NPCM video driver Marvin Lin
2022-12-20  9:40 ` [PATCH v9 7/7] media: nuvoton: Add driver for NPCM video capture and encode engine Marvin Lin
2022-12-20 11:11   ` Andrzej Pietrasiewicz
2022-12-22  2:23     ` Kun-Fa Lin
2022-12-25 16:51   ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221220094055.3011916-6-milkfafa@gmail.com \
    --to=milkfafa@gmail.com \
    --cc=andrzej.p@collabora.com \
    --cc=avifishman70@gmail.com \
    --cc=benjaminfair@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=kflin@nuvoton.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kwliu@nuvoton.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=openbmc@lists.ozlabs.org \
    --cc=robh+dt@kernel.org \
    --cc=tali.perry1@gmail.com \
    --cc=tmaimon77@gmail.com \
    --cc=venture@google.com \
    --cc=yuenn@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).