mfd: rk808: init CLK32KOUT func for rk818

Change-Id: I1e5c261233c08dcbae29a543029fe6455044b9a4
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This commit is contained in:
Elaine Zhang 2019-01-30 11:37:46 +08:00
parent 801f0b4f48
commit ac7a2debf2
2 changed files with 3 additions and 0 deletions

View File

@ -351,6 +351,7 @@ static const struct rk808_reg_data rk818_pre_init_reg[] = {
{ RK808_RTC_CTRL_REG, RTC_STOP, RTC_STOP},
{ RK808_VB_MON_REG, MASK_ALL, VB_LO_ACT |
VB_LO_SEL_3500MV },
{RK808_CLK32OUT_REG, CLK32KOUT2_FUNC_MASK, CLK32KOUT2_FUNC},
};
static const struct regmap_irq rk805_irqs[] = {

View File

@ -644,6 +644,8 @@ enum rk805_reg {
#define VOUT_LO_INT BIT(0)
#define CLK32KOUT2_EN BIT(0)
#define CLK32KOUT2_FUNC (0 << 1)
#define CLK32KOUT2_FUNC_MASK BIT(1)
#define TEMP105C 0x08
#define TEMP115C 0x0c