[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCHv3] arm-virt: add secure pl061 for reset/power down
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCHv3] arm-virt: add secure pl061 for reset/power down |
Date: |
Wed, 6 Jan 2021 17:47:25 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 1/6/21 5:34 PM, Maxim Uvarov wrote:
> Add secure pl061 for reset/power down machine from
> the secure world (Arm Trusted Firmware).
> Use the same gpio 3 and gpio 4 which were used by
> non acpi variant of linux power control gpios.
>
> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
> ---
> v3: added missed include qemu/log.h for qemu_log(..
> v2: replace printf with qemu_log (Philippe Mathieu-Daudé)
Thanks!
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>
> hw/arm/Kconfig | 1 +
> hw/arm/virt.c | 24 ++++++++++++
> hw/gpio/Kconfig | 3 ++
> hw/gpio/gpio_pwr.c | 85 +++++++++++++++++++++++++++++++++++++++++++
> hw/gpio/meson.build | 1 +
> include/hw/arm/virt.h | 1 +
> 6 files changed, 115 insertions(+)
> create mode 100644 hw/gpio/gpio_pwr.