[RFC PATCH v2 1/2] mfd: 88pm886: add the RTC cell

From: Karel Balej
Date: Sat Oct 12 2024 - 15:34:58 EST


Add a MFD cell for the chip's real-time clock.

Signed-off-by: Karel Balej <balejk@xxxxxxxxx>
---

Notes:
RFC v2:
- Break out the register definitions and reword the commit message
accordingly.
- RFC v1: https://lore.kernel.org/r/20240920161518.32346-1-balejk@xxxxxxxxx/

drivers/mfd/88pm886.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/88pm886.c b/drivers/mfd/88pm886.c
index dbe9efc027d2..891fdce5d8c1 100644
--- a/drivers/mfd/88pm886.c
+++ b/drivers/mfd/88pm886.c
@@ -37,6 +37,7 @@ static struct resource pm886_onkey_resources[] = {
static struct mfd_cell pm886_devs[] = {
MFD_CELL_RES("88pm886-onkey", pm886_onkey_resources),
MFD_CELL_NAME("88pm886-regulator"),
+ MFD_CELL_NAME("88pm886-rtc"),
};

static int pm886_power_off_handler(struct sys_off_data *sys_off_data)
--
2.47.0