Re: [PATCH v4 1/2] dt-bindings: clock: xilinx: add description of user monitor interrupt

From: Harry Austen

Date: Sat Feb 14 2026 - 16:09:26 EST


On Saturday, 14 February 2026 at 20:59, Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:

> On 14/02/2026 21:57, Harry Austen wrote:
> >>>
> >>> + interrupts:
> >>> + items:
> >>> + - description: user clock monitor interrupt
> >>> +
> >>> + interrupt-names:
> >>> + items:
> >>> + - const: monitor
> >>> +
> >>> xlnx,static-config:
> >>> $ref: /schemas/types.yaml#/definitions/flag
> >>> description:
> >>> @@ -66,12 +74,24 @@ required:
> >>> - xlnx,speed-grade
> >>> - xlnx,nr-outputs
> >>>
> >>> +if:
> >>
> >> Why isn't this in allOf? Code is fine, but why changing it?
> >
> > There is only a single if condition, so the allOf is not required. Removed
> > for simplicity and reduced indentation.
> >
>
> Heh, you might need to add it soon re-indenting everything on adding
> just one more if, so for me that was wrong choice. And you got a review :/

Very fair points. Agreed, it was definitely the wrong thing to do. Not sure
what I was thinking. Do you think it is okay as is, or would you like me to
add the allOf back again?

>
> Best regards,
> Krzysztof
>

Thanks again,
Harry