diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-04-18 09:18:02 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-04-23 12:53:41 -0400 |
| commit | 2ff0dab80a8999e99a93fd70f8d701ec3deab207 (patch) | |
| tree | 99697a99eef039b526d3cd59091bcdfb0de5598d /include/linux/mfd | |
| parent | c85964de544cae98c3d8d29c936b6d13258e4a10 (diff) | |
mfd: bd9571mwv: Add DDR Backup Power register bit definitions
Add definitions for the KEEPON_* bits in the "BKUP Mode Cnt" register,
which control the DDR rails to be kept powered when backup mode is
enabled.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/bd9571mwv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mfd/bd9571mwv.h b/include/linux/mfd/bd9571mwv.h index f0708ba4cbba..eb05569f752b 100644 --- a/include/linux/mfd/bd9571mwv.h +++ b/include/linux/mfd/bd9571mwv.h | |||
| @@ -33,6 +33,11 @@ | |||
| 33 | #define BD9571MWV_I2C_MD2_E1_BIT_2 0x12 | 33 | #define BD9571MWV_I2C_MD2_E1_BIT_2 0x12 |
| 34 | 34 | ||
| 35 | #define BD9571MWV_BKUP_MODE_CNT 0x20 | 35 | #define BD9571MWV_BKUP_MODE_CNT 0x20 |
| 36 | #define BD9571MWV_BKUP_MODE_CNT_KEEPON_MASK GENMASK(3, 0) | ||
| 37 | #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR0 BIT(0) | ||
| 38 | #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR1 BIT(1) | ||
| 39 | #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR0C BIT(2) | ||
| 40 | #define BD9571MWV_BKUP_MODE_CNT_KEEPON_DDR1C BIT(3) | ||
| 36 | #define BD9571MWV_BKUP_MODE_STATUS 0x21 | 41 | #define BD9571MWV_BKUP_MODE_STATUS 0x21 |
| 37 | #define BD9571MWV_BKUP_RECOVERY_CNT 0x22 | 42 | #define BD9571MWV_BKUP_RECOVERY_CNT 0x22 |
| 38 | #define BD9571MWV_BKUP_CTRL_TIM_CNT 0x23 | 43 | #define BD9571MWV_BKUP_CTRL_TIM_CNT 0x23 |
