diff options
| author | Maxim Uvarov <maxim.uvarov@linaro.org> | 2021-01-28 12:00:10 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2021-01-29 10:47:28 +0000 |
| commit | c97377652dfeef2e0373faa2cdc05548b1536d77 (patch) | |
| tree | 08f6744271c89bd5c2319bbffa9658ea5aee3dc2 /hw/misc/npcm7xx_pwm.c | |
| parent | 7848023ae43cf775fb211cc66bb2e17376ee23d3 (diff) | |
| download | focaccia-qemu-c97377652dfeef2e0373faa2cdc05548b1536d77.tar.gz focaccia-qemu-c97377652dfeef2e0373faa2cdc05548b1536d77.zip | |
hw: gpio: implement gpio-pwr driver for qemu reset/poweroff
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> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/npcm7xx_pwm.c')
0 files changed, 0 insertions, 0 deletions