mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-18 19:18:29 +00:00

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>
16 lines
147 B
Plaintext
16 lines
147 B
Plaintext
config MAX7310
|
|
bool
|
|
depends on I2C
|
|
|
|
config PL061
|
|
bool
|
|
|
|
config GPIO_KEY
|
|
bool
|
|
|
|
config GPIO_PWR
|
|
bool
|
|
|
|
config SIFIVE_GPIO
|
|
bool
|