Re: [PATCH 1/2] dt-bindings: edac: Add DT bindings for Kryo EDAC

From: Sai Prakash Ranjan
Date: Thu Dec 19 2019 - 09:48:53 EST


On 2019-12-19 19:28, Rob Herring wrote:
> Is that your intent?
>

No, I want any combination of interrupts to be valid with atleast one
interrupt as mandatory.
I thought specifying minItems as 1 and maxItems as 4 will take care of
this, am I doing something wrong?

Interrupts (really all properties) have a defined order in DT and an
'items' list defines both the order and index. You'll need to use
oneOf and list out the possibilities. Stick to ones you actually need.


Thanks, I will make the change in the next spin.

-Sai

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation