This driver implements poweroff/reboot support for T-Head TH1520 SoCs
running the AON firmware by sending a message to the AON firmware's WDG
part.
This is a auxiliary device driver, and expects the AON channel to be
passed via the platform_data of the auxiliary device.
Signed-off-by: Icenowy Zheng <[email protected]>
Acked-by: Sebastian Reichel <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>