]> git.baikalelectronics.ru Git - uboot.git/commit
acpi: Support generation of GPIO descriptor
authorSimon Glass <sjg@chromium.org>
Tue, 7 Jul 2020 19:11:46 +0000 (13:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit32162844bcb8d53c3116c4e20f78e62d8f4a3d9d
tree0a1d0d7b22275a0bd7bae704fadcf16a3133e81a
parent6d689a207ac26674e48d506b570d628066b4f9d1
acpi: Support generation of GPIO descriptor

Add a function to write a GPIO descriptor to the generated ACPI code.

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: Drop comment about the type always being ACPI_GPIO_TYPE_IO]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
include/acpi/acpi_device.h
lib/acpi/acpi_device.c
test/dm/acpigen.c