[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251207085024.7375-1-andreas@kemnade.info>
Date: Sun, 7 Dec 2025 09:50:24 +0100
From: Andreas Kemnade <andreas@...nade.info>
To: mazziesaccount@...il.com,
lee@...nel.org,
linux-kernel@...r.kernel.org
Cc: Andreas Kemnade <andreas@...nade.info>
Subject: [PATCH] mfd: bd71828: Add some missing charger related registers
As there are some registers missing which are required for future charger
extensions, add them.
Signed-off-by: Andreas Kemnade <andreas@...nade.info>
---
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
Powered by blists - more mailing lists