acpi: Support ordering SSDT data by device
authorSimon Glass <sjg@chromium.org>
Tue, 7 Jul 2020 19:12:06 +0000 (13:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit0f7b111f70087f60e84f936fbe0c2a0a243a4fec
tree7f0e2a35c81f35ad1642971dcea95900437c695b
parent64ba6f43ef83e3a87abf5705d57ffc9109b5aa55
acpi: Support ordering SSDT data by device

Add a /chosen property to control the order in which the data appears
in the SSDT. This allows matching up U-Boot's output from a dump of the
known-good data obtained from within Linux.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/dts/test.dts
doc/device-tree-bindings/chosen.txt
drivers/core/acpi.c
test/dm/acpi.c