[PATCH v3 20/35] acpi: Support writing a GPIO
Bin Meng
bmeng.cn at gmail.com
Mon Jun 29 04:07:23 CEST 2020
On Sun, Jun 14, 2020 at 10:55 AM Simon Glass <sjg at chromium.org> wrote:
>
> 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 at 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: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list