summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorPeter Geis <pgwipeout@gmail.com>2022-02-08 14:40:23 -0500
committerLee Jones <lee.jones@linaro.org>2022-03-08 09:44:05 +0000
commit56f216d8efbc1212bf5ff8a6ff5e29927965e8db (patch)
tree24344efe99670eb5dd9bfd0ba079243a30f3ce09 /include/linux/mfd
parenta96f688b4e4466da39385368f47fc02a0409a367 (diff)
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
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/rk808.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h
index a96e6d43ca06..58602032e642 100644
--- a/include/linux/mfd/rk808.h
+++ b/include/linux/mfd/rk808.h
@@ -373,6 +373,7 @@ enum rk805_reg {
#define SWITCH2_EN BIT(6)
#define SWITCH1_EN BIT(5)
#define DEV_OFF_RST BIT(3)
+#define DEV_RST BIT(2)
#define DEV_OFF BIT(0)
#define RTC_STOP BIT(0)