From: Hans Verkuil <hverkuil+cisco@kernel.org>
To: Hermes.wu@ite.com.tw, Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Hans Verkuil <hverkuil+cisco@kernel.org>,
Hans Verkuil <hverkuil@kernel.org>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
linux-sound@vger.kernel.org, linux-api@vger.kernel.org
Subject: Re: [PATCH v2 9/9] media: uapi: it6625: remove the driver-specific audio controls
Date: Wed, 25 Nov 2026 13:43:34 +0100 [thread overview]
Message-ID: <c356089d-775d-4998-813f-644b15eddfc3@kernel.org> (raw)
In-Reply-To: <20261124-upstream-it6625-alsa-i2s-v2-9-a154685f6989@ite.com.tw>
On 24/11/2026 04:04, Hermes Wu via B4 Relay wrote:
> From: Hermes Wu <Hermes.wu@ite.com.tw>
>
> V4L2_CID_IT6625_AUDIO_SAMPLING_RATE and V4L2_CID_IT6625_AUDIO_PRESENT
> have been replaced by the standard V4L2_CID_DV_RX_AUDIO_SAMPLING_RATE
> and V4L2_CID_DV_RX_AUDIO_PRESENT controls, and the driver no longer uses
> them. They were added together with the driver and are not part of any
> released kernel yet.
Well, that's not really true. By the time this patch would go in, the driver
will be part of a released kernel.
That said, this is one case where I am in favor of dropping the old controls
even though it strictly speaking breaks the uAPI.
I'm not aware of any hardware boards that use this chip, so the impact is very
small if not zero.
It's actually an interesting question: are there boards/SBCs commercially available
that use this chip? It's an interesting one, it might be nice if there would be
a board for e.g. the Raspberry Pi.
Regards,
Hans
>
> Remove the uAPI header and the V4L2_CID_USER_IT6625_BASE reservation.
> ---
> MAINTAINERS | 1 -
> drivers/media/i2c/it6625.c | 1 -
> include/uapi/linux/it6625.h | 25 -------------------------
> include/uapi/linux/v4l2-controls.h | 6 ------
> 4 files changed, 33 deletions(-)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index f4456f4589a1b86b140ab578d149884d46a3320a..a7a315f0e80585be26fe2b52a62c19e469cb5703 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -14271,7 +14271,6 @@ S: Maintained
> T: git git://linuxtv.org/media.git
> F: Documentation/devicetree/bindings/media/i2c/ite,it6625.yaml
> F: drivers/media/i2c/it6625.c
> -F: include/uapi/linux/it6625.h
>
> IVTV VIDEO4LINUX DRIVER
> M: Andy Walls <awalls@md.metrocast.net>
> diff --git a/drivers/media/i2c/it6625.c b/drivers/media/i2c/it6625.c
> index e4487e8111b94b2fa9f599e37ecd2b8a11425862..64c1cec26edfcb0e0105e00e1b7ba5960252aae7 100644
> --- a/drivers/media/i2c/it6625.c
> +++ b/drivers/media/i2c/it6625.c
> @@ -33,7 +33,6 @@
> #include <sound/pcm.h>
> #include <sound/pcm_params.h>
> #include <sound/soc.h>
> -#include <uapi/linux/it6625.h>
>
> static int debug;
> module_param(debug, int, 0644);
> diff --git a/include/uapi/linux/it6625.h b/include/uapi/linux/it6625.h
> deleted file mode 100644
> index a895658aaf6a80d3fb624cdece33c5135161c72d..0000000000000000000000000000000000000000
> --- a/include/uapi/linux/it6625.h
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
> -/*
> - * Controls header for IT6625/IT6626 driver
> - */
> -
> -#ifndef _UAPI_LINUX_IT6625_H
> -#define _UAPI_LINUX_IT6625_H
> -
> -#include <linux/v4l2-controls.h>
> -
> -/*
> - * Currently detected HDMI audio sampling rate, in Hz. Read-only.
> - * 0 means the rate is unavailable/unknown: no audio is currently
> - * present on the input, the hardware reported a sample-rate id this
> - * driver doesn't recognize, or the status read itself failed. Never a
> - * literal 0 Hz sample rate.
> - */
> -#define V4L2_CID_IT6625_AUDIO_SAMPLING_RATE (V4L2_CID_USER_IT6625_BASE + 0)
> -
> -/*
> - * Whether HDMI audio is currently present on the input. Read-only.
> - */
> -#define V4L2_CID_IT6625_AUDIO_PRESENT (V4L2_CID_USER_IT6625_BASE + 1)
> -
> -#endif /* _UAPI_LINUX_IT6625_H */
> diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
> index 942a1df3057e3e49c9111f6a27ec1883d964bf64..a2d4ea909e01f9b705d30b680ef382f5fcd39714 100644
> --- a/include/uapi/linux/v4l2-controls.h
> +++ b/include/uapi/linux/v4l2-controls.h
> @@ -249,12 +249,6 @@ enum v4l2_colorfx {
> */
> #define V4L2_CID_USER_DCMIPP_BASE (V4L2_CID_USER_BASE + 0x1240)
>
> -/*
> - * The base for IT6625/IT6626 driver controls.
> - * We reserve 16 controls for this driver.
> - */
> -#define V4L2_CID_USER_IT6625_BASE (V4L2_CID_USER_BASE + 0x1250)
> -
> /* MPEG-class control IDs */
> /* The MPEG controls are applicable to all codec controls
> * and the 'MPEG' part of the define is historical */
>
prev parent reply other threads:[~2026-11-25 12:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 3:04 [PATCH v2 0/9] media: i2c: it6625: add HDMI audio capture over I2S Hermes Wu via B4 Relay
2026-11-24 3:04 ` [PATCH v2 1/9] media: v4l2-ctrls: add DV RX audio sampling rate and present controls Hermes Wu via B4 Relay
2026-11-24 4:02 ` Hermes.Wu
2026-11-25 12:38 ` Hans Verkuil
2026-11-24 3:04 ` [PATCH v2 2/9] media: v4l2-ctrls: add the DV RX audio type control Hermes Wu via B4 Relay
2026-11-24 4:03 ` Hermes.Wu
2026-11-24 3:04 ` [PATCH v2 3/9] media: i2c: tc358743: also report the standard audio controls Hermes Wu via B4 Relay
2026-11-24 4:04 ` Hermes.Wu
2026-11-24 3:04 ` [PATCH v2 4/9] dt-bindings: media: ite,it6625: add audio DAI properties Hermes Wu via B4 Relay
2026-11-24 3:04 ` [PATCH v2 5/9] media: i2c: it6625: decode audio status fields with FIELD_GET() Hermes Wu via B4 Relay
2026-11-24 3:04 ` [PATCH v2 6/9] media: i2c: it6625: add I2S audio capture DAI Hermes Wu via B4 Relay
2026-11-24 3:04 ` [PATCH v2 7/9] media: i2c: it6625: capture compressed and HBR audio, not just LPCM Hermes Wu via B4 Relay
2026-11-24 3:04 ` [PATCH v2 8/9] media: i2c: it6625: use the standard audio rate and present controls Hermes Wu via B4 Relay
2026-11-24 4:04 ` Hermes.Wu
2026-11-24 3:04 ` [PATCH v2 9/9] media: uapi: it6625: remove the driver-specific audio controls Hermes Wu via B4 Relay
2026-11-24 4:04 ` Hermes.Wu
2026-11-25 12:43 ` Hans Verkuil [this message]
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=c356089d-775d-4998-813f-644b15eddfc3@kernel.org \
--to=hverkuil+cisco@kernel.org \
--cc=Hermes.wu@ite.com.tw \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®