From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Cc: linux-media@vger.kernel.org, alain.volmat@foss.st.com,
hugues.fruchet@foss.st.com, sylvain.petinot@foss.st.com,
dave.stevenson@raspberrypi.com, sakari.ailus@linux.intel.com,
kieran.bingham@ideasonboard.com, nicolas@ndufresne.ca,
hverkuil@xs4all.nl
Subject: Re: [PATCH v6 1/4] media: v4l: Add 1X16 16-bit greyscale media bus code definition
Date: Fri, 7 Oct 2022 00:26:56 +0300 [thread overview]
Message-ID: <Yz9IIN2Jgum27tk0@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20220927083702.14138-2-benjamin.mugnier@foss.st.com>
Hi Benjamin,
Thank you for the patch.
On Tue, Sep 27, 2022 at 10:36:59AM +0200, Benjamin Mugnier wrote:
> This extends the greyscale media bus family originally from
> MEDIA_BUS_FMT_Y8_1X8 up to MEDIA_BUS_FMT_Y14_1X14 by adding
> MEDIA_BUS_FMT_Y16_1X16, and behaves the same way with 16 bits.
> Add its documentation in subdev-formats.rst
>
> Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
> ---
> .../media/v4l/subdev-formats.rst | 37 +++++++++++++++++++
> include/uapi/linux/media-bus-format.h | 3 +-
> 2 files changed, 39 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/userspace-api/media/v4l/subdev-formats.rst b/Documentation/userspace-api/media/v4l/subdev-formats.rst
> index d21d532eee15..19025e9ba447 100644
> --- a/Documentation/userspace-api/media/v4l/subdev-formats.rst
> +++ b/Documentation/userspace-api/media/v4l/subdev-formats.rst
> @@ -7355,6 +7355,43 @@ the following codes.
> - v\ :sub:`2`
> - v\ :sub:`1`
> - v\ :sub:`0`
> + * .. _MEDIA-BUS-FMT-Y16-1X16:
> +
> + - MEDIA_BUS_FMT_Y16_1X16
> + - 0x202e
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + -
> + - y\ :sub:`15`
> + - y\ :sub:`14`
> + - y\ :sub:`13`
> + - y\ :sub:`12`
> + - y\ :sub:`11`
> + - y\ :sub:`10`
> + - y\ :sub:`9`
> + - y\ :sub:`8`
> + - y\ :sub:`7`
> + - y\ :sub:`6`
> + - y\ :sub:`5`
> + - y\ :sub:`4`
> + - y\ :sub:`3`
> + - y\ :sub:`2`
> + - y\ :sub:`1`
> + - y\ :sub:`0`
Could you please add this right after MEDIA_BUS_FMT_Y14_1X14 ? Same in include/uapi/linux/media-bus-format.h. With this change,
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>
>
> .. raw:: latex
> diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h
> index ec3323dbb927..b078dd125e57 100644
> --- a/include/uapi/linux/media-bus-format.h
> +++ b/include/uapi/linux/media-bus-format.h
> @@ -69,7 +69,7 @@
> #define MEDIA_BUS_FMT_RGB121212_1X36 0x1019
> #define MEDIA_BUS_FMT_RGB161616_1X48 0x101a
>
> -/* YUV (including grey) - next is 0x202e */
> +/* YUV (including grey) - next is 0x202f */
> #define MEDIA_BUS_FMT_Y8_1X8 0x2001
> #define MEDIA_BUS_FMT_UV8_1X8 0x2015
> #define MEDIA_BUS_FMT_UYVY8_1_5X8 0x2002
> @@ -115,6 +115,7 @@
> #define MEDIA_BUS_FMT_YUV12_1X36 0x2029
> #define MEDIA_BUS_FMT_YUV16_1X48 0x202a
> #define MEDIA_BUS_FMT_UYYVYY16_0_5X48 0x202b
> +#define MEDIA_BUS_FMT_Y16_1X16 0x202e
>
> /* Bayer - next is 0x3021 */
> #define MEDIA_BUS_FMT_SBGGR8_1X8 0x3001
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2022-10-06 21:27 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-27 8:36 [PATCH v6 0/4] media: Add ST VGXY61 camera sensor driver Benjamin Mugnier
2022-09-27 8:36 ` [PATCH v6 1/4] media: v4l: Add 1X16 16-bit greyscale media bus code definition Benjamin Mugnier
2022-10-06 21:26 ` Laurent Pinchart [this message]
2022-10-07 11:56 ` Benjamin MUGNIER
2022-09-27 8:37 ` [PATCH v6 2/4] media: v4l: ctrls: Add a control for HDR mode Benjamin Mugnier
2022-09-27 8:37 ` [PATCH v6 3/4] media: dt-bindings: media: i2c: Add ST VGXY61 camera sensor binding Benjamin Mugnier
2022-10-06 19:15 ` Sakari Ailus
2022-10-07 11:57 ` Benjamin MUGNIER
2022-10-07 12:28 ` Benjamin MUGNIER
2022-09-27 8:37 ` [PATCH v6 4/4] media: i2c: Add driver for ST VGXY61 camera sensor Benjamin Mugnier
2022-10-06 19:14 ` Sakari Ailus
2022-10-07 12:24 ` Benjamin MUGNIER
2022-10-07 12:32 ` Laurent Pinchart
2022-10-07 12:38 ` Benjamin MUGNIER
2022-10-07 13:19 ` Laurent Pinchart
2022-10-07 14:06 ` Benjamin MUGNIER
2022-10-10 8:29 ` Sakari Ailus
2022-10-10 9:19 ` Benjamin MUGNIER
2022-10-10 9:33 ` Sakari Ailus
2022-10-10 9:50 ` Benjamin MUGNIER
2022-10-10 11:55 ` Sakari Ailus
2022-10-10 12:11 ` Benjamin MUGNIER
2022-10-10 12:52 ` Sakari Ailus
2022-10-10 13:12 ` Benjamin MUGNIER
2022-10-13 8:00 ` Sakari Ailus
2022-10-18 7:54 ` Benjamin MUGNIER
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=Yz9IIN2Jgum27tk0@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=alain.volmat@foss.st.com \
--cc=benjamin.mugnier@foss.st.com \
--cc=dave.stevenson@raspberrypi.com \
--cc=hugues.fruchet@foss.st.com \
--cc=hverkuil@xs4all.nl \
--cc=kieran.bingham@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=nicolas@ndufresne.ca \
--cc=sakari.ailus@linux.intel.com \
--cc=sylvain.petinot@foss.st.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