diff options
| author | Jianhong Chen <chenjh@rock-chips.com> | 2016-10-17 05:03:10 -0400 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2016-11-29 03:21:24 -0500 |
| commit | b2e2c85091710159b305735d557f4ef4695f5dff (patch) | |
| tree | 522fbbd5f098279e3bbafb8ffb6c9c0f3e3b34fa /include/linux/mfd | |
| parent | a893764ca8693429ae130c3ff01f2cf3bcfb0d05 (diff) | |
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.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 { | |||
| 290 | #define SWITCH2_EN BIT(6) | 290 | #define SWITCH2_EN BIT(6) |
| 291 | #define SWITCH1_EN BIT(5) | 291 | #define SWITCH1_EN BIT(5) |
| 292 | #define DEV_OFF_RST BIT(3) | 292 | #define DEV_OFF_RST BIT(3) |
| 293 | #define DEV_OFF BIT(0) | ||
| 293 | 294 | ||
| 294 | #define VB_LO_ACT BIT(4) | 295 | #define VB_LO_ACT BIT(4) |
| 295 | #define VB_LO_SEL_3500MV (7 << 0) | 296 | #define VB_LO_SEL_3500MV (7 << 0) |
