From: Conor Dooley <conor@kernel.org>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Frank Li <Frank.Li@nxp.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
"A.s. Dong" <aisheng.dong@nxp.com>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH 1/2] dt-bindings: fsl: fsl,imx7ulp-smc1: Add #clock-cells
Date: Thu, 26 Feb 2026 18:32:41 +0000 [thread overview]
Message-ID: <20260226-writing-deviation-183872d04d50@spud> (raw)
In-Reply-To: <20260226-imx7ulp-v1-1-3fd611ceb346@nxp.com>
[-- Attachment #1: Type: text/plain, Size: 1394 bytes --]
On Thu, Feb 26, 2026 at 07:04:15PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add missing #clock-cells to make it work as a clock controller.
Yes, that is what adding #clock-cells would do, but why is it correct to
do? That's what your commit message needs to explain.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.yaml b/Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.yaml
> index 9d377e193c123c7de0ec4db4d4a649ed966b2d9a..7ad470260c0d08bd1e7146ef49e5f60dd6c6d4d7 100644
> --- a/Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.yaml
> +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.yaml
> @@ -28,6 +28,9 @@ properties:
> reg:
> maxItems: 1
>
> + '#clock-cells':
> + const: 1
> +
> clocks:
> maxItems: 2
>
> @@ -39,6 +42,7 @@ properties:
> required:
> - compatible
> - reg
> + - '#clock-cells'
>
> additionalProperties: false
>
> @@ -47,4 +51,5 @@ examples:
> smc1@40410000 {
> compatible = "fsl,imx7ulp-smc1";
> reg = <0x40410000 0x1000>;
> + #clock-cells = <1>;
> };
>
> --
> 2.37.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-02-26 18:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-26 11:04 [PATCH 0/2] ARM: dts: Add CPU clock and OPP table for i.MX7ULP Peng Fan (OSS)
2026-02-26 11:04 ` [PATCH 1/2] dt-bindings: fsl: fsl,imx7ulp-smc1: Add #clock-cells Peng Fan (OSS)
2026-02-26 18:32 ` Conor Dooley [this message]
2026-02-27 1:11 ` Peng Fan
2026-02-26 11:04 ` [PATCH 2/2] ARM: dts: imx7ulp: Add CPU clock and OPP table support Peng Fan (OSS)
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=20260226-writing-deviation-183872d04d50@spud \
--to=conor@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=aisheng.dong@nxp.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=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
/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