aboutsummaryrefslogtreecommitdiff
path: root/drivers/of/unittest-data/testcases.dts
diff options
context:
space:
mode:
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>2014-10-28 22:35:59 +0200
committerMark Brown <broonie@kernel.org>2015-02-20 23:44:43 +0900
commitd213317747118305fea775fcfc72a533b11b15bd (patch)
tree8455d028b77f70cdc83bfe09a82b33b2fc120567 /drivers/of/unittest-data/testcases.dts
parentf01c984756914ac778cddab9bb0954a6f454fd12 (diff)
downloadlinux-linaro-stable-d213317747118305fea775fcfc72a533b11b15bd.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> (cherry picked from commit 177d271cf3171bb6826ee5189f67dc1f7d34f1da) Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/of/unittest-data/testcases.dts')
-rw-r--r--drivers/of/unittest-data/testcases.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/of/unittest-data/testcases.dts b/drivers/of/unittest-data/testcases.dts
index 6ed76ca115a5..d26b96a87e8f 100644
--- a/drivers/of/unittest-data/testcases.dts
+++ b/drivers/of/unittest-data/testcases.dts
@@ -3,6 +3,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.
@@ -49,5 +50,20 @@
testcase-device2 {
interrupt-parent = <0x00000000>;
};
+ overlay2 {
+ fragment@0 {
+ target = <0x00000000>;
+ };
+ };
+ overlay3 {
+ fragment@0 {
+ target = <0x00000000>;
+ };
+ };
+ overlay4 {
+ fragment@0 {
+ target = <0x00000000>;
+ };
+ };
};
}; };