acpi: Add support for DSDT generation
authorSimon Glass <sjg@chromium.org>
Tue, 7 Jul 2020 19:12:08 +0000 (13:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit01694589af589212d6f2a6241821896ef9e334d3
tree54085627056cd2bc0c8e89adcf7361af5bd80870
parent351fef5c579b4cabbd2976e61d1f8a9ef7c06b53
acpi: Add support for DSDT generation

Some devices need to inject extra code into the Differentiated System
Descriptor Table (DSDT). Add a method to handle this.

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>
[bmeng: correct one typo in inject_dsdt() comments]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/dts/test.dts
drivers/core/acpi.c
include/dm/acpi.h
test/dm/acpi.c