From: sashiko-bot@kernel.org
To: "Taniya Das" <taniya.das@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org
Subject: Re: [PATCH v3 3/7] dt-bindings: clock: qcom: Add support for CAMCC for Eliza
Date: Thu, 14 May 2026 06:04:40 +0000 [thread overview]
Message-ID: <20260514060440.EA7DBC2BCB7@smtp.kernel.org> (raw)
In-Reply-To: <20260513-eliza_mm_cc_v2-v3-3-b59c370dc281@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] The schema fails to require `#power-domain-cells` for the `qcom,eliza-camcc` power domain provider, resulting in broken device tree nodes.
- [Medium] The schema does not define the `power-domains` property, preventing the representation of CX and MX power rails.
- [Medium] The schema incorrectly enforces the `#reset-cells` property for the `qcom,eliza-cambistmclkcc` block, which provides no resets.
--
commit 3a72590500ffe71717979089f9afaf963476d138
Author: Taniya Das <taniya.das@oss.qualcomm.com>
dt-bindings: clock: qcom: Add support for CAMCC for Eliza
This commit adds compatible strings and dt-bindings headers for the
Eliza camera and camera BIST clock controllers to the existing
Milos camcc binding.
> Eliza camera clock controller is on CX and MX rails similar to Milos.
> Add compatible string for Eliza camera and camera BIST clock
Since the controller relies on CX and MX power rails, does the schema
need to define the power-domains property?
The qcom,milos-camcc.yaml binding uses unevaluatedProperties: false and
does not define power-domains. Adding the property to a device tree node
will trigger schema validation errors.
> 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
The qcom,milos-camcc.yaml schema references qcom,gcc.yaml, which
unconditionally requires #reset-cells to be 1.
Since the qcom,eliza-cambistmclkcc block does not provide any resets, does
this incorrectly force device tree nodes to include a dummy #reset-cells
property to pass validation?
> + - qcom,eliza-camcc
The added qcom,eliza-camcc.h header defines several power domains, making
this block a power domain provider.
Should the schema require the #power-domain-cells property for this
compatible string?
Without it, incomplete device tree nodes missing #power-domain-cells can
silently pass validation, which would cause runtime failures when consumer
IPs try to link to these domains.
> + - qcom,milos-camcc
>
> clocks:
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260513-eliza_mm_cc_v2-v3-0-b59c370dc281@oss.qualcomm.com?part=3
next prev parent reply other threads:[~2026-05-14 6:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-13 14:23 [PATCH v3 0/7] Add support for Video, Camera, Graphics clock controllers on Eliza Taniya Das
2026-05-13 14:23 ` [PATCH v3 1/7] dt-bindings: clock: qcom: Add video clock controller on Qualcomm Eliza SoC Taniya Das
2026-05-14 5:33 ` sashiko-bot
2026-05-13 14:23 ` [PATCH v3 2/7] dt-bindings: clock: qcom: document the Eliza GPU Clock Controller Taniya Das
2026-05-13 14:23 ` [PATCH v3 3/7] dt-bindings: clock: qcom: Add support for CAMCC for Eliza Taniya Das
2026-05-14 6:04 ` sashiko-bot [this message]
2026-05-13 14:23 ` [PATCH v3 4/7] clk: qcom: videocc: Add video clock controller driver " Taniya Das
2026-05-13 14:23 ` [PATCH v3 5/7] clk: qcom: gpucc: Add GPU Clock Controller " Taniya Das
2026-05-14 10:02 ` sashiko-bot
2026-05-13 14:23 ` [PATCH v3 6/7] clk: qcom: camcc: Add support for camera clock controller " Taniya Das
2026-05-14 11:01 ` sashiko-bot
2026-05-13 14:23 ` [PATCH v3 7/7] arm64: dts: qcom: eliza: Add support for MM clock controllers Taniya Das
2026-05-14 11:18 ` sashiko-bot
2026-05-13 15:29 ` [PATCH v3 0/7] Add support for Video, Camera, Graphics clock controllers on Eliza 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=20260514060440.EA7DBC2BCB7@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@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