Linux clock framework development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Raghav Sharma" <raghav.s@samsung.com>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 01/14] dt-bindings: clock: exynos8855: add top & peric clock definitions
Date: Thu, 03 Dec 2026 15:26:31 +0000	[thread overview]
Message-ID: <sashiko-outbox-248104@kernel.org> (raw)
In-Reply-To: <360067785.01796310602029.JavaMail.epsvc@epcpadp1new>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] dt-bindings: clock: exynos8855: non-canonical property order in
  schema
- [Low] dt-bindings: clock: exynos8855: double colon in YAML literal
  description
--

commit 49d89bb347644aa6372595a1ab0713bd560645b2
Author: Raghav Sharma <raghav.s@samsung.com>

dt-bindings: clock: exynos8855: add top & peric clock definitions

This commit adds the Device Tree binding schema and clock ID header for
the Samsung Exynos 8855 CMU_TOP and CMU_PERIC clock controllers.

> diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml
> new file mode 100644
> index 0000000000000..486b7347ad440
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml

[ ... ]

> +description: |
> +  Exynos 8855 clock controller is comprised of several CMU units, generating
> +  clocks for different domains. Those CMU units are modeled as separate device
> +  tree nodes, and might depend on each other. Root clocks in that clock tree are
> +  two external clocks:: OSCCLK/XTCXO (76.8 MHz) and RTCCLK/XrtcXTI (32768 Hz).

[Severity: Low]
This isn't a bug, but "clocks::" uses a double colon inside a literal
block where a single colon is ordinary text.  Commit b3edadcb9e30
("dt-bindings: clock: Drop incorrect usage of double '::'") removed this
pattern across clock bindings; should this be "clocks:" instead?

[ ... ]

> +properties:
> +  compatible:
> +    enum:
> +      - samsung,exynos8855-cmu-peric
> +      - samsung,exynos8855-cmu-top
> +
> +  clocks:
> +    minItems: 1
> +    maxItems: 4
> +
> +  clock-names:
> +    minItems: 1
> +    maxItems: 4
> +
> +  "#clock-cells":
> +    const: 1
> +
> +  reg:
> +    maxItems: 1

[ ... ]

> +required:
> +  - compatible
> +  - "#clock-cells"
> +  - clocks
> +  - clock-names
> +  - reg

[Severity: Low]
Should reg be placed right after compatible in both properties and
required, with both sections using the same order?

Per Documentation/devicetree/bindings/writing-schema.rst and
dts-coding-style.rst, compatible is followed immediately by reg, then
common properties, and properties and required should use the same order
(here "#clock-cells" also appears before clocks in required but after
clock-names in properties).

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203151046.1562399-1-raghav.s@samsung.com?part=1

  reply	other threads:[~2026-12-03 15:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20261203145310epcas5p19b1f51b9777ac211d368dff8022d0497@epcas5p1.samsung.com>
2026-12-03 15:10 ` [PATCH v4 00/14] Add clock support for Exynos8855 SoC Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 01/14] dt-bindings: clock: exynos8855: add top & peric clock definitions Raghav Sharma
2026-12-03 15:26     ` sashiko-bot [this message]
2026-12-03 15:10   ` [PATCH v4 02/14] dt-bindings: clock: exynos8855: add peris " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 03/14] dt-bindings: clock: exynos8855: add hsi " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 04/14] dt-bindings: clock: exynos8855: add usb " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 05/14] clk: samsung: clk-pll: Add support for pll_4313 Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 06/14] clk: samsung: exynos8855: add block top clock support Raghav Sharma
2026-12-03 15:37     ` sashiko-bot
2026-12-03 15:10   ` [PATCH v4 07/14] clk: samsung: exynos8855: add block peric clock Raghav Sharma
2026-12-03 15:44     ` sashiko-bot
2026-12-03 15:10   ` [PATCH v4 08/14] clk: samsung: exynos8855: add block peris clock support Raghav Sharma
2026-12-03 15:50     ` sashiko-bot
2026-12-03 15:10   ` [PATCH v4 09/14] clk: samsung: exynos8855: add block hsi " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 10/14] clk: samsung: exynos8855: add block usb " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 11/14] arm64: dts: exynos8855: add cmu_top & cmu_peric clock DT nodes Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 12/14] arm64: dts: exynos8855: add cmu_peris " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 13/14] arm64: dts: exynos8855: add cmu_hsi " Raghav Sharma
2026-12-03 15:10   ` [PATCH v4 14/14] arm64: dts: exynos8855: add cmu_usb " Raghav Sharma

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=sashiko-outbox-248104@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=raghav.s@samsung.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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