Linux Power Management development
 help / color / mirror / Atom feed
From: Yixun Lan <dlan@kernel.org>
To: Rob Herring <robh@kernel.org>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Ulf Hansson <ulfh@kernel.org>,
	Paul Walmsley <pjw@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	Alexandre Ghiti <alex@ghiti.fr>,
	devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
	spacemit@lists.linux.dev, linux-kernel@vger.kernel.org,
	linux-pm@vger.kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: power: spacemit: Add power domain controller
Date: Thu, 8 Oct 2026 02:42:42 +0000	[thread overview]
Message-ID: <20261008024242-GKA2005@kernel.org> (raw)
In-Reply-To: <20260928183026.GA211865-robh@kernel.org>

Hi Rob,

On 13:30 Mon 28 Sep     , Rob Herring wrote:
> On Fri, Sep 18, 2026 at 02:40:13AM +0000, Yixun Lan wrote:
> > Add initial power domain driver support for SpacemiT K1/K3 SoC, The Power
> > Domain Controller is SoC internal module which is part of APMU (Advanced
> > Power Management Unit), it is responsible for managing power across multi
> > power domains, which includes power on/off, isolation, power-on sequence.
> > 
> > Signed-off-by: Yixun Lan <dlan@kernel.org>
> > ---
> >  .../bindings/power/spacemit,power-controller.yaml  | 43 ++++++++++++++++++++++
> >  include/dt-bindings/power/spacemit,k1-power.h      | 14 +++++++
> >  include/dt-bindings/power/spacemit,k3-power.h      | 12 ++++++
> >  3 files changed, 69 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/power/spacemit,power-controller.yaml b/Documentation/devicetree/bindings/power/spacemit,power-controller.yaml
> > new file mode 100644
> > index 000000000000..f869285f84da
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/power/spacemit,power-controller.yaml
> > @@ -0,0 +1,43 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/power/spacemit,power-controller.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: SpacemiT Power Domains Controller
> > +
> > +maintainers:
> > +  - Yixun Lan <dlan@kernel.org>
> > +
> > +description: |
> > +  SpacemiT processors include support for multiple power domains which can be
> > +  powered on/off by software based on different application scenes to save power.
> > +
> > +properties:
> > +  compatible:
> > +    enum:
> > +      - spacemit,k1-power-controller
> > +      - spacemit,k3-power-controller
> > +
> > +  '#power-domain-cells':
> > +    const: 1
> > +
> > +  spacemit,apmu:
> > +    $ref: /schemas/types.yaml#/definitions/phandle
> > +    description:
> > +      A phandle to APMU syscon to control registers for power domain
> 
> Sounds like the APMU should be the power-domain provider directly. You 
> don't seem to have any other registers for this node.
> 
em, you right, I will convert this patch to auxiliary driver which will
make this dt-binding doc obsolete

-- 
Yixun Lan (dlan)

  reply	other threads:[~2026-10-08  2:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-18  2:40 [PATCH 0/3] PM: spacemit: Add power domain support Yixun Lan
2026-09-18  2:40 ` [PATCH 1/3] dt-bindings: power: spacemit: Add power domain controller Yixun Lan
2026-09-28 18:30   ` Rob Herring
2026-10-08  2:42     ` Yixun Lan [this message]
2026-09-18  2:40 ` [PATCH 2/3] pmdomain: spacemit: Add power domain driver Yixun Lan
2026-09-18  9:00   ` Icenowy Zheng
2026-09-18 23:01     ` Yixun Lan
2026-09-19  6:57       ` Icenowy Zheng
2026-09-19  9:59         ` Yixun Lan
2026-09-19 13:56           ` Icenowy Zheng
2026-09-19 23:13             ` Yixun Lan
2026-09-20  5:17               ` Icenowy Zheng
2026-09-20  8:00             ` Troy Mitchell
2026-09-20 12:56   ` Icenowy Zheng
2026-09-21  3:35     ` Yixun Lan
2026-09-21  3:39       ` Icenowy Zheng
2026-09-21 12:43         ` Yixun Lan
2026-09-21  3:41       ` Icenowy Zheng
2026-09-21 12:44         ` Yixun Lan
2026-10-02 18:54   ` Iker Pedrosa
2026-10-04 13:47     ` Yixun Lan
2026-09-18  2:40 ` [PATCH 3/3] dts: riscv: spacemit: Add power domain nodes Yixun Lan

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=20261008024242-GKA2005@kernel.org \
    --to=dlan@kernel.org \
    --cc=alex@ghiti.fr \
    --cc=aou@eecs.berkeley.edu \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@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=robh@kernel.org \
    --cc=spacemit@lists.linux.dev \
    --cc=ulfh@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