summaryrefslogtreecommitdiffstats
path: root/drivers/of/unittest-data/tests-overlay.dtsi
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@sony.com>2018-02-12 09:23:45 +0100
committerFrank Rowand <frowand.list@gmail.com>2018-03-04 09:29:34 +0100
commitdb2f3762d609318ebef601dcaf8630032587c13a (patch)
tree99b380c0e8358d86590318b5ec8a2af2f9128247 /drivers/of/unittest-data/tests-overlay.dtsi
parentof: Documentation: of_overlay_apply() replaced by of_overlay_fdt_apply() (diff)
downloadlinux-db2f3762d609318ebef601dcaf8630032587c13a.tar.xz
linux-db2f3762d609318ebef601dcaf8630032587c13a.zip
of: convert unittest overlay devicetree source to sugar syntax
The unittest-data overlays have been pulled into proper overlay devicetree source files without changing their format. The next step is to convert them to use sugar syntax instead of hand coding overlay fragments structure. A few of the overlays can not be converted because they test absolute target paths in the overlay fragment. dtc does not generate this type of target: overlay_0.dts overlay_1.dts overlay_12.dts overlay_13.dts Two pre-existing unittest overlay devicetree source files are also converted: overlay_bad_phandle.dts overlay_bad_symbol.dts Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Diffstat (limited to 'drivers/of/unittest-data/tests-overlay.dtsi')
-rw-r--r--drivers/of/unittest-data/tests-overlay.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/unittest-data/tests-overlay.dtsi b/drivers/of/unittest-data/tests-overlay.dtsi
index fa2fb43bccac..25cf397b8f6b 100644
--- a/drivers/of/unittest-data/tests-overlay.dtsi
+++ b/drivers/of/unittest-data/tests-overlay.dtsi
@@ -5,7 +5,7 @@
overlay-node {
/* test bus */
- unittestbus: test-bus {
+ unittest_test_bus: test-bus {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <0>;
@@ -70,7 +70,7 @@
reg = <8>;
};
- i2c-test-bus {
+ unittest_i2c_test_bus: i2c-test-bus {
compatible = "unittest-i2c-bus";
status = "okay";
reg = <50>;