platform_external_dtc/tests/bad-string-props.dts
Rob Herring 18a3d84bb8 checks: add string list check for *-names properties
Add a string list check for common properties ending in "-names" such as
reg-names or interrupt-names.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-12-13 20:27:36 +11:00

14 lines
196 B
Text

/dts-v1/;
/ {
device_type = <0xdeadbeef>;
model = <0xdeadbeef>;
status = <0xdeadbeef>;
label = <0xdeadbeef>;
foobar-names = "foo", <1>;
node {
compatible = "good", <0xdeadbeef>;
};
};