From: Rob Herring <robh@kernel.org>
To: Frank Li <Frank.Li@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
"moderated list:ARM/FREESCALE LAYERSCAPE ARM ARCHITECTURE"
<linux-arm-kernel@lists.infradead.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>,
imx@lists.linux.dev
Subject: Re: [PATCH 3/6] arm64: dts: layerscape: add '#power-control-cells' for rcpm
Date: Thu, 27 Jun 2024 11:16:36 -0600 [thread overview]
Message-ID: <CAL_JsqKo4XwcVKKLYvRNsfmk_BF67nFqwjXs6J-x70jE7LPTYA@mail.gmail.com> (raw)
In-Reply-To: <20240621165149.2275794-3-Frank.Li@nxp.com>
On Fri, Jun 21, 2024 at 10:52 AM Frank Li <Frank.Li@nxp.com> wrote:
>
> Add '#power-control-cells' for rcpm: power-control node to fix below
You mean #power-domain-cells?
> warning.
>
> power-controller@1ee2140: '#power-domain-cells' is a required property
> from schema $id: http://devicetree.org/schemas/power/power-domain.yaml#
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 +
> arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 +
> arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 1 +
> arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 1 +
> arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 1 +
> arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 1 +
> 6 files changed, 6 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
> index 1331858add942..1b6ab9550cce9 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
> @@ -560,6 +560,7 @@ pcie1: pcie@3400000 {
> rcpm: power-controller@1ee2140 {
> compatible = "fsl,ls1012a-rcpm", "fsl,qoriq-rcpm-2.1+";
> reg = <0x0 0x1ee2140 0x0 0x4>;
> + #power-domain-cells = <0>;
The thing is this h/w is not controlling power domains nor using the binding.
So I think the fix here is either rename the node name or drop this
schema check ($nodename). We really only do the latter if we want to
only reference the power-domain.yaml schema from all specific power
domain controller schemas. That's really only done if there's more
than just #foo-cells defined by the schema which is not the case here.
So we should probably rename the node to 'rcpm' or something. Seems
like a step back, but there's really nothing generic to use here.
Rob
next prev parent reply other threads:[~2024-06-27 17:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-21 16:51 [PATCH 1/6] arm64: dts: layerscape: add platform special compatible string for gpio Frank Li
2024-06-21 16:51 ` [PATCH 2/6] arm64: dts: fsl-lx2160a: fix #address-cells for pinctrl-single Frank Li
2024-06-21 16:51 ` [PATCH 3/6] arm64: dts: layerscape: add '#power-control-cells' for rcpm Frank Li
2024-06-27 17:16 ` Rob Herring [this message]
2024-06-21 16:51 ` [PATCH 4/6] arm64: dts: fsl-ls1012a: remove property 'snps,host-vbus-glitches' Frank Li
2024-06-21 16:51 ` [PATCH 5/6] arm64: dts: layerscape: replace node name 'nor' with 'flash' Frank Li
2024-06-21 16:51 ` [PATCH 6/6] arm64: dts: layerscape: remove compatible string 'fsl,fman-xmdio' for fman3 Frank Li
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=CAL_JsqKo4XwcVKKLYvRNsfmk_BF67nFqwjXs6J-x70jE7LPTYA@mail.gmail.com \
--to=robh@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).