diff options
author | Elaine Zhang <zhangqing@rock-chips.com> | 2019-09-26 15:43:54 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-11-10 20:32:41 +0800 |
commit | addd062beaccc028fccdc90500d5d17647461da6 (patch) | |
tree | 2ea6b4ddc6686206346f59f5c09884efb534c417 /include | |
parent | 94afc1cb466adceec836ba43de1deea989642478 (diff) | |
download | u-boot-addd062beaccc028fccdc90500d5d17647461da6.zip u-boot-addd062beaccc028fccdc90500d5d17647461da6.tar.gz u-boot-addd062beaccc028fccdc90500d5d17647461da6.tar.bz2 |
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')
-rw-r--r-- | include/power/rk8xx_pmic.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/power/rk8xx_pmic.h b/include/power/rk8xx_pmic.h index c06248f..44e8d68 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, }; |