Commit 121b83ea authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Rob Herring

of: unittest-data: Convert remaining overlay DTS files to sugar syntax

Overlay syntactic sugar for generating target-path fragments is
supported by the version of dtc supplied with the kernel since commit
50aafd60 ("scripts/dtc: Update to upstream version
v1.4.6-21-g84e414b0b5bc").  Hence convert the remaining unittest overlay
devicetree source files to sugar syntax, improving readability.

This completes the work started in commit db2f3762 ("of: convert
unittest overlay devicetree source to sugar syntax").
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/9b5991c85e5a2a7cdf33a4e59b42ef98eaadd98a.1690533838.git.geert+renesas@glider.beSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent eb38b952
......@@ -2,13 +2,8 @@
/dts-v1/;
/plugin/;
/ {
/* overlay_0 - enable using absolute target path */
/* overlay_0 - enable using absolute target path */
fragment@0 {
target-path = "/testcase-data/overlay-node/test-bus/test-unittest0";
__overlay__ {
&{/testcase-data/overlay-node/test-bus/test-unittest0} {
status = "okay";
};
};
};
......@@ -2,13 +2,8 @@
/dts-v1/;
/plugin/;
/ {
/* overlay_1 - disable using absolute target path */
/* overlay_1 - disable using absolute target path */
fragment@0 {
target-path = "/testcase-data/overlay-node/test-bus/test-unittest1";
__overlay__ {
&{/testcase-data/overlay-node/test-bus/test-unittest1} {
status = "disabled";
};
};
};
......@@ -2,13 +2,8 @@
/dts-v1/;
/plugin/;
/ {
/* overlay_12 - enable using absolute target path (i2c) */
/* overlay_12 - enable using absolute target path (i2c) */
fragment@0 {
target-path = "/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest12";
__overlay__ {
&{/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest12} {
status = "okay";
};
};
};
......@@ -2,13 +2,8 @@
/dts-v1/;
/plugin/;
/ {
/* overlay_13 - disable using absolute target path (i2c) */
/* overlay_13 - disable using absolute target path (i2c) */
fragment@0 {
target-path = "/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13";
__overlay__ {
&{/testcase-data/overlay-node/test-bus/i2c-test-bus/test-unittest13} {
status = "disabled";
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment