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

Conor Dooley conor at kernel.org
Tue Feb 13 11:13:57 PST 2024


On Tue, Feb 13, 2024 at 04:23:36AM +0000, Dharma.B at microchip.com wrote:
> On 12/02/24 7:38 pm, Rob Herring wrote:
> > On Fri, Feb 09, 2024 at 03:31:22PM +0530, Dharma Balasubiramani wrote:
> >> +  atmel,external-irqs:
> >> +    $ref: /schemas/types.yaml#/definitions/uint32-array
> >> +    description: u32 array of external irqs.
> > 
> > Constraints on the array size and/or entry values?
> 
> The hardware's support for external IRQs may differ, which is why a u32 
> array is utilized. This choice is based on the fact that IRQ numbers are 
> commonly expressed as integers, and a 32-bit unsigned integer provides a 
> standardized size capable of representing a broad range of numbers. This 
> size is more than adequate for accommodating IRQ numbering.

I don't think Rob was questioning your use of u32s, but rather the fact
that you do not limit the values at all nor the number of values.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240213/9c7c1fe0/attachment.sig>


More information about the linux-arm-kernel mailing list