mfd: rk808: Add reboot support to rk808.c
authorPeter Geis <pgwipeout@gmail.com>
Tue, 8 Feb 2022 19:40:23 +0000 (14:40 -0500)
committerLee Jones <lee.jones@linaro.org>
Tue, 8 Mar 2022 09:44:05 +0000 (09:44 +0000)
commit56f216d8efbc1212bf5ff8a6ff5e29927965e8db
tree24344efe99670eb5dd9bfd0ba079243a30f3ce09
parenta96f688b4e4466da39385368f47fc02a0409a367
mfd: rk808: Add reboot support to rk808.c

This adds reboot support to the rk808 pmic driver and enables it for
the rk809 and rk817 devices.
This only enables if the rockchip,system-power-controller flag is set.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220208194023.929720-1-pgwipeout@gmail.com
drivers/mfd/rk808.c
include/linux/mfd/rk808.h