diff options
author | Frank Rowand <frank.rowand@sony.com> | 2022-10-24 20:34:30 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-10-26 17:02:28 +0300 |
commit | e87cacadebaf3c03584fbfb540303301cd2c2cbc (patch) | |
tree | 5fcc9136166a4cfc845c0ffd4b0d5ccfca3af95a /drivers/of/unittest-data/testcases.dtso | |
parent | 941214a512d8c80d47e720c17ec17e8539175e93 (diff) | |
download | linux-e87cacadebaf3c03584fbfb540303301cd2c2cbc.tar.xz |
of: overlay: rename overlay source files from .dts to .dtso
In drivers/of/unittest-data/:
- Rename .dts overlay source files to use .dtso suffix.
Modify driver/of/unitest.c to use .dtbo.o based symbols instead of .dtb.o
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Frank Rowand <frowand.list@gmail.com>
Tested-by: Frank Rowand <frowand.list@gmail.com>
Link: https://lore.kernel.org/r/20221024173434.32518-4-afd@ti.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/unittest-data/testcases.dtso')
-rw-r--r-- | drivers/of/unittest-data/testcases.dtso | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/of/unittest-data/testcases.dtso b/drivers/of/unittest-data/testcases.dtso new file mode 100644 index 000000000000..61cdd3d5fccb --- /dev/null +++ b/drivers/of/unittest-data/testcases.dtso @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +/plugin/; + +#include "testcases_common.dtsi" + +/ { + /* + * testcase data that intentionally results in an error is located here + * instead of in testcases_common.dtsi so that the static overlay apply + * tests will not include the error. + */ + testcase-data { + testcase-device2 { + compatible = "testcase-device"; + interrupt-parent = <&test_intc2>; + interrupts = <1>; /* invalid specifier - too short */ + }; + }; + +}; |