summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorJianhong Chen <chenjh@rock-chips.com>2016-10-17 17:03:10 +0800
committerLee Jones <lee.jones@linaro.org>2016-11-29 08:21:24 +0000
commitb2e2c85091710159b305735d557f4ef4695f5dff (patch)
tree522fbbd5f098279e3bbafb8ffb6c9c0f3e3b34fa /include/linux/mfd
parenta893764ca8693429ae130c3ff01f2cf3bcfb0d05 (diff)
downloadop-kernel-dev-b2e2c85091710159b305735d557f4ef4695f5dff.zip
op-kernel-dev-b2e2c85091710159b305735d557f4ef4695f5dff.tar.gz
mfd: rk808: RK818 uses DEV_OFF to power off supplies
DEV_OFF and DEV_OFF_RST functions for RK808 are designed error that only DEV_OFF_RST can power off supplies. RK818 has been fixed this issue, so that DEV_OFF is used to power off supplies. Signed-off-by: Jianhong Chen <chenjh@rock-chips.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
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 6d435a3..83701ef 100644
--- a/include/linux/mfd/rk808.h
+++ b/include/linux/mfd/rk808.h
@@ -290,6 +290,7 @@ enum rk818_reg {
#define SWITCH2_EN BIT(6)
#define SWITCH1_EN BIT(5)
#define DEV_OFF_RST BIT(3)
+#define DEV_OFF BIT(0)
#define VB_LO_ACT BIT(4)
#define VB_LO_SEL_3500MV (7 << 0)
OpenPOWER on IntegriCloud