Re: [PATCH v4 24/35] acpi: Add support for writing a GPIO power sequence

2020-07-12 Thread Bin Meng
On Wed, Jul 8, 2020 at 3:13 AM Simon Glass wrote: > > Power to some devices is controlled by GPIOs. Add a way to generate ACPI > code to enable and disable a GPIO so that this can be handled within an > ACPI method. > > Signed-off-by: Simon Glass > Reviewed-by: Wolfgang Wallner > --- > > Changes

[PATCH v4 24/35] acpi: Add support for writing a GPIO power sequence

2020-07-07 Thread Simon Glass
Power to some devices is controlled by GPIOs. Add a way to generate ACPI code to enable and disable a GPIO so that this can be handled within an ACPI method. Signed-off-by: Simon Glass Reviewed-by: Wolfgang Wallner --- Changes in v4: - Update functions to return GPIO/IRQ pin number - Use a sepa