Browse Source
The newly introduced /omit-if-no-ref/ needs a few test cases, make sure to test them. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
Maxime Ripard
7 years ago
committed by
David Gibson
2 changed files with 33 additions and 0 deletions
@ -0,0 +1,26 @@ |
|||||||
|
/dts-v1/; |
||||||
|
|
||||||
|
/ { |
||||||
|
test-phandle = <&node3>; |
||||||
|
test-path = &node4; |
||||||
|
|
||||||
|
/omit-if-no-ref/ node1: node1 { |
||||||
|
bar = <0xdeadbeef>; |
||||||
|
}; |
||||||
|
|
||||||
|
node2: node2 { |
||||||
|
foo = <0x42>; |
||||||
|
}; |
||||||
|
|
||||||
|
node3: node3 { |
||||||
|
test = "test"; |
||||||
|
}; |
||||||
|
|
||||||
|
node4: node4 { |
||||||
|
test; |
||||||
|
}; |
||||||
|
}; |
||||||
|
|
||||||
|
/omit-if-no-ref/ &node2; |
||||||
|
/omit-if-no-ref/ &node3; |
||||||
|
/omit-if-no-ref/ &node4; |
Loading…
Reference in new issue