public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@nxp.com>
To: Alexander Stein <alexander.stein@ew.tq-group.com>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	devicetree@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: power: fsl,imx-gpc: Document address-cells
Date: Mon, 15 Dec 2025 11:16:35 -0500	[thread overview]
Message-ID: <aUA0Y6mycZVX7cXD@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <12807757.O9o76ZdvQC@steina-w>

On Mon, Dec 15, 2025 at 08:31:47AM +0100, Alexander Stein wrote:
> Hi,
>
> Am Freitag, 12. Dezember 2025, 18:02:32 CET schrieb Frank Li:
> > On Fri, Dec 12, 2025 at 09:58:59AM +0100, Alexander Stein wrote:
> > > The GPC power controller is an interrupt controllers and can be referenced
> > > in interrupt-map properties, e.g. PCIe controller, thus the node should
> > > have address-cells property.
> > >
> > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> >
> > Strange, there are not #address-cells property for gic if there are not
> > ITS node. gic is widely used.
> >
> > Does gic node also missed #address-cells?
>
> Yes and no.
> Yes: see commit faf183a02ed6b ("arm64: dts: imx8mp: Add default GIC address cells")
> No: AFAICS this is only necessary if an interrupt-controller is referenced
> from within interrupt-map. But on imx6qdl.dtsi 'intc' (GIC) is not used that way.

Thanks.

Frank

>
> Best regards,
> Alexander
>
> >
> > Frank
> >
> > > ---
> > >  Documentation/devicetree/bindings/power/fsl,imx-gpc.yaml | 3 +++
> > >  1 file changed, 3 insertions(+)
> > >
> > > diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpc.yaml b/Documentation/devicetree/bindings/power/fsl,imx-gpc.yaml
> > > index 9de3fe73c1eb6..d49a5130b87c7 100644
> > > --- a/Documentation/devicetree/bindings/power/fsl,imx-gpc.yaml
> > > +++ b/Documentation/devicetree/bindings/power/fsl,imx-gpc.yaml
> > > @@ -38,6 +38,9 @@ properties:
> > >    reg:
> > >      maxItems: 1
> > >
> > > +  "#address-cells":
> > > +    const: 0
> > > +
> > >    interrupts:
> > >      maxItems: 1
> > >
> > > --
> > > 2.43.0
> > >
> >
>
>
> --
> TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
> Amtsgericht München, HRB 105018
> Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
> http://www.tq-group.com/




  reply	other threads:[~2025-12-15 16:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-12  8:58 [PATCH 1/2] dt-bindings: power: fsl,imx-gpc: Document address-cells Alexander Stein
2025-12-12  8:59 ` [PATCH 2/2] ARM: dts: imx6qdl: Add default GIC address cells Alexander Stein
2025-12-12 17:02 ` [PATCH 1/2] dt-bindings: power: fsl,imx-gpc: Document address-cells Frank Li
2025-12-15  7:31   ` Alexander Stein
2025-12-15 16:16     ` Frank Li [this message]
2025-12-16  6:28 ` Krzysztof Kozlowski
2025-12-30  6:44 ` Shawn Guo

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=aUA0Y6mycZVX7cXD@lizhi-Precision-Tower-5810 \
    --to=frank.li@nxp.com \
    --cc=alexander.stein@ew.tq-group.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@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