Browse Source
Add a number of tests for dynamic objects/overlays. Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
Pantelis Antoniou
8 years ago
committed by
David Gibson
4 changed files with 64 additions and 0 deletions
@ -0,0 +1,22 @@
@@ -0,0 +1,22 @@
|
||||
/* |
||||
* Copyright (c) 2016 Konsulko Inc. |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
/dts-v1/; |
||||
|
||||
/ { |
||||
test: test-node { |
||||
test-int-property = <42>; |
||||
test-str-property = "foo"; |
||||
|
||||
subtest: sub-test-node { |
||||
sub-test-property; |
||||
}; |
||||
}; |
||||
|
||||
ref { |
||||
local-ref = <&test &subtest>; |
||||
}; |
||||
}; |
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
/* |
||||
* Copyright (c) 2016 Konsulko Inc. |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
/dts-v1/; |
||||
/plugin/; |
||||
|
||||
&test { |
||||
test-int-property = <43>; |
||||
}; |
Loading…
Reference in new issue