RE: [PATCH 4/5] media: dt-bindings: add NXP i.MX95 compatible string

G.N. Zhou (OSS)
2026-04-15T09:21:50Z

Hi Krzysztof Kozlowski

Thanks for your review.

> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@kernel.org>
> Sent: Wednesday, April 15, 2026 4:10 PM
> To: G.N. Zhou (OSS) <guoniu.zhou@oss.nxp.com>
> Cc: Michael Riesch <michael.riesch@collabora.com>; Mauro Carvalho Chehab
> <mchehab@kernel.org>; Rob Herring <robh@kernel.org>; Krzysztof Kozlowski
> <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>; Heiko Stuebner
> <heiko@sntech.de>; Laurent Pinchart <laurent.pinchart@ideasonboard.com>;
> Frank Li <frank.li@nxp.com>; linux-media@vger.kernel.org; linux-
> kernel@vger.kernel.org; devicetree@vger.kernel.org; imx@lists.linux.dev; linux-
> arm-kernel@lists.infradead.org; linux-rockchip@lists.infradead.org
> Subject: Re: [PATCH 4/5] media: dt-bindings: add NXP i.MX95 compatible string
>
> On Wed, Apr 15, 2026 at 11:46:55AM +0800, Guoniu Zhou wrote:
> > The i.MX95 CSI-2 controller is nearly identical to i.MX93, with the
> > only difference being the use of IDI (Image Data Interface) instead of
> > IPI (Image Pixel Interface). The binding constraints are otherwise the
> > same.
>
> Nearly identical with some difference really, really suggests they are
> compatible. Express compatibility or explain why they are not compatible
> (difference between IDI and IPI unfortunately does not help me).

You're right that they are very similar. The key difference between IDI and IPI
is in the software interface:

- IPI (Image Pixel Interface) on i.MX93 requires software configuration through
a set of registers to enable the interface and configure data routing.

- IDI (Image Data Interface) on i.MX95 is software transparent - it requires no
register configuration and the data routing is handled automatically by hardware.

Because of this difference in register layout and initialization requirements,
they cannot share the same compatible string. The driver needs to know which
interface is present

>
> Best regards,
> Krzysztof