[PATCH v3 10/35] acpi: Support generation of a GPIO/irq for a device
Bin Meng
bmeng.cn at gmail.com
Sun Jun 28 11:55:13 CEST 2020
On Sun, Jun 14, 2020 at 10:55 AM Simon Glass <sjg at chromium.org> wrote:
>
> Some devices use interrupts but some use GPIOs. Since these are fully
> specified in the device tree we can automatically produce the correct ACPI
> descriptor for a device.
>
> Add a function to handle this.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> ---
>
> Changes in v3:
> - Fix 'an GPIO is found' typo
>
> include/acpi/acpi_device.h | 15 ++++++++++++++
> lib/acpi/acpi_device.c | 26 ++++++++++++++++++++++++
> test/dm/acpigen.c | 41 ++++++++++++++++++++++++++++++++++++++
> 3 files changed, 82 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list