[PATCH v4 25/35] acpi: Add support for a generic power sequence

Bin Meng bmeng.cn at gmail.com
Mon Jul 13 05:10:04 CEST 2020


On Wed, Jul 8, 2020 at 3:13 AM Simon Glass <sjg at chromium.org> wrote:
>
> Add a way for devices to enable and disable themselves using ACPI code
> that updates GPIOs. This takes several timing parameters and supports
> enable, reset and stop.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> ---
>
> Changes in v4:
> - Use new shared acpi_test_alloc_context_size() in test
> - Update functions to return GPIO/IRQ pin number
> - Use a separate variables for reading and writing DW0
>
>  include/acpi/acpi_device.h | 42 ++++++++++++++++
>  lib/acpi/acpi_device.c     | 99 ++++++++++++++++++++++++++++++++++++++
>  test/dm/acpigen.c          | 68 ++++++++++++++++++++++++++
>  3 files changed, 209 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list