From: Aurelien Jarno <aurelien@aurel32.net>
To: linux-kernel@vger.kernel.org, Lee Jones <lee@kernel.org>,
Yixun Lan <dlan@kernel.org>,
linux-riscv@lists.infradead.org (open list:RISC-V SPACEMIT SoC
Support:Keyword:spacemit),
spacemit@lists.linux.dev (open list:RISC-V SPACEMIT SoC
Support:Keyword:spacemit)
Cc: Aurelien Jarno <aurelien@aurel32.net>
Subject: [RESEND][PATCH v5] mfd: simple-mfd-i2c: add a reboot cell for the SpacemiT P1 chip
Date: Wed, 1 Apr 2026 18:50:37 +0200 [thread overview]
Message-ID: <20260401165437.1048786-3-aurelien@aurel32.net> (raw)
Add a "spacemit-p1-reboot" cell for the SpacemiT P1 chip.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
drivers/mfd/simple-mfd-i2c.c | 1 +
1 file changed, 1 insertion(+)
Note that the spacemit-p1-reboot driver requires PIO support in the
spacemit i2C driver [1]. This hasn't been merged despite being ready for
weeks.
That said it's not a hard dependency, in most cases reboot will just
work, which is an improvement over no reboot driver. The PIO supports
just makes the reboot driver reliable.
[1] https://lore.kernel.org/lkml/20260207-b4-k3-i2c-pio-v7-2-626942d94d91@linux.spacemit.com/
diff --git a/drivers/mfd/simple-mfd-i2c.c b/drivers/mfd/simple-mfd-i2c.c
index 7315fad618e44..52c81b18750e1 100644
--- a/drivers/mfd/simple-mfd-i2c.c
+++ b/drivers/mfd/simple-mfd-i2c.c
@@ -105,6 +105,7 @@ static const struct regmap_config spacemit_p1_regmap_config = {
};
static const struct mfd_cell spacemit_p1_cells[] = {
+ { .name = "spacemit-p1-reboot", },
{ .name = "spacemit-p1-regulator", },
{ .name = "spacemit-p1-rtc", },
};
--
2.51.0
next reply other threads:[~2026-04-01 16:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-01 16:50 Aurelien Jarno [this message]
2026-04-06 9:46 ` [RESEND][PATCH v5] mfd: simple-mfd-i2c: add a reboot cell for the SpacemiT P1 chip Vincent Legoll
2026-04-06 15:42 ` Aurelien Jarno
2026-04-06 21:55 ` Vincent Legoll
2026-04-08 2:48 ` Troy Mitchell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260401165437.1048786-3-aurelien@aurel32.net \
--to=aurelien@aurel32.net \
--cc=dlan@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=spacemit@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox