summaryrefslogtreecommitdiff
path: root/include/power
diff options
context:
space:
mode:
Diffstat (limited to 'include/power')
-rw-r--r--include/power/rk808_pmic.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/power/rk808_pmic.h b/include/power/rk808_pmic.h
index d29c2b36b0..c370c32220 100644
--- a/include/power/rk808_pmic.h
+++ b/include/power/rk808_pmic.h
@@ -170,12 +170,24 @@ enum {
RK808_NUM_OF_REGS,
};
+enum {
+ RK805_ID = 0x8050,
+ RK808_ID = 0x0000,
+ RK818_ID = 0x8180,
+};
+
+#define RK8XX_ID_MSK 0xfff0
+
struct rk808_reg_table {
char *name;
u8 reg_ctl;
u8 reg_vol;
};
+struct rk808_priv {
+ int variant;
+};
+
int rk808_spl_configure_buck(struct udevice *pmic, int buck, int uvolt);
#endif