Antwort: [PATCH v2 31/39] gpio: Add a method to convert a GPIO to ACPI

Wolfgang Wallner wolfgang.wallner at br-automation.com
Fri Mar 13 12:16:31 CET 2020


Hi Simon,

-----"Simon Glass" <sjg at 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 at 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 at br-automation.com>




More information about the U-Boot mailing list