]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: Add support for a generic power sequence
authorSimon Glass <sjg@chromium.org>
Tue, 7 Jul 2020 19:12:02 +0000 (13:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit740630ba73768667a2f87326f2a237d373a5093d
tree65f543df914a485cc6f0ce3e5ebdeaaa34559fcc
parentf8054dd8ba533be0e2ebd7965b95446a1f573953
acpi: Add support for a generic power sequence

Add a way for devices to enable and disable themselves using ACPI code
that updates GPIOs. This takes several timing parameters and supports
enable, reset and stop.

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>
include/acpi/acpi_device.h
lib/acpi/acpi_device.c
test/dm/acpigen.c