diff options
author | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | 2014-10-28 22:35:59 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-11-24 22:25:13 +0000 |
commit | 177d271cf3171bb6826ee5189f67dc1f7d34f1da (patch) | |
tree | 05e92739348fcd566c6a602070485766fcd0cb49 /drivers/of/unittest-data/testcases.dts | |
parent | 7518b5890d8ac366faa2326ce2356ef6392ce63d (diff) | |
download | op-kernel-dev-177d271cf3171bb6826ee5189f67dc1f7d34f1da.zip op-kernel-dev-177d271cf3171bb6826ee5189f67dc1f7d34f1da.tar.gz |
of/overlay: Add overlay unittests
Add unittests for OF overlays.
It tests overlay device addition/removal and whether
the apply revert sequence is correct.
Changes since V1:
* Added local fixups entries.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/unittest-data/testcases.dts')
-rw-r--r-- | drivers/of/unittest-data/testcases.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/of/unittest-data/testcases.dts b/drivers/of/unittest-data/testcases.dts index b6bc41b..12f7c3d 100644 --- a/drivers/of/unittest-data/testcases.dts +++ b/drivers/of/unittest-data/testcases.dts @@ -13,6 +13,7 @@ #include "tests-interrupts.dtsi" #include "tests-match.dtsi" #include "tests-platform.dtsi" +#include "tests-overlay.dtsi" /* * phandle fixup data - generated by dtc patches that aren't upstream. @@ -59,5 +60,20 @@ testcase-device2 { interrupt-parent = <0x00000000>; }; + overlay2 { + fragment@0 { + target = <0x00000000>; + }; + }; + overlay3 { + fragment@0 { + target = <0x00000000>; + }; + }; + overlay4 { + fragment@0 { + target = <0x00000000>; + }; + }; }; }; }; |