From: Kieran Bingham <kieran.bingham@ideasonboard.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Benjamin Mugnier <benjamin.mugnier@foss.st.com>,
Bjorn Andersson <andersson@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Daniel Scally <dan.scally@ideasonboard.com>,
Fabio Estevam <festevam@gmail.com>, Frank Li <Frank.Li@nxp.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Heiko Stuebner <heiko@sntech.de>,
Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
Jacopo Mondi <jacopo@jmondi.org>, Jimmy Su <jimmy.su@intel.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Konrad Dybcio <konradybcio@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Magnus Damm <magnus.damm@gmail.com>,
Martin Kepplinger <martin.kepplinger@puri.sm>,
Matthias Fend <matthias.fend@emfend.at>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Michael Riesch <michael.riesch@collabora.com>,
Mikhail Rudenko <mike.rudenko@gmail.com>,
Paul Elder <paul.elder@ideasonboard.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Quentin Schulz <quentin.schulz@theobroma-systems.com>,
Richard Acayan <mailingradian@gmail.com>,
Rob Herring <robh@kernel.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Svyatoslav Ryhel <clamor95@gmail.com>,
Sylvain Petinot <sylvain.petinot@foss.st.com>,
Thierry Reding <thierry.reding@kernel.org>,
Tommaso Merciai <tomm.merciai@gmail.com>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@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, linux-tegra@vger.kernel.org,
Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
David Heidelberg <david@ixit.cz>
Subject: Re: [PATCH v6 2/6] arm64: dts: qcom: Convert to new media orientation definitions
Date: Fri, 18 Sep 2026 14:33:34 +0100 [thread overview]
Message-ID: <178973841405.1723501.9051265194315500867@ping.linuxembedded.co.uk> (raw)
In-Reply-To: <20260918132013.GG59058@killaraus.ideasonboard.com>
Quoting Laurent Pinchart (2026-09-18 14:20:13)
> On Fri, Sep 18, 2026 at 12:09:51PM +0100, Kieran Bingham wrote:
> > Quoting Kieran Bingham (2026-09-18 11:44:14)
> > > From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
> > >
> > > The orientation property for video interface devices now has definitions
> > > to prevent hardcoded integer values for the enum options.
> > >
> > > Update the users throughout the qualcomm device trees to use the new
> > > definitions.
> > >
> > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > > Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
> > > Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> > > Reviewed-by: David Heidelberg <david@ixit.cz>
> >
> > Sashiko has noted that there is another new dts added in dts/qcom since
> > I wrote this patch.
> >
> > I don't want to invalidate the above reviews by adding another change,
> > so I will send the single update to the new file separately as the core
> > definitions are already accepted now.
> >
> > If someone /really/ wants me to add the change to
> > arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi in this patch,
> > please let me know.
> >
> > it looks like this:
> >
> > ----------- arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi -----------
> > index 945127dacc82..f86d3e0d51a6 100644
> > @@ -3,10 +3,11 @@
> > * Copyright (c) 2022-2024 Jianhua Lu <lujianhua000@gmail.com>
> > */
> >
> > #include <dt-bindings/arm/qcom,ids.h>
> > #include <dt-bindings/media/video-interfaces.h>
> > +#include <dt-bindings/media/video-interface-devices.h>
> > #include <dt-bindings/phy/phy.h>
> > #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
> > #include <dt-bindings/usb/pd.h>
> > #include "sm8250.dtsi"
> > #include "pm8150.dtsi"
> > @@ -571,11 +572,11 @@ camera_front: camera@10 {
> > reset-gpios = <&tlmm 109 GPIO_ACTIVE_LOW>;
> >
> > pinctrl-0 = <&cam_mclk3_default &camera_front_active>;
> > pinctrl-names = "default";
> >
> > - orientation = <0>; /* Front facing */
> > + orientation = <MEDIA_ORIENTATION_FRONT>;
> > rotation = <270>;
> >
> > port {
> > ov8856_front_ep: endpoint {
> > data-lanes = <1 2>;
>
> I don't mind either way, and I think you can keep the existing R-b tags
> if you add that hunk.
As noticed by Thierry, it will also impact things depending on who
applies this patch and where.
It seems like the headers used appear in linux-next already now that
Sakari has merged them, but this hunk won't apply on
media-committers/next ... so I'll keep it separate until we can let the
dust settle.
--
Kieran
>
> > > Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
> > > ---
> > > arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 3 ++-
> > > arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 3 ++-
> > > arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi | 3 ++-
> > > 3 files changed, 6 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
> > > index f41ad446a39e..e2b7f1bd05ab 100644
> > > --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
> > > +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts
> > > @@ -13,6 +13,7 @@
> > > #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
> > > #include <dt-bindings/leds/common.h>
> > > #include <dt-bindings/media/video-interfaces.h>
> > > +#include <dt-bindings/media/video-interface-devices.h>
> > > #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
> > > #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
> > > #include <dt-bindings/sound/qcom,q6asm.h>
> > > @@ -701,7 +702,7 @@ camera@10 {
> > > pinctrl-0 = <&cam_mclk3_default>;
> > > pinctrl-names = "default";
> > >
> > > - orientation = <0>; /* Front facing */
> > > + orientation = <MEDIA_ORIENTATION_FRONT>;
> > > rotation = <270>;
> > >
> > > port {
> > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
> > > index 218573a97785..3b5f6a29e969 100644
> > > --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
> > > +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
> > > @@ -11,6 +11,7 @@
> > > #include <dt-bindings/input/gpio-keys.h>
> > > #include <dt-bindings/input/input.h>
> > > #include <dt-bindings/leds/common.h>
> > > +#include <dt-bindings/media/video-interface-devices.h>
> > > #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
> > >
> > > #include "sc8280xp.dtsi"
> > > @@ -683,7 +684,7 @@ camera@10 {
> > >
> > > clocks = <&camcc CAMCC_MCLK3_CLK>;
> > >
> > > - orientation = <0>; /* Front facing */
> > > + orientation = <MEDIA_ORIENTATION_FRONT>;
> > >
> > > avdd-supply = <&vreg_l6q>;
> > > dvdd-supply = <&vreg_l2q>;
> > > diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
> > > index b4854801a5f5..7880d85b52fe 100644
> > > --- a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
> > > +++ b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
> > > @@ -9,6 +9,7 @@
> > > #include <dt-bindings/gpio/gpio.h>
> > > #include <dt-bindings/input/input.h>
> > > #include <dt-bindings/leds/common.h>
> > > +#include <dt-bindings/media/video-interface-devices.h>
> > > #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
> > > #include <dt-bindings/power/qcom-rpmpd.h>
> > > #include "sdm670.dtsi"
> > > @@ -460,7 +461,7 @@ camera@1a {
> > > pinctrl-names = "default";
> > >
> > > rotation = <270>;
> > > - orientation = <0>;
> > > + orientation = <MEDIA_ORIENTATION_FRONT>;
> > >
> > > port {
> > > cam_front_endpoint: endpoint {
> > >
>
> --
> Regards,
>
> Laurent Pinchart
next prev parent reply other threads:[~2026-09-18 13:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-18 10:44 [PATCH v6 0/6] dt-bindings: Orientation defines Kieran Bingham
2026-09-18 10:44 ` [PATCH v6 1/6] arm64: dts: freescale: Convert to new media orientation definitions Kieran Bingham
2026-09-18 12:53 ` Thierry Reding
2026-09-18 10:44 ` [PATCH v6 2/6] arm64: dts: qcom: " Kieran Bingham
2026-09-18 11:09 ` Kieran Bingham
2026-09-18 13:20 ` Laurent Pinchart
2026-09-18 13:33 ` Kieran Bingham [this message]
2026-09-18 12:53 ` Thierry Reding
2026-09-18 10:44 ` [PATCH v6 3/6] arm64: dts: renesas: " Kieran Bingham
2026-09-18 12:52 ` Thierry Reding
2026-09-18 10:44 ` [PATCH v6 4/6] arm64: dts: rockchip: " Kieran Bingham
2026-09-18 12:52 ` Thierry Reding
2026-09-18 10:44 ` [PATCH v6 5/6] ARM: tegra: " Kieran Bingham
2026-09-18 12:51 ` Thierry Reding
2026-09-18 18:30 ` Svyatoslav Ryhel
2026-09-18 10:44 ` [PATCH v6 6/6] dt-bindings: media: i2c: himax,hm1246: Use video-interface-devices Kieran Bingham
2026-09-18 12:51 ` Thierry Reding
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=178973841405.1723501.9051265194315500867@ping.linuxembedded.co.uk \
--to=kieran.bingham@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=david@ixit.cz \
--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=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=laurent.pinchart@ideasonboard.com \
--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 \
--cc=vladimir.zapolskiy@linaro.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®