Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Qiang Yu" <qiang.yu@oss.qualcomm.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v8 1/7] dt-bindings: clock: qcom: Move glymur TCSR to own binding
Date: Wed, 08 Jul 2026 10:09:02 +0000	[thread overview]
Message-ID: <20260708100903.4AC811F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260708-tcsr_qref_0708-v8-1-62c42b5fa269@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The `#clock-cells` and `#reset-cells` properties are omitted from the global `required` list despite the device functioning as a clock and reset provider.
--

--- Patch [1]: [PATCH v8 1/7] dt-bindings: clock: qcom: Move glymur TCSR to own binding ---
commit de86834007c0daa97a5bd5af83bbdcff6a5a2489
Author: Qiang Yu <qiang.yu@oss.qualcomm.com>

dt-bindings: clock: qcom: Move glymur TCSR to own binding

This commit splits the Glymur TCSR clock controller out into its own dedicated
device tree binding file. It documents the various VDD supply properties
required by the QREF block and marks them required via an allOf conditional.

> diff --git a/Documentation/devicetree/bindings/clock/qcom,glymur-tcsr.yaml b/Documentation/devicetree/bindings/clock/qcom,glymur-tcsr.yaml
> new file mode 100644
> index 0000000000000..ec89feff89e4e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/qcom,glymur-tcsr.yaml
[ ... ]
> +        - vdda-refgen3-1p2-supply
> +        - vdda-refgen4-0p9-supply
> +        - vdda-refgen4-1p2-supply
> +
> +required:
> +  - compatible
> +  - clocks

[Severity: Medium]
Since this device functions as both a clock and reset provider, shouldn't
#clock-cells and #reset-cells be included in this global required list?

Without these properties in the required block, device tree nodes that are
missing them will silently pass schema validation, which could push failures
to runtime when dependent drivers try to parse the unconfigured resources.

> +
> +additionalProperties: false
> +
> +examples:
[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260708-tcsr_qref_0708-v8-0-62c42b5fa269@oss.qualcomm.com?part=1

  reply	other threads:[~2026-07-08 10:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-08 10:02 [PATCH v8 0/7] clk: qcom: Add common clkref support and migrate Glymur and Mahua Qiang Yu
2026-07-08 10:02 ` [PATCH v8 1/7] dt-bindings: clock: qcom: Move glymur TCSR to own binding Qiang Yu
2026-07-08 10:09   ` sashiko-bot [this message]
2026-07-09  7:48   ` Krzysztof Kozlowski
2026-07-08 10:02 ` [PATCH v8 2/7] dt-bindings: clock: qcom,glymur-tcsr: Add mahua support Qiang Yu
2026-07-08 10:15   ` sashiko-bot
2026-07-09  7:49   ` Krzysztof Kozlowski
2026-07-08 10:02 ` [PATCH v8 3/7] clk: qcom: Add generic clkref_en support Qiang Yu
2026-07-08 10:27   ` sashiko-bot
2026-07-08 10:02 ` [PATCH v8 4/7] clk: qcom: tcsrcc-glymur: Add regulator supplies and migrate to clk_ref helper Qiang Yu
2026-07-08 10:02 ` [PATCH v8 5/7] clk: qcom: tcsrcc-glymur: Add Mahua QREF regulator support Qiang Yu
2026-07-08 10:39   ` sashiko-bot
2026-07-09 11:24   ` Konrad Dybcio
2026-07-08 10:02 ` [PATCH v8 6/7] arm64: dts: qcom: glymur: Add QREF regulator supplies to TCSR Qiang Yu
2026-07-08 10:02 ` [PATCH v8 7/7] arm64: dts: qcom: mahua: " Qiang Yu

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=20260708100903.4AC811F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=qiang.yu@oss.qualcomm.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