diff options
author | Micky Ching <micky_ching@realsil.com.cn> | 2015-06-29 03:19:39 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-30 18:19:51 +0100 |
commit | ce6a5acc93876f619f32f8f60c7c6e549e46d962 (patch) | |
tree | d89dbff3343ad44de6bcc01238734916e5381de3 /drivers/mfd/rtsx_pcr.h | |
parent | mfd: da9062-core: Rename get_device_type to da9062_get_device_type (diff) | |
download | linux-ce6a5acc93876f619f32f8f60c7c6e549e46d962.tar.xz linux-ce6a5acc93876f619f32f8f60c7c6e549e46d962.zip |
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.h | 3 |
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); |