[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCHv8 1/3] hw: gpio: implement gpio-pwr driver for qemu reset/pow
From: |
Peter Maydell |
Subject: |
Re: [PATCHv8 1/3] hw: gpio: implement gpio-pwr driver for qemu reset/poweroff |
Date: |
Fri, 22 Jan 2021 15:48:03 +0000 |
On Wed, 20 Jan 2021 at 09:27, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:
>
> Implement gpio-pwr driver to allow reboot and poweroff machine.
> This is simple driver with just 2 gpios lines. Current use case
> is to reboot and poweroff virt machine in secure mode. Secure
> pl066 gpio chip is needed for that.
>
> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
> Reviewed-by: Hao Wu <wuhaotsh@google.com>
> ---
> hw/gpio/Kconfig | 3 ++
> hw/gpio/gpio_pwr.c | 70 +++++++++++++++++++++++++++++++++++++++++++++
> hw/gpio/meson.build | 1 +
> 3 files changed, 74 insertions(+)
> create mode 100644 hw/gpio/gpio_pwr.c
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM