summaryrefslogtreecommitdiffstats
path: root/drivers/of/testcase-data
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-04-24 00:57:40 +0200
committerGrant Likely <grant.likely@linaro.org>2014-04-24 17:58:55 +0200
commit82c0f5897a8708dbf7abe08e49efd9a4a8d8cd3a (patch)
tree5705e23e0fa84ddf98681769b8c56a10cf68dd78 /drivers/of/testcase-data
parentdt: Fix binding typos in clock-names and interrupt-names (diff)
downloadlinux-82c0f5897a8708dbf7abe08e49efd9a4a8d8cd3a.tar.xz
linux-82c0f5897a8708dbf7abe08e49efd9a4a8d8cd3a.zip
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 */
+ };
};
+
};