
13 Mar
2020
13 Mar
'20
12:16 p.m.
Hi Simon,
-----"Simon Glass" sjg@chromium.org schrieb: -----
When generating ACPI tables we need to convert GPIOs in U-Boot to the ACPI structures required by ACPI. This is a SoC-specific conversion and cannot be handled by generic code, so add a new GPIO method to do the conversion.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2: None
drivers/gpio/gpio-uclass.c | 21 +++++++++++++++++++++ include/acpi_device.h | 12 ++++++++++++ include/asm-generic/gpio.h | 27 +++++++++++++++++++++++++++ lib/acpi/acpi_device.c | 16 ++++++++++++++++ 4 files changed, 76 insertions(+)
Reviewed-by: Wolfgang Wallner wolfgang.wallner@br-automation.com