Linux clock framework development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Hikmah Gumelar" <hikmahgumelar@gmail.com>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org, media-ci@linuxtv.org
Subject: Re: [PATCH v6 2/3] arm64: dts: qcom: msm8953: add CAMSS node and MCLK pinctrl states
Date: Fri, 04 Dec 2026 14:11:54 +0000	[thread overview]
Message-ID: <sashiko-outbox-249937@kernel.org> (raw)
In-Reply-To: <20261204-xiaomi-tissot-lkml-v6-v6-2-385bf76f42d5@gmail.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] arm64: dts: qcom: msm8953: missing interconnects on camss
  node
- [Low] arm64: dts: qcom: msm8953: use generic isp node name for camss
--

commit 5e164de3dc317513c4b821abff63a8502dcbfa20
Author: Hikmah Gumelar <hikmahgumelar@gmail.com>

arm64: dts: qcom: msm8953: add CAMSS node and MCLK pinctrl states

This commit adds the camera subsystem (CAMSS) node and MCLK0/1/2 pinctrl
states to the Qualcomm MSM8953 SoC Devicetree.

> diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi
> index 753167c3f8619..396472ba8f280 100644
> --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi

[ ... ]

> @@ -1214,6 +1235,130 @@ mdss_dsi1_phy: phy@1a96400 {
>  			};
>  		};
>  
> +		camss: camss@1b00020 {
> +			compatible = "qcom,msm8953-camss";

[Severity: Low]
Should this node use the generic name isp@1b00020 while keeping the camss
label?  Devicetree conventions prefer generic device class names over
vendor-specific IP names, and sibling Qualcomm SoC DTSIs such as
msm8939.dtsi use camss: isp@<addr>.

[ ... ]

> +			iommus = <&apps_iommu 0x14>;
> +
> +			power-domains = <&gcc VFE0_GDSC>,
> +					<&gcc VFE1_GDSC>;
> +			power-domain-names = "vfe0", "vfe1";

[Severity: Medium]
Should this node also specify interconnects and interconnect-names for
cam_ahb, cam_vfe0_mem, and cam_vfe1_mem?

In drivers/media/platform/qcom/camss/camss.c, icc_res_8x53 requests and
votes on those three paths during runtime resume, and msm8953.dtsi already
defines the bimc, pcnoc, snoc, and snoc_mm providers.  Without them,
of_icc_get() returns NULL and icc_set_bw() becomes a silent no-op.

Because msm8953_snoc_mm scales bus_2_clk via RPM without keep_alive,
bus_2_clk can drop to 0 kHz when other snoc_mm consumers such as mdss are
idle, risking VFE DMA stalls, FIFO overflows, or frame drops during camera
streaming.

Documentation/devicetree/bindings/media/qcom,msm8953-camss.yaml currently
sets additionalProperties: false without listing interconnects or
interconnect-names, so the binding schema will also need an update
alongside the DTS.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-xiaomi-tissot-lkml-v6-v6-0-385bf76f42d5@gmail.com?part=2

  reply	other threads:[~2026-12-04 14:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 13:49 [PATCH v6 0/3] arm64: dts: qcom: msm8953: enable CAMSS and front camera on Xiaomi Mi A1 Hikmah Gumelar
2026-12-04 13:49 ` [PATCH v6 1/3] clk: qcom: gcc-msm8953: fix csi_phytimer_clk_src 100MHz parent Hikmah Gumelar
2026-12-04 13:49 ` [PATCH v6 2/3] arm64: dts: qcom: msm8953: add CAMSS node and MCLK pinctrl states Hikmah Gumelar
2026-12-04 14:11   ` sashiko-bot [this message]
2026-12-04 13:49 ` [PATCH v6 3/3] arm64: dts: qcom: msm8953-xiaomi-tissot: enable front camera Hikmah Gumelar
2026-12-04 14:22   ` 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=sashiko-outbox-249937@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=hikmahgumelar@gmail.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=media-ci@linuxtv.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox