[PATCH] mfd: bd71828: Add some missing charger related registers

From: Andreas Kemnade

Date: Sun Dec 07 2025 - 04:25:57 EST


As there are some registers missing which are required for future charger
extensions, add them.

Signed-off-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>
---
I have something in preparation for the power supply driver, but I am
sending this now if this might go in earlier e.g. via BD72720
immutable branch to avoid more immutable branches.
@Matti: Can you check the situation with the other chips supported
by that driver. Is that register there, too?

include/linux/mfd/rohm-bd71828.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/linux/mfd/rohm-bd71828.h b/include/linux/mfd/rohm-bd71828.h
index 73a71ef69152..39fe275a8117 100644
--- a/include/linux/mfd/rohm-bd71828.h
+++ b/include/linux/mfd/rohm-bd71828.h
@@ -249,6 +249,8 @@ enum {
#define BD71828_REG_BATCAP_MON_LIMIT_U 0xcc
#define BD71828_REG_CONF 0x64

+#define BD71828_REG_ILIM_STAT 0x6d
+#define BD71828_REG_DCIN_SET 0x70
#define BD71828_REG_DCIN_CLPS 0x71

#define BD71828_REG_MEAS_CLEAR 0xaf
--
2.47.3