From: Andrew Davis <afd@ti.com>
To: Nishanth Menon <nm@ti.com>, Jai Luthra <jai.luthra@ideasonboard.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>,
Tero Kristo <kristo@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Robert Nelson <robertcnelson@gmail.com>,
Devarsh Thakkar <devarsht@ti.com>,
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
<linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 3/4] arm64: dts: ti: k3-am67a-beagley-ai: Add overlay for IMX219 on CSI0
Date: Thu, 4 Jun 2026 08:29:41 -0500 [thread overview]
Message-ID: <203d82b2-216e-4f5d-aa3d-f653228d397a@ti.com> (raw)
In-Reply-To: <20260529150119.dqzzruc7xqliftwp@bullhorn>
On 5/29/26 10:01 AM, Nishanth Menon wrote:
> On 06:46-20260515, Jai Luthra wrote:
>> RPi v2 Camera (IMX219) is an 8MP camera that can be used with BeagleY AI
>> through the 22-pin CSI-RX connectors. Add a DT overlay to enable use of
>> this camera sensor through the CSI0 connector.
>>
>> Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
>> ---
>> arch/arm64/boot/dts/ti/Makefile | 4 +
>> .../dts/ti/k3-am67a-beagley-ai-csi0-imx219.dtso | 121 +++++++++++++++++++++
>
> Oh man..
> https://lore.kernel.org/linux-arm-kernel/20240702164403.29067-1-afd@ti.com/
> comes to memory.. Afd - what ever happened to that?
>
Good question, others have taken over the torch for the most part. Nice
little talk[0] I found on some current status updates for the topic.
They even mention my little proof of concept around the 19min mark :D but
kinda just dismiss it as it doesn't support hotplug, which is a requirement
for their usecase. But my solution doesn't support hotplug because DT
doesn't support hotplug. And to add that kind of support to DT they are
pushing to change the DTC[1], the FDT format[2] (which hasn't changed in 19
years and is the basis for claiming DT is a firmware/"ABI"), and make an
alternative to DT overlays called "addon DTs"..
What I proposed was something that can work today without any changes
to existing DT infra. My only goal being to prevent needless duplication
in overlays like we see here where you have a new overlay for each
connector the device could be connected to. Just look at our evil vendor
tree to see what this problem can look like, go here[3] and search "fpdlink".
We have 14(!) overlays for just one camera sensor (IMX390) with the only
difference between each being a single line to select the FPD-Link port
where the sensor is connected.
Jai, I see you have already posted v3 of this series, but could you take
a look at what I've proposed here[4] and see if this could be used to make
a single IMX219 overlay that would work for both CSI ports? If you can
pull that off then we avoid the combinatorial explosion of an overlay
for each port on each board for each camera sensor.
Andrew
[0] https://www.youtube.com/watch?v=C8dEQ4OzMnc
[1] https://lore.kernel.org/devicetree-compiler/20260112142009.1006236-1-herve.codina@bootlin.com/
[2] https://lore.kernel.org/devicetree-compiler/20260409115426.352214-1-herve.codina@bootlin.com/
[3] https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti?h=ti-linux-6.18.y
[4] https://lore.kernel.org/linux-arm-kernel/20240702164403.29067-1-afd@ti.com/
> other than the dsi mux, painful to see so much duplication..
>
> Other than that, there is the previous comment (ordering etc, repeated
> here). I also suggest people put the url of the board/part that the
> overlay is supposed to refer to when creating overlays.. at least, some
> sort of canonical link so folks are'nt confused in a future date.
>
>
next prev parent reply other threads:[~2026-06-04 13:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-15 1:16 [PATCH v2 0/4] arm64: dts: ti: BeagleY-AI camera overlays Jai Luthra
2026-05-15 1:16 ` [PATCH v2 1/4] arm64: dts: ti: k3-am67a-beagley-ai: Add I2C2 pinctrl Jai Luthra
2026-05-29 14:41 ` Nishanth Menon
2026-05-30 10:15 ` Jai Luthra
2026-05-15 1:16 ` [PATCH v2 2/4] arm64: dts: ti: k3-am67a-beagley-ai: Add DSI0/CSI1 mux Jai Luthra
2026-05-31 9:42 ` Rishikesh Donadkar
2026-05-15 1:16 ` [PATCH v2 3/4] arm64: dts: ti: k3-am67a-beagley-ai: Add overlay for IMX219 on CSI0 Jai Luthra
2026-05-29 14:49 ` Nishanth Menon
2026-05-30 10:27 ` Jai Luthra
2026-05-29 15:01 ` Nishanth Menon
2026-05-30 10:24 ` Jai Luthra
2026-06-04 13:29 ` Andrew Davis [this message]
2026-05-15 1:16 ` [PATCH v2 4/4] arm64: dts: ti: k3-am67a-beagley-ai: Add overlay for IMX219 on CSI1 Jai Luthra
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=203d82b2-216e-4f5d-aa3d-f653228d397a@ti.com \
--to=afd@ti.com \
--cc=conor+dt@kernel.org \
--cc=devarsht@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=jai.luthra@ideasonboard.com \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=robertcnelson@gmail.com \
--cc=robh@kernel.org \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=vigneshr@ti.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