Re: [PATCH v5 2/2] mfd: simple-mfd-i2c: add a reboot cell for the SpacemiT P1 chip
From: Yanko Kaneti
Date: Thu Feb 26 2026 - 09:39:51 EST
Hello,
On Mon, 2025-11-03 at 00:02 +0100, Aurelien Jarno wrote:
> Add a "spacemit-p1-reboot" cell for the SpacemiT P1 chip.
>
> Signed-off-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
> ---
> v5: no changes
>
> drivers/mfd/simple-mfd-i2c.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mfd/simple-mfd-i2c.c b/drivers/mfd/simple-mfd-i2c.c
> index 0a607a1e3ca1d..542d378cdcd1f 100644
> --- a/drivers/mfd/simple-mfd-i2c.c
> +++ b/drivers/mfd/simple-mfd-i2c.c
> @@ -99,6 +99,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", },
> };
Perhaps its safe to merge this one now that everything P1 and I2C is
already in linus tip ?
mainline + patch + dts bits enabling i2c8 on the OrangePi RV2 and R2S
allows both to soft reboot as expected.
-Yanko