[PATCH 08/12] poweroff: Add poweroff-gpio driver

Simon Glass sjg at chromium.org
Thu Jul 9 00:06:35 CEST 2020


Hi Sebastian,

On Wed, 1 Jul 2020 at 11:27, Sebastian Reichel
<sebastian.reichel at collabora.com> wrote:
>
> Add GPIO poweroff driver, which is based on the Linux
> driver and uses the same DT binding.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
> ---
>  drivers/power/Kconfig         |  8 ++++
>  drivers/power/Makefile        |  1 +
>  drivers/power/poweroff-gpio.c | 87 +++++++++++++++++++++++++++++++++++
>  3 files changed, 96 insertions(+)
>  create mode 100644 drivers/power/poweroff-gpio.c

Can you use the SYSRESET uclass instead of creating a new one?

Regards,
SImon


More information about the U-Boot mailing list