summaryrefslogtreecommitdiff
path: root/drivers/of/testcase-data
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-04-23 17:57:40 -0500
committerGrant Likely <grant.likely@linaro.org>2014-04-24 16:58:55 +0100
commit82c0f5897a8708dbf7abe08e49efd9a4a8d8cd3a (patch)
tree5705e23e0fa84ddf98681769b8c56a10cf68dd78 /drivers/of/testcase-data
parentae107d06137ce210ea21d1423443d3638599f297 (diff)
of: selftest: add deferred probe interrupt test
Signed-off-by: Rob Herring <robh@kernel.org> [grant.likely: fixed failure when root node specifies the interrupt parent] Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of/testcase-data')
-rw-r--r--drivers/of/testcase-data/tests-interrupts.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/of/testcase-data/tests-interrupts.dtsi b/drivers/of/testcase-data/tests-interrupts.dtsi
index c843720bd3e5..da4695f60351 100644
--- a/drivers/of/testcase-data/tests-interrupts.dtsi
+++ b/drivers/of/testcase-data/tests-interrupts.dtsi
@@ -54,5 +54,18 @@
<&test_intmap1 1 2>;
};
};
+
+ testcase-device1 {
+ compatible = "testcase-device";
+ interrupt-parent = <&test_intc0>;
+ interrupts = <1>;
+ };
+
+ testcase-device2 {
+ compatible = "testcase-device";
+ interrupt-parent = <&test_intc2>;
+ interrupts = <1>; /* invalid specifier - too short */
+ };
};
+
};