From: sashiko-bot@kernel.org
To: "Taniya Das" <taniya.das@oss.qualcomm.com>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v3 7/7] arm64: dts: qcom: eliza: Add support for MM clock controllers
Date: Thu, 14 May 2026 11:18:30 +0000 [thread overview]
Message-ID: <20260514111831.19B79C2BCB3@smtp.kernel.org> (raw)
In-Reply-To: <20260513-eliza_mm_cc_v2-v3-7-b59c370dc281@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Critical] The `camcc` and `videocc` nodes are missing their parent `power-domains` property (e.g., MMCX).
- [High] The `camcc` and `cambistmclkcc` nodes specify their `clocks` in the wrong order, causing a mismatch with the driver indices.
- [High] The `camcc` node is missing the `#power-domain-cells = <1>;` property.
--
commit d3feefa342664dd9a93d942a18197fa1fdbbcd37
Author: Taniya Das <taniya.das@oss.qualcomm.com>
arm64: dts: qcom: eliza: Add support for MM clock controllers
This commit adds the device tree nodes for the multimedia clock
controllers (cambistmclkcc, camcc, videocc, and gpucc) on the Qualcomm
Eliza SoC.
> diff --git a/arch/arm64/boot/dts/qcom/eliza.dtsi b/arch/arm64/boot/dts/qcom/eliza.dtsi
> index 4a7a0ac40ce62..07c871c1d4b0b 100644
> --- a/arch/arm64/boot/dts/qcom/eliza.dtsi
> +++ b/arch/arm64/boot/dts/qcom/eliza.dtsi
[ ... ]
> @@ -709,6 +713,18 @@ aggre2_noc: interconnect@1700000 {
> #interconnect-cells = <2>;
> };
>
> + cambistmclkcc: clock-controller@1760000 {
> + compatible = "qcom,eliza-cambistmclkcc";
> + reg = <0x0 0x01760000 0x0 0x6000>;
> +
> + clocks = <&bi_tcxo_div2>,
> + <&gcc GCC_CAM_BIST_MCLK_AHB_CLK>,
> + <&sleep_clk>;
Are the AHB and sleep clocks specified in the correct order?
The clock drivers for these controllers typically resolve clocks using
specific index values, where the sleep clock is at index 1 and the AHB
clock is at index 2. Providing the AHB clock at index 1 and the sleep
clock at index 2 could cause the driver to use the AHB clock as the sleep
clock source and vice versa, leading to incorrect clock configurations.
> +
> + #clock-cells = <1>;
> + #reset-cells = <1>;
> + };
[ ... ]
> @@ -883,6 +916,32 @@ lpass_lpicx_noc: interconnect@7420000 {
> #interconnect-cells = <2>;
> };
>
> + videocc: clock-controller@aaf0000 {
> + compatible = "qcom,eliza-videocc";
> + reg = <0x0 0xaaf0000 0x0 0x10000>;
> +
> + clocks = <&bi_tcxo_div2>,
> + <&bi_tcxo_ao_div2>,
> + <&sleep_clk>,
> + <&gcc GCC_VIDEO_AHB_CLK>;
Is this node missing its parent power-domains property?
Multimedia clock controllers such as videocc typically reside within
hardware power domains (such as MMCX) which must be enabled before their
registers can be accessed. If the driver is probed without the parent power
domain enabled, accessing unpowered hardware registers can result in a
synchronous external abort and crash the system.
> +
> + #clock-cells = <1>;
> + #reset-cells = <1>;
> + #power-domain-cells = <1>;
> + };
> +
> + camcc: clock-controller@ade0000 {
> + compatible = "qcom,eliza-camcc";
> + reg = <0x0 0x0ade0000 0x0 0x20000>;
> +
> + clocks = <&bi_tcxo_div2>,
> + <&gcc GCC_CAMERA_AHB_CLK>,
> + <&sleep_clk>;
Similarly to cambistmclkcc, is the order of the AHB and sleep clocks
reversed here?
Also, is this node missing a power-domains property?
Like videocc, accessing this controller without its parent power domain
enabled could cause an external abort.
> +
> + #clock-cells = <1>;
> + #reset-cells = <1>;
Does this node also need to be declared as a power domain provider?
The camera clock controller driver typically exports global distributed
sync controllers which serve as power domains for the rest of the camera
subsystem.
Without the #power-domain-cells = <1> property, dependent camera device
nodes may fail to parse their power-domains phandles, preventing the
camera subsystem from powering up and initializing.
> + };
> +
> + pdc: interrupt-controller@b220000 {
> + compatible = "qcom,eliza-pdc", "qcom,pdc";
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260513-eliza_mm_cc_v2-v3-0-b59c370dc281@oss.qualcomm.com?part=7
next prev parent reply other threads:[~2026-05-14 11:18 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
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 [this message]
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=20260514111831.19B79C2BCB3@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