Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Qiang Yu" <qiang.yu@oss.qualcomm.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v10 1/7] dt-bindings: clock: qcom: Move glymur TCSR to own binding
Date: Wed, 22 Jul 2026 06:04:49 +0000	[thread overview]
Message-ID: <20260722060449.A5D6F1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260721-tcsr_qre_0721-v10-1-d2fa68c63b78@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The binding schema for `qcom,glymur-tcsr` acts as a clock and reset provider but omits `#clock-cells` and `#reset-cells` from its `required` properties list, violating subsystem guidelines.
--

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

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

The QREF block supplies reference clocks to PCIe PHYs and requires
dedicated LDO supplies to operate. This commit adds a dedicated binding
file for qcom,glymur-tcsr to document the supply properties.

> diff --git a/Documentation/devicetree/bindings/clock/qcom,glymur-tcsr.yaml b/Documentation/devicetree/bindings/clock/qcom,glymur-tcsr.yaml
> new file mode 100644
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/qcom,glymur-tcsr.yaml

[ ... ]

> +        - vdda-refgen3-0p9-supply
> +        - vdda-refgen3-1p2-supply
> +        - vdda-refgen4-0p9-supply
> +        - vdda-refgen4-1p2-supply
> +
> +required:
> +  - compatible
> +  - clocks

[Severity: Medium]
Since qcom,glymur-tcsr acts as a clock and reset provider, should
#clock-cells and #reset-cells be added to this required list to ensure
schema validation enforces these capabilities?

While this same omission might exist in the shared qcom,sm8550-tcsr.yaml
binding from which this was likely copied, it appears to be introduced
anew in this dedicated file.

> +
> +additionalProperties: false
> +
> +examples:

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260721-tcsr_qre_0721-v10-0-d2fa68c63b78@oss.qualcomm.com?part=1

  reply	other threads:[~2026-07-22  6:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-22  5:58 [PATCH v10 0/7] clk: qcom: Add common clkref support and migrate Glymur and Mahua Qiang Yu
2026-07-22  5:58 ` [PATCH v10 1/7] dt-bindings: clock: qcom: Move glymur TCSR to own binding Qiang Yu
2026-07-22  6:04   ` sashiko-bot [this message]
2026-07-22  5:58 ` [PATCH v10 2/7] dt-bindings: clock: qcom,glymur-tcsr: Add mahua support Qiang Yu
2026-07-22  6:07   ` sashiko-bot
2026-07-22  5:58 ` [PATCH v10 3/7] clk: qcom: Add generic clkref_en support Qiang Yu
2026-07-22  6:08   ` sashiko-bot
2026-07-22  5:58 ` [PATCH v10 4/7] clk: qcom: tcsrcc-glymur: Add regulator supplies and migrate to clk_ref helper Qiang Yu
2026-07-22  5:59 ` [PATCH v10 5/7] clk: qcom: tcsrcc-glymur: Add Mahua QREF regulator support Qiang Yu
2026-07-22  5:59 ` [PATCH v10 6/7] arm64: dts: qcom: glymur: Add QREF regulator supplies to TCSR Qiang Yu
2026-07-22  5:59 ` [PATCH v10 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=20260722060449.A5D6F1F000E9@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