mfd: tps65086: Enable register view in debugfs

Previously there was no output for the regmap's registers
in debugfs due to missing "max_register" property in regmap
configuration.

Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
Link: https://lore.kernel.org/r/20231121063259.13991-1-andre.werner@systec-electronic.com
Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
Andre Werner 2023-11-21 07:32:59 +01:00 committed by Lee Jones
parent 4aedcd4aa6
commit 6d461d3c68

View file

@ -36,6 +36,7 @@ static const struct regmap_config tps65086_regmap_config = {
.val_bits = 8,
.cache_type = REGCACHE_MAPLE,
.volatile_table = &tps65086_volatile_table,
.max_register = TPS65086_OC_STATUS,
};
static const struct regmap_irq tps65086_irqs[] = {