Many common bindings follow the same pattern of client properties
containing a phandle and N arg cells where N is defined in the provider
with a '#<specifier>-cells' property such as:
intc0: interrupt-controller@0 {
#interrupt-cells = <3>;
};
intc1: interrupt-controller@1 {
#interrupt-cells = <2>;
};
node {
interrupts-extended = <&intc0 1 2 3>, <&intc1 4 5>;
};
Add checks for properties following this pattern.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
12 lines
124 B
Plaintext
12 lines
124 B
Plaintext
/dts-v1/;
|
|
|
|
/ {
|
|
intc: interrupt-controller {
|
|
#interrupt-cells = <3>;
|
|
};
|
|
|
|
node {
|
|
interrupts-extended = <&intc>;
|
|
};
|
|
};
|