All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomer Maimon <tmaimon77@gmail.com>
To: <openbmc@lists.ozlabs.org>
Cc: Marvin Lin <milkfafa@gmail.com>, Joel Stanley <joel@jms.id.au>,
	Tomer Maimon <tmaimon77@gmail.com>
Subject: [PATCH linux dev-6.5 v1 4/6] media: v4l2-ctrls: Add user control base for Nuvoton NPCM controls
Date: Sun, 1 Oct 2023 16:48:18 +0300	[thread overview]
Message-ID: <20231001134820.110921-5-tmaimon77@gmail.com> (raw)
In-Reply-To: <20231001134820.110921-1-tmaimon77@gmail.com>

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

Signed-off-by: Marvin Lin <milkfafa@gmail.com>
Signed-off-by: Tomer Maimon <tmaimon77@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 c3604a0a3e30..68db66d4aae8 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-controls.h
@@ -203,6 +203,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.33.0


  parent reply	other threads:[~2023-10-01 13:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-01 13:48 [PATCH linux dev-6.5 v1 0/6] Support Nuvoton NPCM Video Capture/Encode Engine Tomer Maimon
2023-10-01 13:48 ` [PATCH linux dev-6.5 v1 1/6] media: dt-bindings: nuvoton: Add NPCM VCD and ECE engine Tomer Maimon
2023-10-01 13:48 ` [PATCH linux dev-6.5 v1 2/6] dt-bindings: soc: nuvoton: Add NPCM GFXI Tomer Maimon
2023-10-01 13:48 ` [PATCH linux dev-6.5 v1 3/6] media: v4l: Add HEXTILE compressed format Tomer Maimon
2023-10-01 13:48 ` Tomer Maimon [this message]
2023-10-01 13:48 ` [PATCH linux dev-6.5 v1 5/6] media: uapi: Add controls for NPCM video driver Tomer Maimon
2023-10-01 13:48 ` [PATCH linux dev-6.5 v1 6/6] media: nuvoton: Add driver for NPCM video capture and encoding engine Tomer Maimon

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=20231001134820.110921-5-tmaimon77@gmail.com \
    --to=tmaimon77@gmail.com \
    --cc=joel@jms.id.au \
    --cc=milkfafa@gmail.com \
    --cc=openbmc@lists.ozlabs.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.