All of lore.kernel.org
 help / color / mirror / Atom feed
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 v2 3/4] dt-bindings: clock: Add Netrani RPMh clocks
Date: Wed, 25 Nov 2026 04:10:11 +0000	[thread overview]
Message-ID: <sashiko-outbox-232559@kernel.org> (raw)
In-Reply-To: <20261125-netrani-clock-v1-v2-3-9ef014e71737@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 b3574101c65f043362d9641e881d3932e0269507
Author: SignKirigami <prcups@krgm.moe>

dt-bindings: clock: Add Netrani RPMh clocks

This commit documents the qcom,netrani-rpmh-clk compatible string for the
Netrani RPMh clock controller and adds a conditional block requiring
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

[ ... ]

> @@ -68,6 +69,16 @@ required:
>    - compatible
>    - '#clock-cells'
>  
> +allOf:
> +  - if:
> +      properties:
> +        compatible:
> +          const: qcom,netrani-rpmh-clk
> +    then:
> +      required:
> +        - clocks
> +        - clock-names

[Severity: Low]
Why require clocks and clock-names only for qcom,netrani-rpmh-clk?

Every RPMh clock controller 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 in-tree DTSI matching qcom,*-rpmh-clk
specifies clocks and clock-names = "xo".  This allOf block can either be
dropped to match the rest of the SoCs in this binding, or clocks and
clock-names can be moved to the top-level required list.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261125-netrani-clock-v1-v2-0-9ef014e71737@krgm.moe?part=3

  reply	other threads:[~2026-11-25  4:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  4:05 [PATCH v2 0/4] Add Qualcomm Netrani clock support SignKirigami
2026-11-25  4:05 ` [PATCH v2 1/4] dt-bindings: clock: Add Qualcomm Netrani GCC SignKirigami
2026-11-25  6:59   ` Krzysztof Kozlowski
2026-11-25  4:05 ` [PATCH v2 2/4] clk: qcom: Add the Netrani global clock controller SignKirigami
2026-11-25  4:37   ` sashiko-bot
2026-11-25  4:05 ` [PATCH v2 3/4] dt-bindings: clock: Add Netrani RPMh clocks SignKirigami
2026-11-25  4:10   ` sashiko-bot [this message]
2026-11-25  4:05 ` [PATCH v2 4/4] clk: qcom: rpmh: Add Netrani clock resources 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-232559@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.