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

Power to some devices is controlled by GPIOs. Add a way to generate ACPI
code to enable and disable a GPIO so that this can be handled within an
ACPI method.

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