Re: [PATCH] dt-bindings: interrupt-controller: Convert Atmel AIC to json-schema

From: Conor Dooley
Date: Fri Feb 09 2024 - 04:41:40 EST


On Thu, Feb 08, 2024 at 11:10:32PM +0000, Conor Dooley wrote:
> On Thu, Feb 08, 2024 at 02:50:15PM +0530, Dharma Balasubiramani wrote:
> > + "#interrupt-cells":
> > + const: 3
> > + description: |
> > + The 1st cell is the IRQ number (Peripheral IDentifier on datasheet).
> > + The 2nd cell specifies flags:
> > + bits[3:0] trigger type and level flags:
> > + 1 = low-to-high edge triggered.
> > + 2 = high-to-low edge triggered.
> > + 4 = active high level-sensitive.
> > + 8 = active low level-sensitive.
> > + Valid combinations: 1, 2, 3, 4, 8.
>
> Shame that these are not aligned with the IRQ_TYPE defines :(

Dharma pointed out to me that these are the same and I just looked at
the wrong header file.

Attachment: signature.asc
Description: PGP signature