Re: [PATCH 02/24] dt-bindings: media: Add bindings for Arm Mali-C720
From: Laurent Pinchart
Date: Fri Nov 27 2026 - 07:50:04 EST
On Fri, Nov 27, 2026 at 12:32:32PM +0000, Anthony McGivern wrote:
> On 26/11/2026 15:12, Krzysztof Kozlowski wrote:
> > On 26/11/2026 15:55, Anthony McGivern wrote:
> >>>> +
> >>>> + interrupts:
> >>>> + minItems: 1
> >>>
> >>> Why is this flexible?
> >>
> >> The ISP has two interrupts - Main and fault. Currently the driver only
> >
> > If only writing bindings covered exactly such example. :/
> >
> > Hardware has two, so you need here to.
>
> Ok, understood on the part about driver support being independent here,
> I should clarify what I meant to say. This fault interrupt is only
> required for safety applications, and as such some integrations can
> leave this interrupt physically unconnected.
>
> That being said, it looks like in such case the device tree entry can
> use 'interrupts-extended' and set the phandle to <0> for those cases.
> So I will remove minItems here and for 'interrupt-names'.
> Apologies for the confusion on my side.
If SoC can integrate the ISP without the fault interrupt being wired to
the interrupt controller, then "minItems: 1" is correct.
> As a side note, there are some extra signals for a system timer clock
> and video output ports that should be added to these bindings also.
> I will address these in V2.
>
> >> uses the main interrupt, though we may wish to enable the fault
> >> interrupt in the future to detect errors on HW side. I will update
> >> this in V2 to use descriptions for each interrupt.
> >>
> >>>> + items:
> >>>> + - description: ISP main interrupt
> >>>> + - description: ISP fault interrupt
> >>>> +
> >>>> + interrupt-names:
> >>>> + minItems: 1
> >
> > And please drop minItems here as well
>
> Agreed
>
> >>>> + items:
> >>>> + - const: isp
> >>>> + - const: fault
> >>>> +
--
Regards,
Laurent Pinchart