Searched refs:unittest (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/Documentation/devicetree/bindings/ |
D | unittest.txt | 1 1) OF unittest platform device 3 ** unittest 6 - compatible: must be "unittest" 11 unittest { 12 compatible = "unittest"; 15 2) OF unittest i2c adapter platform device 17 ** platform device unittest adapter 20 - compatible: must be unittest-i2c-bus 22 Children nodes contain unittest i2c devices. 25 unittest-i2c-bus { [all …]
|
/Linux-v4.19/drivers/of/ |
D | unittest.c | 36 #define unittest(result, fmt, ...) ({ \ macro 55 unittest(np && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name() 62 unittest(!np, "trailing '/' on /testcase-data/ should fail\n"); in of_unittest_find_node_by_name() 66 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", name), in of_unittest_find_node_by_name() 73 unittest(np && !strcmp("/testcase-data", name), in of_unittest_find_node_by_name() 80 unittest(!np, "trailing '/' on testcase-alias/ should fail\n"); in of_unittest_find_node_by_name() 84 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", name), in of_unittest_find_node_by_name() 90 unittest(!np, "non-existent path returned node %pOF\n", np); in of_unittest_find_node_by_name() 94 unittest(!np, "non-existent alias returned node %pOF\n", np); in of_unittest_find_node_by_name() 98 unittest(!np, "non-existent alias with relative path returned node %pOF\n", np); in of_unittest_find_node_by_name() [all …]
|
D | Makefile | 11 obj-$(CONFIG_OF_UNITTEST) += unittest.o 18 obj-$(CONFIG_OF_UNITTEST) += unittest-data/
|
/Linux-v4.19/drivers/of/unittest-data/ |
D | tests-overlay.dtsi | 14 compatible = "unittest"; 20 compatible = "unittest"; 26 compatible = "unittest"; 32 compatible = "unittest"; 38 compatible = "unittest"; 44 compatible = "unittest"; 50 compatible = "unittest"; 56 compatible = "unittest"; 62 compatible = "unittest"; 68 compatible = "unittest"; [all …]
|
D | overlay_10.dts | 14 compatible = "unittest"; 22 compatible = "unittest";
|
D | overlay_11.dts | 14 compatible = "unittest"; 22 compatible = "unittest";
|
D | overlay_15.dts | 12 compatible = "unittest-i2c-mux"; 25 compatible = "unittest-i2c-dev";
|
D | overlay_4.dts | 14 compatible = "unittest";
|
/Linux-v4.19/Documentation/devicetree/ |
D | of_unittest.txt | 8 This document explains how the test data required for executing OF unittest 25 The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains 27 drivers/of/unittest.c. Currently, following Device Tree Source Include files 30 drivers/of/unittest-data/tests-interrupts.dtsi 31 drivers/of/unittest-data/tests-platform.dtsi 32 drivers/of/unittest-data/tests-phandle.dtsi 33 drivers/of/unittest-data/tests-match.dtsi 101 Before executing OF unittest, it is required to attach the test data to
|