diff options
author | Jianhong Chen <chenjh@rock-chips.com> | 2016-10-17 11:03:10 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-11-29 09:21:24 +0100 |
commit | b2e2c85091710159b305735d557f4ef4695f5dff (patch) | |
tree | 522fbbd5f098279e3bbafb8ffb6c9c0f3e3b34fa /include | |
parent | mfd: fsl-imx25-tsadc: Fix module autoload when registered via OF (diff) | |
download | linux-b2e2c85091710159b305735d557f4ef4695f5dff.tar.xz linux-b2e2c85091710159b305735d557f4ef4695f5dff.zip |
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')
-rw-r--r-- | include/linux/mfd/rk808.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h index 6d435a3c06bc..83701ef7d3c7 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) |