From: sashiko-bot@kernel.org
To: "Taniya Das" <taniya.das@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v6 3/7] dt-bindings: clock: qcom: Add support for CAMCC for Eliza
Date: Tue, 09 Jun 2026 15:16:57 +0000 [thread overview]
Message-ID: <20260609151657.C1CB21F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260609-b4-eliza_mm_cc_v6-v6-3-17df09e5940c@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Unconditional requirement of `#power-domain-cells` and `#reset-cells` incorrectly forces the `qcom,eliza-cambistmclkcc` variant to advertise itself as a power domain and reset provider.
--
commit 1b86ec5394cef411456da0c6a6314eebda1d7c44
Author: Taniya Das <taniya.das@oss.qualcomm.com>
dt-bindings: clock: qcom: Add support for CAMCC for Eliza
This commit adds the Eliza camera and camera BIST clock controllers
to the Milos camcc binding. It also adds #power-domain-cells to the
required properties list and introduces the device tree binding headers.
> diff --git a/Documentation/devicetree/bindings/clock/qcom,milos-camcc.yaml b/Documentation/devicetree/bindings/clock/qcom,milos-camcc.yaml
> --- a/Documentation/devicetree/bindings/clock/qcom,milos-camcc.yaml
> +++ b/Documentation/devicetree/bindings/clock/qcom,milos-camcc.yaml
[ ... ]
> properties:
> compatible:
> - const: qcom,milos-camcc
> + enum:
> + - qcom,eliza-cambistmclkcc
> + - qcom,eliza-camcc
> + - qcom,milos-camcc
[ ... ]
> required:
> - compatible
> - clocks
> + - '#power-domain-cells'
>
> allOf:
> - $ref: qcom,gcc.yaml#
[Severity: Medium]
Does the BIST MCLK controller actually provide power domains and resets?
Looking at the new qcom,eliza-cambistmclkcc.h header, it only defines
clocks, with no power domains or resets. However, adding #power-domain-cells
to the unconditional required list forces the BIST controller to advertise
capabilities it does not have. Additionally, the unconditional reference
to qcom,gcc.yaml# forces #reset-cells to be required for all compatibles.
Would it be better to restrict #power-domain-cells and #reset-cells to
only the main camera clock controllers using an if-then conditional block,
or move qcom,eliza-cambistmclkcc to a separate binding file?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260609-b4-eliza_mm_cc_v6-v6-0-17df09e5940c@oss.qualcomm.com?part=3
next prev parent reply other threads:[~2026-06-09 15:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-09 15:02 [PATCH v6 0/7] Add support for Video, Camera, Graphics clock controllers on Eliza Taniya Das
2026-06-09 15:02 ` [PATCH v6 1/7] dt-bindings: clock: qcom: Add video clock controller on Qualcomm Eliza SoC Taniya Das
2026-06-09 15:02 ` [PATCH v6 2/7] dt-bindings: clock: qcom: document the Eliza GPU Clock Controller Taniya Das
2026-06-09 15:02 ` [PATCH v6 3/7] dt-bindings: clock: qcom: Add support for CAMCC for Eliza Taniya Das
2026-06-09 15:16 ` sashiko-bot [this message]
2026-06-09 15:02 ` [PATCH v6 4/7] clk: qcom: videocc: Add video clock controller driver " Taniya Das
2026-06-09 15:24 ` sashiko-bot
2026-06-09 15:02 ` [PATCH v6 5/7] clk: qcom: gpucc: Add GPU Clock Controller " Taniya Das
2026-06-09 15:02 ` [PATCH v6 6/7] clk: qcom: camcc: Add support for camera clock controller " Taniya Das
2026-06-09 15:21 ` sashiko-bot
2026-06-09 15:02 ` [PATCH v6 7/7] arm64: dts: qcom: eliza: Add support for MM clock controllers Taniya Das
2026-06-09 15:30 ` sashiko-bot
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=20260609151657.C1CB21F00893@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