From: Frank Li <Frank.li@oss.nxp.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
Sakari Ailus <sakari.ailus@iki.fi>, Frank Li <Frank.Li@nxp.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
imx@lists.linux.dev
Subject: Re: [PATCH v3 6/7] ARM: dts: nxp: imx6qdl-pico: Replace clock-frequency in camera sensor node
Date: Fri, 4 Sep 2026 09:28:09 -0500 [thread overview]
Message-ID: <aprVea-DJpPYEYkJ@SMW015318> (raw)
In-Reply-To: <20260904142238.GB795906@killaraus.ideasonboard.com>
On Fri, Sep 04, 2026 at 05:22:38PM +0300, Laurent Pinchart wrote:
> Hi Frank,
>
> On Tue, Aug 11, 2026 at 11:51:00AM -0500, Frank Li wrote:
> > On Mon, Aug 10, 2026 at 10:08:00PM +0300, Laurent Pinchart wrote:
> > > On Mon, Aug 10, 2026 at 01:55:41PM -0500, Frank Li wrote:
> > > > On Mon, Aug 10, 2026 at 09:06:03PM +0300, Laurent Pinchart wrote:
> > > > > The clock-frequency for camera sensors has been deprecated in favour of
> > > > > the assigned-clocks and assigned-clock-rates properties. Replace it in
> > > > > the device tree.
> > > >
> > > > Remove "clock-frequency" may break back compatiblity.
> > > >
> > > > A similar case
> > > > https://lore.kernel.org/imx/20d37ab7-308e-4f07-96dc-7ae011af76d0@kernel.org/
> > > > https://lore.kernel.org/imx/20260404-thoughtful-placid-boobook-da26da@quoll/
> > > >
> > > > Need provide judgement in commit message about impact of break ABI.
> > >
> > > What ABI breakage ? The latest kernel supports the updated bindings
> > > (merged in commit aa1826696a55 ("dt-bindings: media: Deprecate
> > > clock-frequency property for camera sensors") in v6.18).
> >
> > Dts now not only use by kenrel. such as uboot may use the same dts file.
> >
> > uboot may still use "clock-frequency". but uboot unlikely use camera. for
> > this case, just need mention at commit message
> >
> > "lock-frequency property for camera sensor have deprecated since
> > ("dt-bindings: media: Deprecate clock-frequency property for camera
> > sensors") in v6.18, no known other user like (uboot) use it. So drop
> > it safely"
>
> How about the following ?
>
> ----
> The clock-frequency for camera sensors has been deprecated in favour of
> the assigned-clocks and assigned-clock-rates properties since commit
> aa1826696a55 ("dt-bindings: media: Deprecate clock-frequency property
> for camera sensors") in v6.18. The Linux kernel ov5645 driver has been
> handling the deprecated property as optional since the same kernel
> version.
>
> Replace the property in the device tree. There are no known users of the
> property outside of the Linux kernel. In particular, U-Boot doesn't
> operate the camera. Switching to the new bindings will therefore not
> introduce any breakage.
> ----
>
> If that's fine with you, can you please update the commit message when
> taking the patch ?
Yes, thanks
Frank
>
> > > > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > > > > ---
> > > > > Changes since v1:
> > > > >
> > > > > - Drop added blank line
> > > > > ---
> > > > > arch/arm/boot/dts/nxp/imx/imx6qdl-pico.dtsi | 4 +++-
> > > > > 1 file changed, 3 insertions(+), 1 deletion(-)
> > > > >
> > > > > diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-pico.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-pico.dtsi
> > > > > index ca4cb986efbc..0cc05d084f9b 100644
> > > > > --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-pico.dtsi
> > > > > +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-pico.dtsi
> > > > > @@ -233,7 +233,9 @@ camera@3c {
> > > > > pinctrl-0 = <&pinctrl_ov5645>;
> > > > > reg = <0x3c>;
> > > > > clocks = <&clks IMX6QDL_CLK_CKO2>;
> > > > > - clock-frequency = <24000000>;
> > > > > + assigned-clocks = <&clks IMX6QDL_CLK_CKO2>;
> > > > > + assigned-clock-rates = <24000000>;
> > > > > +
> > > > > vdddo-supply = <®_1p8v>;
> > > > > vdda-supply = <®_2p8v>;
> > > > > vddd-supply = <®_1p5v>;
>
> --
> Regards,
>
> Laurent Pinchart
next prev parent reply other threads:[~2026-09-04 14:28 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-10 18:05 [PATCH v3 0/7] ARM: dts: Replace clock-frequency in camera sensor nodes Laurent Pinchart
2026-08-10 18:05 ` [PATCH v3 1/7] ARM: dts: samsung: exynos4210-i9100: Replace clock-frequency in camera sensor node Laurent Pinchart
2026-08-10 18:05 ` [PATCH v3 2/7] ARM: dts: samsung: exynos4412-midas: " Laurent Pinchart
2026-08-10 18:06 ` [PATCH v3 3/7] ARM: dts: ti: omap3-n950: " Laurent Pinchart
2026-08-11 18:31 ` Aaro Koskinen
2026-08-10 18:06 ` [PATCH v3 4/7] ARM: dts: ti: omap3-n9: " Laurent Pinchart
2026-08-11 18:32 ` Aaro Koskinen
2026-08-10 18:06 ` [PATCH v3 5/7] ARM: dts: ti: omap3-n900: " Laurent Pinchart
2026-08-11 18:32 ` Aaro Koskinen
2026-08-10 18:06 ` [PATCH v3 6/7] ARM: dts: nxp: imx6qdl-pico: " Laurent Pinchart
2026-08-10 18:11 ` sashiko-bot
2026-08-10 18:55 ` Frank Li
2026-08-10 19:08 ` Laurent Pinchart
2026-08-11 16:51 ` Frank Li
2026-09-04 14:22 ` Laurent Pinchart
2026-09-04 14:28 ` Frank Li [this message]
2026-08-10 18:06 ` [PATCH v3 7/7] ARM: dts: nxp: imx6qdl-wandboard: " Laurent Pinchart
2026-08-10 18:11 ` sashiko-bot
2026-08-31 18:11 ` (subset) [PATCH v3 0/7] ARM: dts: Replace clock-frequency in camera sensor nodes Kevin Hilman
2026-09-04 13:54 ` Krzysztof Kozlowski
2026-09-04 14:38 ` Frank.Li
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=aprVea-DJpPYEYkJ@SMW015318 \
--to=frank.li@oss.nxp.com \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=jacopo.mondi@ideasonboard.com \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sakari.ailus@iki.fi \
/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