mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
e87cacadeb
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>
29 lines
510 B
Plaintext
29 lines
510 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/*
|
|
* &electric_1/motor-1 and &spin_ctrl_1 are the same node:
|
|
* /testcase-data-2/substation@100/motor-1
|
|
*
|
|
* Thus the new node "controller" in each fragment will
|
|
* result in an attempt to add the same node twice.
|
|
* This will result in an error and the overlay apply
|
|
* will fail.
|
|
*/
|
|
|
|
&electric_1 {
|
|
|
|
motor-1 {
|
|
controller {
|
|
power_bus = < 0x1 0x2 >;
|
|
};
|
|
};
|
|
};
|
|
|
|
&spin_ctrl_1 {
|
|
controller {
|
|
power_bus_emergency = < 0x101 0x102 >;
|
|
};
|
|
};
|