]> git.dujemihanovic.xyz Git - u-boot.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)
commita9e0a077df5509c3d4b49e745c746c38a4f9a7a1
tree0a1d0d7b22275a0bd7bae704fadcf16a3133e81a
parent7fb8da4ce1b22c8f077e6d4fe6e0d88e3fd9206d
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