mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
mfd: da9063: Add support for latest EA silicon revision
This update adds new regmap to support the latest EA silicon which will be selected based on the chip and variant information read from the device. Signed-off-by: Carlos de Paula <me@carlosedp.com> Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
4d94b98f2e
commit
c9a2038357
@ -391,6 +391,7 @@ static int da9063_i2c_probe(struct i2c_client *i2c,
|
||||
&da9063_bb_da_volatile_table;
|
||||
break;
|
||||
case PMIC_DA9063_DA:
|
||||
case PMIC_DA9063_EA:
|
||||
da9063_regmap_config.rd_table =
|
||||
&da9063_da_readable_table;
|
||||
da9063_regmap_config.wr_table =
|
||||
@ -416,6 +417,7 @@ static int da9063_i2c_probe(struct i2c_client *i2c,
|
||||
&da9063l_bb_da_volatile_table;
|
||||
break;
|
||||
case PMIC_DA9063_DA:
|
||||
case PMIC_DA9063_EA:
|
||||
da9063_regmap_config.rd_table =
|
||||
&da9063l_da_readable_table;
|
||||
da9063_regmap_config.wr_table =
|
||||
|
@ -36,6 +36,7 @@ enum da9063_variant_codes {
|
||||
PMIC_DA9063_BB = 0x5,
|
||||
PMIC_DA9063_CA = 0x6,
|
||||
PMIC_DA9063_DA = 0x7,
|
||||
PMIC_DA9063_EA = 0x8,
|
||||
};
|
||||
|
||||
/* Interrupts */
|
||||
|
Loading…
Reference in New Issue
Block a user