Skip to content

Commit 70e997e

Browse files
jwrdegoedelag-linaro
authored andcommitted
mfd: intel_soc_pmic_chtdc_ti: Fix invalid regmap-config max_register value
The max_register = 128 setting in the regmap config is not valid. The Intel Dollar Cove TI PMIC has an eeprom unlock register at address 0x88 and a number of EEPROM registers at 0xF?. Increase max_register to 0xff so that these registers can be accessed. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://lore.kernel.org/r/20241208150028.325349-1-hdegoede@redhat.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 0f35dc4 commit 70e997e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mfd/intel_soc_pmic_chtdc_ti.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static struct mfd_cell chtdc_ti_dev[] = {
8181
static const struct regmap_config chtdc_ti_regmap_config = {
8282
.reg_bits = 8,
8383
.val_bits = 8,
84-
.max_register = 128,
84+
.max_register = 0xff,
8585
.cache_type = REGCACHE_NONE,
8686
};
8787

0 commit comments

Comments
 (0)