summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>2014-10-28 23:35:59 +0300
committerGrant Likely <grant.likely@linaro.org>2014-11-25 01:25:13 +0300
commit177d271cf3171bb6826ee5189f67dc1f7d34f1da (patch)
tree05e92739348fcd566c6a602070485766fcd0cb49 /Documentation
parent7518b5890d8ac366faa2326ce2356ef6392ce63d (diff)
downloadlinux-177d271cf3171bb6826ee5189f67dc1f7d34f1da.tar.xz
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 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/unittest.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/unittest.txt b/Documentation/devicetree/bindings/unittest.txt
new file mode 100644
index 000000000000..0f92a22fddfa
--- /dev/null
+++ b/Documentation/devicetree/bindings/unittest.txt
@@ -0,0 +1,14 @@
+* OF selftest platform device
+
+** selftest
+
+Required properties:
+- compatible: must be "selftest"
+
+All other properties are optional.
+
+Example:
+ selftest {
+ compatible = "selftest";
+ status = "okay";
+ };