Re: [PATCH 4/4] arm64: dts: qcom: sm7325-nothing-spacewar: Add front camera support

Konrad Dybcio <[email protected]>
Newsgroups org.kernel.vger.linux-media,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/5/26 9:54 PM, Danila Tikhonov wrote:
> Add and configure the necessary nodes to enable the front camera
> (Sony IMX471), connected to CSIPHY 0.
> 
> Signed-off-by: Danila Tikhonov <[email protected]>
> ---

[...]

>  &cci0_i2c0 {
> -	/* D-PHY sony,imx471 (Front) @ 0x1a */
> +	camf_imx471: camera@1a {
> +		compatible = "sony,imx471";
> +		reg = <0x1a>;
> +
> +		vana-supply = <&vreg_camf_vana_2p8>;
> +		vdig-supply = <&vreg_camf_vdig_1p1>;
> +		vif-supply = <&vreg_cam_vio_1p8>;
> +
> +		clocks = <&camcc CAM_CC_MCLK0_CLK>;
> +		assigned-clocks = <&camcc CAM_CC_MCLK0_CLK>;
> +		assigned-clock-rates = <19200000>;
> +
> +		reset-gpios = <&tlmm 20 GPIO_ACTIVE_LOW>;
> +		pinctrl-0 = <&cam_mclk0_default>;
> +		pinctrl-names = "default";

Don't you want to also configure the reset pinmux/cfg?

> +
> +		orientation = <0>; /* Front facing */

Please incorporate

https://lore.kernel.org/lkml/[email protected]/

Konrad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.