[PATCH v2 0/2] Poweroff/reboot support for TH1520 via AON

Icenowy Zheng uwu at icenowy.me
Thu Sep 18 10:33:21 PDT 2025


This patchset tries to add support for poweroff/reboot on T-Head TH1520
SoC by calling the AON firmware.

The first patch creates an auxiliary driver for this, and the second
patch makes the driver currently matching thead,th1520-aon create an
auxiliary device.

Icenowy Zheng (2):
  driver: reset: th1520-aon: add driver for poweroff/reboot via AON FW
  pmdomain: thead: create auxiliary device for rebooting

 MAINTAINERS                                |  1 +
 drivers/pmdomain/thead/th1520-pm-domains.c | 14 ++++
 drivers/power/reset/Kconfig                |  7 ++
 drivers/power/reset/Makefile               |  1 +
 drivers/power/reset/th1520-aon-reboot.c    | 98 ++++++++++++++++++++++
 5 files changed, 121 insertions(+)
 create mode 100644 drivers/power/reset/th1520-aon-reboot.c

-- 
2.51.0




More information about the linux-riscv mailing list