summaryrefslogtreecommitdiff
path: root/include/power
diff options
context:
space:
mode:
authorElaine Zhang <zhangqing@rock-chips.com>2019-09-26 15:43:54 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-11-10 20:32:41 +0800
commitaddd062beaccc028fccdc90500d5d17647461da6 (patch)
tree2ea6b4ddc6686206346f59f5c09884efb534c417 /include/power
parent94afc1cb466adceec836ba43de1deea989642478 (diff)
power: pmic: rk816: support rk816 pmic
The RK816 is a Power Management IC (PMIC) for multimedia and handheld devices. They contains the following components: - Regulators(4*BUCKs, 1*BOOST, 6*LDOs, 1*SWITCH) - RTC - Clocking Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include/power')
-rw-r--r--include/power/rk8xx_pmic.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/power/rk8xx_pmic.h b/include/power/rk8xx_pmic.h
index c06248f751..44e8d687df 100644
--- a/include/power/rk8xx_pmic.h
+++ b/include/power/rk8xx_pmic.h
@@ -170,8 +170,17 @@ enum {
};
enum {
- RK805_ID = 0x8050,
+ RK816_REG_DCDC_EN1 = 0x23,
+ RK816_REG_DCDC_EN2,
+ RK816_REG_DCDC_SLP_EN,
+ RK816_REG_LDO_SLP_EN,
+ RK816_REG_LDO_EN1 = 0x27,
+ RK816_REG_LDO_EN2,
+};
+
+enum {
RK808_ID = 0x0000,
+ RK816_ID = 0x8160,
RK818_ID = 0x8180,
};