Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "David Heidelberg" <david@ixit.cz>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v11 1/2] arm64: dts: qcom: sdm845-google: Add dual front IMX355 cameras
Date: Mon, 23 Nov 2026 13:48:41 +0000	[thread overview]
Message-ID: <sashiko-outbox-229342@kernel.org> (raw)
In-Reply-To: <20261123-pixel3-camera-v11-1-d00195d180dc@ixit.cz>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: qcom: sdm845-google: shared MCLK2 pinctrl placed on
  camss
--

commit 68e8cf5f08b67a7bed75adb265a543d6741f3995
Author: David Heidelberg <david@ixit.cz>

arm64: dts: qcom: sdm845-google: Add dual front IMX355 cameras

This commit adds devicetree nodes, regulators, pinctrl states, and CAMSS
endpoints for the two front-facing Sony IMX355 camera sensors on Google
Pixel 3 devices.

> diff --git a/arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi
> index 3c9656b88b696..1c1cc036dcfe8 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi
[ ... ]
> @@ -351,6 +390,53 @@ vreg_s3c_0p6: smps3 {
>  	};
>  };
>  
> +&camss {
> +	vdda-phy-supply = <&vreg_l1a_0p875>;
> +	vdda-pll-supply = <&vreg_l26a_1p2>;
> +
> +	/*
> +	 * MCLK2 (GPIO15) is shared between both front camera sensors.
> +	 * The clock is generated by CAMCC, therefore the pin is
> +	 * configured here rather than in individual sensor nodes.
> +	 */
> +	pinctrl-0 = <&cam_mclk2_default>;
> +	pinctrl-1 = <&cam_mclk2_sleep>;
> +	pinctrl-names = "default", "sleep";

[Severity: High]
Should cam_mclk2_default and cam_mclk2_sleep be placed on &clock_camcc
instead of &camss?

Both front_cam and front_aux_cam consume CAM_CC_MCLK2_CLK from
&clock_camcc, while their only link to &camss is the bidirectional
remote-endpoint graph cycle that fw_devlink relaxes to
DL_FLAG_SYNC_STATE_ONLY.  When imx355_probe() runs before camss binds,
&camss has not bound its default pinctrl state yet, so GPIO15 is not muxed
to cam_mclk when imx355_power_on() enables MCLK2 and
imx355_identify_module() reads the chip ID over CCI I2C, causing both
front sensors to fail probe permanently.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-pixel3-camera-v11-0-d00195d180dc@ixit.cz?part=1

  reply	other threads:[~2026-11-23 13:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 13:28 [PATCH v11 0/2] Add initial dual front camera and rear flash support for Pixel 3 / 3 XL David Heidelberg via B4 Relay
2026-11-23 13:28 ` [PATCH v11 1/2] arm64: dts: qcom: sdm845-google: Add dual front IMX355 cameras David Heidelberg via B4 Relay
2026-11-23 13:48   ` sashiko-bot [this message]
2026-11-23 13:28 ` [PATCH v11 2/2] arm64: dts: qcom: sdm845-google: Enable PMI8998 camera flash LEDs David Heidelberg via B4 Relay

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-229342@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=david@ixit.cz \
    --cc=devicetree@vger.kernel.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