Skip to contentSkip to conversation

mfd: da9063: Add support for latest EA silicon revision

PATCH Applied Carlos de Paula 3 participants 3 messages Aug 30, 2021 – Sep 22, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/mfd/da9063-i2c.c        | 2 ++
 include/linux/mfd/da9063/core.h | 1 +
 2 files changed, 3 insertions(+)
drivers/mfd/da9063-i2c.c +2 -0
index 4b7f707b7952..343ed6e96d87 100644
@@ -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 =
include/linux/mfd/da9063/core.h +1 -0
index fa7a43f02f27..8db52324f416 100644
@@ -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 */
Signature · 1 line
2.30.2
Applied
#2 lore raw
In reply to Carlos de Paula
Quoted 9 lines · Carlos de Paula

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.

---
 drivers/mfd/da9063-i2c.c        | 2 ++
 include/linux/mfd/da9063/core.h | 1 +
 2 files changed, 3 insertions(+)

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog