From: sashiko-bot@kernel.org
To: SignKirigami <prcups@krgm.moe>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 3/4] dt-bindings: clock: Add Netrani RPMh clocks
Date: Tue, 24 Nov 2026 10:35:01 +0000 [thread overview]
Message-ID: <sashiko-outbox-230967@kernel.org> (raw)
In-Reply-To: <20261124-netrani-clock-v1-v1-3-ce10cedbfa4b@krgm.moe>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: clock: qcom,rpmhcc: unnecessary netrani-only
required block
--
commit 90f4f65f950487160a6d6bc71de56ed2ff1f0843
Author: SignKirigami <prcups@krgm.moe>
dt-bindings: clock: Add Netrani RPMh clocks
This commit adds the qcom,netrani-rpmh-clk compatible to the Qualcomm RPMh
clock controller binding and requires clocks and clock-names for it.
> diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml b/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml
> index 5c9b653bc2aa5..6ab049ba4b6f9 100644
> --- a/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml
> +++ b/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml
> @@ -24,6 +24,7 @@ properties:
> - qcom,kaanapali-rpmh-clk
> - qcom,kuno-rpmh-clk
> - qcom,milos-rpmh-clk
> + - qcom,netrani-rpmh-clk
> - qcom,nord-rpmh-clk
> - qcom,qcs615-rpmh-clk
> - qcom,qdu1000-rpmh-clk
> @@ -68,6 +69,16 @@ required:
> - compatible
> - '#clock-cells'
>
> +allOf:
> + - if:
> + properties:
> + compatible:
> + const: qcom,netrani-rpmh-clk
> + then:
> + required:
> + - clocks
> + - clock-names
> +
> additionalProperties: false
>
> examples:
[Severity: Low]
Why does this allOf conditional require clocks and clock-names only for
qcom,netrani-rpmh-clk?
Every SoC in drivers/clk/qcom/clk-rpmh.c uses __DEFINE_CLK_RPMH, which
parents all non-BCM resource clocks to the xo input clock, and every
existing qcom,*-rpmh-clk node in the tree already provides clocks and
clock-names = "xo". Either drop the per-compatible allOf block or move
clocks and clock-names to the top-level required list.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-netrani-clock-v1-v1-0-ce10cedbfa4b@krgm.moe?part=3
next prev parent reply other threads:[~2026-11-24 10:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 9:48 [PATCH 0/4] Add Qualcomm Netrani clock support SignKirigami
2026-11-24 9:48 ` [PATCH 1/4] dt-bindings: clock: Add Qualcomm Netrani GCC SignKirigami
2026-11-24 10:11 ` sashiko-bot
2026-11-24 9:48 ` [PATCH 2/4] clk: qcom: Add the Netrani global clock controller SignKirigami
2026-11-24 10:28 ` sashiko-bot
2026-11-24 9:48 ` [PATCH 3/4] dt-bindings: clock: Add Netrani RPMh clocks SignKirigami
2026-11-24 10:35 ` sashiko-bot [this message]
2026-11-24 9:48 ` [PATCH 4/4] clk: qcom: rpmh: Add Netrani clock resources SignKirigami
2026-11-24 9:52 ` [PATCH 0/4] Add Qualcomm Netrani clock support Krzysztof Kozlowski
2026-11-24 9:58 ` SignKirigami
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-230967@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=prcups@krgm.moe \
--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