Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Taniya Das" <taniya.das@oss.qualcomm.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v5 3/7] dt-bindings: clock: qcom: Add support for CAMCC for Eliza
Date: Mon, 25 May 2026 11:26:42 +0000	[thread overview]
Message-ID: <20260525112642.F26661F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260525-eliza_mm_cc_v2-v5-3-a1d125619a5a@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Unconditionally requiring `#power-domain-cells` and `#reset-cells` for a clock controller variant that does not provide these capabilities.
--

commit 7c558a65c3468c306300eff35cc0bf8097addb20
Author: Taniya Das <taniya.das@oss.qualcomm.com>

dt-bindings: clock: qcom: Add support for CAMCC for Eliza

This commit adds the compatible strings and headers for the Eliza camera and
camera BIST clock controllers to the Milos camcc binding. It also adds
#power-domain-cells to the required properties.

> diff --git a/Documentation/devicetree/bindings/clock/qcom,milos-camcc.yaml b/Documentation/devicetree/bindings/clock/qcom,milos-camcc.yaml
> index f63149ecf3e1b..57c596314ffca 100644
> --- a/Documentation/devicetree/bindings/clock/qcom,milos-camcc.yaml
> +++ b/Documentation/devicetree/bindings/clock/qcom,milos-camcc.yaml

[ ... ]

> @@ -28,6 +35,7 @@ properties:
>  required:
>    - compatible
>    - clocks
> +  - '#power-domain-cells'
>  
>  allOf:
>    - $ref: qcom,gcc.yaml#

[Severity: Medium]
Should #power-domain-cells be conditionally required instead of being applied
unconditionally to all compatibles?

Looking at the included qcom,eliza-cambistmclkcc.h header, it does not define
any power domains or resets. However, unconditionally adding
#power-domain-cells here, along with the inheritance from qcom,gcc.yaml#
(which requires #reset-cells), forces the qcom,eliza-cambistmclkcc node to
provide these properties.

Could this unconditional requirement force device tree nodes to include dummy
properties just to pass schema validation?

Would it be better to restrict these required properties to qcom,milos-camcc
and qcom,eliza-camcc using an if-then conditional block, or split the BIST
MCLK CC into a separate schema?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260525-eliza_mm_cc_v2-v5-0-a1d125619a5a@oss.qualcomm.com?part=3

  reply	other threads:[~2026-05-25 11:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-25 10:46 [PATCH v5 0/7] Add support for Video, Camera, Graphics clock controllers on Eliza Taniya Das
2026-05-25 10:46 ` [PATCH v5 1/7] dt-bindings: clock: qcom: Add video clock controller on Qualcomm Eliza SoC Taniya Das
2026-05-26  9:37   ` Krzysztof Kozlowski
2026-05-26 11:38     ` Taniya Das
2026-05-25 10:46 ` [PATCH v5 2/7] dt-bindings: clock: qcom: document the Eliza GPU Clock Controller Taniya Das
2026-05-25 10:46 ` [PATCH v5 3/7] dt-bindings: clock: qcom: Add support for CAMCC for Eliza Taniya Das
2026-05-25 11:26   ` sashiko-bot [this message]
2026-05-25 10:46 ` [PATCH v5 4/7] clk: qcom: videocc: Add video clock controller driver " Taniya Das
2026-05-25 11:07   ` Dmitry Baryshkov
2026-05-25 11:59   ` sashiko-bot
2026-05-25 10:46 ` [PATCH v5 5/7] clk: qcom: gpucc: Add GPU Clock Controller " Taniya Das
2026-05-25 11:07   ` Dmitry Baryshkov
2026-05-25 10:46 ` [PATCH v5 6/7] clk: qcom: camcc: Add support for camera clock controller " Taniya Das
2026-05-25 11:12   ` Dmitry Baryshkov
2026-05-26 11:38     ` Taniya Das
2026-05-25 13:04   ` sashiko-bot
2026-05-25 10:46 ` [PATCH v5 7/7] arm64: dts: qcom: eliza: Add support for MM clock controllers Taniya Das
2026-05-25 11:13   ` Dmitry Baryshkov
2026-05-25 11:13 ` [PATCH v5 0/7] Add support for Video, Camera, Graphics clock controllers on Eliza Dmitry Baryshkov
2026-05-26 11:40   ` Taniya Das

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=20260525112642.F26661F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=taniya.das@oss.qualcomm.com \
    /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