public inbox for spacemit@lists.linux.dev
 help / color / mirror / Atom feed
From: "Troy Mitchell" <troy.mitchell@linux.spacemit.com>
To: "Troy Mitchell" <troy.mitchell@linux.spacemit.com>,
	"Lee Jones" <lee@kernel.org>
Cc: "Sebastian Reichel" <sebastian.reichel@collabora.com>,
	<linux-kernel@vger.kernel.org>,
	"Sebastian Reichel" <sre@kernel.org>,
	"Yixun Lan" <dlan@gentoo.org>, "Paul Walmsley" <pjw@kernel.org>,
	"Palmer Dabbelt" <palmer@dabbelt.com>,
	"Albert Ou" <aou@eecs.berkeley.edu>,
	"Alexandre Ghiti" <alex@ghiti.fr>,
	<linux-riscv@lists.infradead.org>, <spacemit@lists.linux.dev>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	<linux-pm@vger.kernel.org>
Subject: Re: (subset) [PATCH v5 0/2] driver: reset: spacemit-p1: add driver for poweroff/reboot
Date: Fri, 10 Apr 2026 09:49:10 +0800	[thread overview]
Message-ID: <DHP3IFPL45T4.FI2WYSYGN8KX@linux.spacemit.com> (raw)
In-Reply-To: <FA1DBD9E7CCB8027+aQtMvb5Br7MgMW4K@troy-wujie14pro-arch>

Hi Lee and Aurelien,

On Wed Nov 5, 2025 at 9:10 PM CST, Troy Mitchell wrote:
> On Wed, Nov 05, 2025 at 10:11:49AM +0000, Lee Jones wrote:
>> On Wed, 05 Nov 2025, Lee Jones wrote:
>> 
>> > On Wed, 05 Nov 2025, Troy Mitchell wrote:
>> > 
>> > > On Wed, Nov 05, 2025 at 09:34:21AM +0000, Lee Jones wrote:
>> > > > On Tue, 04 Nov 2025, Troy Mitchell wrote:
>> > > > 
>> > > > > On Mon, Nov 03, 2025 at 01:48:33AM +0100, Sebastian Reichel wrote:
>> > > > > > 
>> > > > > > On Mon, 03 Nov 2025 00:01:58 +0100, Aurelien Jarno wrote:
>> > > > > > > This adds poweroff/reboot support for the SpacemiT P1 PMIC chip, which is
>> > > > > > > commonly paired with the SpacemiT K1 SoC.
>> > > > > > > 
>> > > > > > > Note: For reliable operation, this driver depends on a this patch that adds
>> > > > > > > atomic transfer support to the SpacemiT I2C controller driver:
>> > > > > > >   https://lore.kernel.org/spacemit/20251009-k1-i2c-atomic-v4-1-a89367870286@linux.spacemit.com/
>> > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> > > dependency is here.
>> > > > > > > 
>> > > > > > > [...]
>> > > > > > 
>> > > > > > Applied, thanks!
>> > > > > > 
>> > > > > > [1/2] driver: reset: spacemit-p1: add driver for poweroff/reboot
>> > > > > >       commit: 28124cc0fb8c7dc01a6834d227351e25d9a92c58
>> > > > > Should we apply it now? The dependency patch hasn’t been merged yet...
>> > > > 
>> > > > What is the dependency?
>> > > I point it out above.
>> > > Without this patch, reboot and shutdown would end up calling the non-atomic i2c_transfer.
>> > 
>> > Okay, thanks.  I was mostly checking that you weren't referring to the
>> > MFD patch, which doesn't represent a true dependency.
>> 
>> To save Sebastian some trouble, let's keep the reboot patch applied.
>> 
>> I'll hold off on the MFD one, which will ensure that reboot isn't probed.
>> 
>> Let me know when the dep is merged and I'll hoover up the rest of the set.
> Okay. I'll reply this thread when the dependency is merged.
Ths I2C PIO patchset has been merged here [1].

Link: https://lore.kernel.org/all/adfVk82OC1c3Zn8a@zenone.zhora.eu/

                              - Troy

  reply	other threads:[~2026-04-10  1:49 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-02 23:01 [PATCH v5 0/2] driver: reset: spacemit-p1: add driver for poweroff/reboot Aurelien Jarno
2025-11-02 23:01 ` [PATCH v5 1/2] " Aurelien Jarno
2025-11-02 23:02 ` [PATCH v5 2/2] mfd: simple-mfd-i2c: add a reboot cell for the SpacemiT P1 chip Aurelien Jarno
2026-02-26 14:32   ` Yanko Kaneti
2026-02-26 21:32     ` Aurelien Jarno
2026-02-27 11:29       ` Yanko Kaneti
2026-03-01 22:16         ` Aurelien Jarno
2026-03-02 20:08           ` Aurelien Jarno
2026-03-02 20:34             ` Yanko Kaneti
2026-03-03 20:38               ` Aurelien Jarno
2026-03-11  2:58                 ` Troy Mitchell
2026-03-11  6:46                   ` Aurelien Jarno
2026-03-11  7:08                   ` Yanko Kaneti
2026-03-11  7:48                     ` Troy Mitchell
2025-11-03  0:48 ` (subset) [PATCH v5 0/2] driver: reset: spacemit-p1: add driver for poweroff/reboot Sebastian Reichel
2025-11-04  1:24   ` Troy Mitchell
2025-11-05  9:34     ` Lee Jones
2025-11-05  9:42       ` Troy Mitchell
2025-11-05 10:08         ` Lee Jones
2025-11-05 10:11           ` Lee Jones
2025-11-05 13:10             ` Troy Mitchell
2026-04-10  1:49               ` Troy Mitchell [this message]
2026-03-31 22:20             ` Aurelien Jarno
2026-04-01 11:19               ` Lee Jones
2025-11-05 22:49         ` Aurelien Jarno
2025-11-06  1:03           ` Troy Mitchell
2025-11-05  9:35     ` Lee Jones
2025-11-05  9:40       ` 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=DHP3IFPL45T4.FI2WYSYGN8KX@linux.spacemit.com \
    --to=troy.mitchell@linux.spacemit.com \
    --cc=alex@ghiti.fr \
    --cc=aou@eecs.berkeley.edu \
    --cc=aurelien@aurel32.net \
    --cc=dlan@gentoo.org \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=sebastian.reichel@collabora.com \
    --cc=spacemit@lists.linux.dev \
    --cc=sre@kernel.org \
    /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