Re: [PATCH v4 09/10] dt-bindings: PCI: qcom,pcie-sc7280: Add 'global' interrupt

From: Manivannan Sadhasivam
Date: Wed Feb 26 2025 - 22:49:15 EST


On Thu, Feb 27, 2025 at 09:09:38AM +0530, Krishna Chaitanya Chundru wrote:
>
>
> On 2/27/2025 3:03 AM, Krzysztof Kozlowski wrote:
> > On 26/02/2025 17:29, Bjorn Andersson wrote:
> > > > > @@ -54,7 +54,7 @@ properties:
> > > > > interrupts:
> > > > > minItems: 8
> > > > > - maxItems: 8
> > > > > + maxItems: 9
> > > > > interrupt-names:
> > > > > items:
> > > > > @@ -66,6 +66,7 @@ properties:
> > > > > - const: msi5
> > > > > - const: msi6
> > > > > - const: msi7
> > > > > + - const: global
> > > >
> > > > Either context is missing or these are not synced with interrupts.
> > > >
> > >
> > > I think the patch context ("properties") is confusing here, but it looks
> > > to me that these are in sync: interrupts is defined to have 8 items, and
> > > interrupt-names is a list of msi0 through msi7.
> >
> > interrupt-names has minItems 9 in this case, so they are not synced.
> > That's my concern
> >
> Ok I will update the minItems to 9 as suggested.
>

You got it backwards. interrupt-names should have minItems as 8. Otherwise, old
DTS will break.

- Mani

--
மணிவண்ணன் சதாசிவம்