On Wed, 7 Jan 2026 at 13:19, Kuan-Wei Chiu <[email protected]> wrote:
>
> Introduce a new sysreset driver for the QEMU Virtual System Controller.
> This device is found on QEMU "virt" machines (such as the m68k virt
> target) and provides a mechanism to trigger system reset and power-off
> events.
>
> The driver maps U-Boot sysreset types to the corresponding controller
> commands:
> - SYSRESET_WARM / SYSRESET_COLD -> VIRT_CTRL_CMD_RESET
> - SYSRESET_POWER_OFF -> VIRT_CTRL_CMD_HALT
>
> Signed-off-by: Kuan-Wei Chiu <[email protected]>
> ---
> Changes in v6:
> - Introduce new driver to replace board-file reset implementation.
>
>  MAINTAINERS                                |  6 +++
>  drivers/sysreset/Kconfig                   |  8 ++++
>  drivers/sysreset/Makefile                  |  1 +
>  drivers/sysreset/sysreset_qemu_virt_ctrl.c | 55 ++++++++++++++++++++++
>  include/qemu_virt_ctrl.h                   | 13 +++++
>  5 files changed, 83 insertions(+)
>  create mode 100644 drivers/sysreset/sysreset_qemu_virt_ctrl.c
>  create mode 100644 include/qemu_virt_ctrl.h
>

Reviewed-by: Simon Glass <[email protected]>

Reply via email to