summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/unittest.txt
diff options
context:
space:
mode:
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>2014-10-28 22:35:59 +0200
committerGrant Likely <grant.likely@linaro.org>2014-11-24 22:25:13 +0000
commit177d271cf3171bb6826ee5189f67dc1f7d34f1da (patch)
tree05e92739348fcd566c6a602070485766fcd0cb49 /Documentation/devicetree/bindings/unittest.txt
parent7518b5890d8ac366faa2326ce2356ef6392ce63d (diff)
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/devicetree/bindings/unittest.txt')
-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";
+ };