From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Kieran Bingham <kieran.bingham@ideasonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jacopo Mondi <jacopo@jmondi.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Jimmy Su <jimmy.su@intel.com>,
Matthias Fend <matthias.fend@emfend.at>,
Mikhail Rudenko <mike.rudenko@gmail.com>,
Daniel Scally <dan.scally@ideasonboard.com>,
Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
Michael Riesch <michael.riesch@collabora.com>,
Benjamin Mugnier <benjamin.mugnier@foss.st.com>,
Sylvain Petinot <sylvain.petinot@foss.st.com>,
Paul Elder <paul.elder@ideasonboard.com>,
Martin Kepplinger <martin.kepplinger@puri.sm>,
Quentin Schulz <quentin.schulz@theobroma-systems.com>,
Tommaso Merciai <tomm.merciai@gmail.com>,
Svyatoslav Ryhel <clamor95@gmail.com>,
Richard Acayan <mailingradian@gmail.com>,
Thierry Reding <thierry.reding@kernel.org>,
Jonathan Hunter <jonathanh@nvidia.com>,
Frank Li <Frank.Li@nxp.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Heiko Stuebner <heiko@sntech.de>,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
linux@ew.tq-group.com, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
linux-rockchip@lists.infradead.org
Subject: Re: [PATCH v2 2/8] media: dt-bindings: video-interface-devices: add video-interface-devices.h references
Date: Fri, 26 Jun 2026 17:30:05 +0300 [thread overview]
Message-ID: <20260626143005.GD2363897@killaraus.ideasonboard.com> (raw)
In-Reply-To: <20260626-kbingham-orientation-v2-2-47178be927b4@ideasonboard.com>
Hi Kieran,
Thank you for the patch.
On Fri, Jun 26, 2026 at 01:07:54PM +0100, Kieran Bingham wrote:
> Expand the documentation of the video-interface-devices orientation to
> reference the include/dt-bindings/media/video-interface-devices.h header
> which provides human readable defines for the orientation enum, to help
> avoid hardcoding values in dts.
>
> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> ---
> .../bindings/media/video-interface-devices.yaml | 17 +++++++++++------
> 1 file changed, 11 insertions(+), 6 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/video-interface-devices.yaml b/Documentation/devicetree/bindings/media/video-interface-devices.yaml
> index a81d2a155fe6..c9c3f4f16719 100644
> --- a/Documentation/devicetree/bindings/media/video-interface-devices.yaml
> +++ b/Documentation/devicetree/bindings/media/video-interface-devices.yaml
> @@ -392,17 +392,22 @@ properties:
> The orientation of a device (typically an image sensor or a flash LED)
> describing its mounting position relative to the usage orientation of the
> system where the device is installed on.
> + See include/dt-bindings/media/video-interface-devices.h.
If you want this to be a separate paragraph, you need a blnk line on
top. Otherwise, Move "See" to the previous line.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> +
> $ref: /schemas/types.yaml#/definitions/uint32
> enum:
> - # Front. The device is mounted on the front facing side of the system. For
> - # mobile devices such as smartphones, tablets and laptops the front side
> - # is the user facing side.
> + # MEDIA_ORIENTATION_FRONT
> + # The device is mounted on the front facing side of the system. For
> + # mobile devices such as smartphones, tablets and laptops the front
> + # side is the user facing side.
> - 0
> - # Back. The device is mounted on the back side of the system, which is
> + # MEDIA_ORIENTATION_BACK
> + # The device is mounted on the back side of the system, which is
> # defined as the opposite side of the front facing one.
> - 1
> - # External. The device is not attached directly to the system but is
> - # attached in a way that allows it to move freely.
> + # MEDIA_ORIENTATION_EXTERNAL
> + # The device is not attached directly to the system but is attached in
> + # a way that allows it to move freely.
> - 2
>
> additionalProperties: true
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2026-06-26 14:30 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-26 12:07 [PATCH v2 0/8] dt-bindings: Orientation defines Kieran Bingham
2026-06-26 12:07 ` [PATCH v2 1/8] dt-bindings: media: Add macros for video interface devices Kieran Bingham
2026-06-26 13:21 ` Vladimir Zapolskiy
2026-06-26 16:47 ` Frank Li
2026-06-26 12:07 ` [PATCH v2 2/8] media: dt-bindings: video-interface-devices: add video-interface-devices.h references Kieran Bingham
2026-06-26 13:21 ` Vladimir Zapolskiy
2026-06-26 14:30 ` Laurent Pinchart [this message]
2026-06-26 16:47 ` Frank Li
2026-06-26 12:07 ` [PATCH v2 3/8] dt-bindings: media: i2c: Utilise video-interface-devices enums Kieran Bingham
2026-06-26 13:22 ` Vladimir Zapolskiy
2026-06-26 14:31 ` Laurent Pinchart
2026-06-26 12:07 ` [PATCH v2 4/8] ARM: tegra: Convert to new media orientation definitions Kieran Bingham
2026-06-26 14:33 ` Laurent Pinchart
2026-06-26 16:58 ` Kieran Bingham
2026-06-26 12:07 ` [PATCH v2 5/8] arm64: dts: freescale: " Kieran Bingham
2026-06-26 14:33 ` Laurent Pinchart
2026-06-26 12:07 ` [PATCH v2 6/8] arm64: dts: qcom: " Kieran Bingham
2026-06-26 12:30 ` Konrad Dybcio
2026-06-26 13:22 ` Vladimir Zapolskiy
2026-06-26 14:34 ` Laurent Pinchart
2026-06-26 12:07 ` [PATCH v2 7/8] arm64: dts: renesas: " Kieran Bingham
2026-06-26 12:30 ` Geert Uytterhoeven
2026-06-26 14:34 ` Laurent Pinchart
2026-06-26 12:08 ` [PATCH v2 8/8] arm64: dts: rockchip: " Kieran Bingham
2026-06-26 14:36 ` Laurent Pinchart
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=20260626143005.GD2363897@killaraus.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=Frank.Li@nxp.com \
--cc=andersson@kernel.org \
--cc=benjamin.mugnier@foss.st.com \
--cc=clamor95@gmail.com \
--cc=conor+dt@kernel.org \
--cc=dan.scally@ideasonboard.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=geert+renesas@glider.be \
--cc=heiko@sntech.de \
--cc=imx@lists.linux.dev \
--cc=jacopo.mondi@ideasonboard.com \
--cc=jacopo@jmondi.org \
--cc=jimmy.su@intel.com \
--cc=jonathanh@nvidia.com \
--cc=kernel@pengutronix.de \
--cc=kieran.bingham@ideasonboard.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux@ew.tq-group.com \
--cc=magnus.damm@gmail.com \
--cc=mailingradian@gmail.com \
--cc=martin.kepplinger@puri.sm \
--cc=matthias.fend@emfend.at \
--cc=mchehab@kernel.org \
--cc=michael.riesch@collabora.com \
--cc=mike.rudenko@gmail.com \
--cc=paul.elder@ideasonboard.com \
--cc=quentin.schulz@theobroma-systems.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sakari.ailus@linux.intel.com \
--cc=sylvain.petinot@foss.st.com \
--cc=thierry.reding@kernel.org \
--cc=tomm.merciai@gmail.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