diff options
author | Rob Herring <robh@kernel.org> | 2017-11-16 12:37:09 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-11-16 13:43:12 -0500 |
commit | f5525593c6142ebafba2ea83d86c6bb2994d7ddd (patch) | |
tree | 438b8d8470f8061e3a55bec98903eb9e2aa02394 | |
parent | f877918cdd793373fb7a960c72ba3639786e8e8f (diff) |
of: unittest: let dtc generate __local_fixups__
Remove the manually added __local_fixups__ because dtc can now generate
them. This also fixes a new warning in the process:
drivers/of/unittest-data/testcases.dtb: Warning (interrupts_extended_property): Could not get phandle node for /__local_fixups__/testcase-data/interrupts/interrupts-extended0:interrupts-extended(cell 3)
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | drivers/of/unittest-data/testcases.dts | 65 |
1 files changed, 2 insertions, 63 deletions
diff --git a/drivers/of/unittest-data/testcases.dts b/drivers/of/unittest-data/testcases.dts index 12f7c3d649c8..50b4d0d35aa0 100644 --- a/drivers/of/unittest-data/testcases.dts +++ b/drivers/of/unittest-data/testcases.dts | |||
@@ -1,4 +1,6 @@ | |||
1 | /dts-v1/; | 1 | /dts-v1/; |
2 | /plugin/; | ||
3 | |||
2 | / { | 4 | / { |
3 | testcase-data { | 5 | testcase-data { |
4 | changeset { | 6 | changeset { |
@@ -14,66 +16,3 @@ | |||
14 | #include "tests-match.dtsi" | 16 | #include "tests-match.dtsi" |
15 | #include "tests-platform.dtsi" | 17 | #include "tests-platform.dtsi" |
16 | #include "tests-overlay.dtsi" | 18 | #include "tests-overlay.dtsi" |
17 | |||
18 | /* | ||
19 | * phandle fixup data - generated by dtc patches that aren't upstream. | ||
20 | * This data must be regenerated whenever phandle references are modified in | ||
21 | * the testdata tree. | ||
22 | * | ||
23 | * The format of this data may be subject to change. For the time being consider | ||
24 | * this a kernel-internal data format. | ||
25 | */ | ||
26 | / { __local_fixups__ { | ||
27 | testcase-data { | ||
28 | phandle-tests { | ||
29 | consumer-a { | ||
30 | phandle-list = <0x00000000 0x00000008 | ||
31 | 0x00000018 0x00000028 | ||
32 | 0x00000034 0x00000038>; | ||
33 | phandle-list-bad-args = <0x00000000 0x0000000c>; | ||
34 | }; | ||
35 | }; | ||
36 | interrupts { | ||
37 | intmap0 { | ||
38 | interrupt-map = <0x00000004 0x00000010 | ||
39 | 0x00000024 0x00000034>; | ||
40 | }; | ||
41 | intmap1 { | ||
42 | interrupt-map = <0x0000000c>; | ||
43 | }; | ||
44 | interrupts0 { | ||
45 | interrupt-parent = <0x00000000>; | ||
46 | }; | ||
47 | interrupts1 { | ||
48 | interrupt-parent = <0x00000000>; | ||
49 | }; | ||
50 | interrupts-extended0 { | ||
51 | interrupts-extended = <0x00000000 0x00000008 | ||
52 | 0x00000018 0x00000024 | ||
53 | 0x0000002c 0x00000034 | ||
54 | 0x0000003c>; | ||
55 | }; | ||
56 | }; | ||
57 | testcase-device1 { | ||
58 | interrupt-parent = <0x00000000>; | ||
59 | }; | ||
60 | testcase-device2 { | ||
61 | interrupt-parent = <0x00000000>; | ||
62 | }; | ||
63 | overlay2 { | ||
64 | fragment@0 { | ||
65 | target = <0x00000000>; | ||
66 | }; | ||
67 | }; | ||
68 | overlay3 { | ||
69 | fragment@0 { | ||
70 | target = <0x00000000>; | ||
71 | }; | ||
72 | }; | ||
73 | overlay4 { | ||
74 | fragment@0 { | ||
75 | target = <0x00000000>; | ||
76 | }; | ||
77 | }; | ||
78 | }; | ||
79 | }; }; | ||