aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorPeter Geis <[email protected]>2022-02-08 14:40:23 -0500
committerLee Jones <[email protected]>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 <[email protected]> Signed-off-by: Frank Wunderlich <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
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)