
16 Jun
2020
16 Jun
'20
1:31 p.m.
Hi Simon,
-----"Simon Glass" sjg@chromium.org schrieb: -----
Betreff: [PATCH v3 20/35] acpi: Support writing a GPIO
Allowing writing out a reference to a GPIO within the ACPI output. This can be used by ACPI code to access a GPIO at runtime.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v3:
- Use an enum for the GPIO priority
- Add error checking
include/acpi/acpi_dp.h | 20 ++++++++++++++++++++ lib/acpi/acpi_dp.c | 23 +++++++++++++++++++++++ test/dm/acpi_dp.c | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+)
Reviewed-by: Wolfgang Wallner wolfgang.wallner@br-automation.com