summaryrefslogtreecommitdiff
path: root/drivers/mfd/rtsx_pcr.h
diff options
context:
space:
mode:
authorMicky Ching <micky_ching@realsil.com.cn>2015-06-29 04:19:39 +0300
committerLee Jones <lee.jones@linaro.org>2015-10-30 20:19:51 +0300
commitce6a5acc93876f619f32f8f60c7c6e549e46d962 (patch)
treed89dbff3343ad44de6bcc01238734916e5381de3 /drivers/mfd/rtsx_pcr.h
parent6f44b14870520e2758b758cc3b3b4c09c4b715ab (diff)
downloadlinux-ce6a5acc93876f619f32f8f60c7c6e549e46d962.tar.xz
mfd: rtsx: Add support for rts522A
rts522a(rts5227s) is derived from rts5227, and mainly same with rts5227. Add it to file mfd/rts5227.c to support this chip. Signed-off-by: Micky Ching <micky_ching@realsil.com.cn> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rtsx_pcr.h')
-rw-r--r--drivers/mfd/rtsx_pcr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/rtsx_pcr.h b/drivers/mfd/rtsx_pcr.h
index ce48842570d7..931d1ae3ce32 100644
--- a/drivers/mfd/rtsx_pcr.h
+++ b/drivers/mfd/rtsx_pcr.h
@@ -27,6 +27,8 @@
#define MIN_DIV_N_PCR 80
#define MAX_DIV_N_PCR 208
+#define RTS522A_PM_CTRL3 0xFF7E
+
#define RTS524A_PME_FORCE_CTL 0xFF78
#define RTS524A_PM_CTRL3 0xFF7E
@@ -38,6 +40,7 @@ void rts5229_init_params(struct rtsx_pcr *pcr);
void rtl8411_init_params(struct rtsx_pcr *pcr);
void rtl8402_init_params(struct rtsx_pcr *pcr);
void rts5227_init_params(struct rtsx_pcr *pcr);
+void rts522a_init_params(struct rtsx_pcr *pcr);
void rts5249_init_params(struct rtsx_pcr *pcr);
void rts524a_init_params(struct rtsx_pcr *pcr);
void rts525a_init_params(struct rtsx_pcr *pcr);