Re: [PATCH v2 1/3] media: dt-bindings: nxp,imx8-isi: Add i.MX95 ISI compatible string
From: Krzysztof Kozlowski
Date: Tue Nov 04 2025 - 04:59:29 EST
On Tue, Nov 04, 2025 at 11:21:05AM +0800, Guoniu Zhou wrote:
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: fsl,imx95-isi
> + then:
> + properties:
> + interrupts:
> + minItems: 8
> + ports:
> + properties:
> + port@0:
> + description: Pixel Link Slave 0
> + port@1:
> + description: Pixel Link Slave 1
> + port@2:
> + description: MIPI CSI-2 RX 0
> + port@3:
> + description: MIPI CSI-2 RX 1
> + required:
> + - port@2
> + - port@3
> + else:
Drop the else and instead add if:then: blocks per each variant where you
correctly constrain the interrupts.
Best regards,
Krzysztof