Re: [PATCH v2 3/3] arm64: dts: qcom: sm7225-fairphone-fp4: Add Sony IMX576 front camera support
From: Konrad Dybcio
Date: Mon Jun 29 2026 - 07:56:37 EST
On 6/19/26 2:54 PM, Himanshu Bhavani wrote:
> From: Hardevsinh Palaniya <hardevsinh.palaniya@xxxxxxxxxxxxxxxxx>
>
> Add device tree support for the Sony IMX576 front camera
> sensor and connect it to CAMSS via CSIPHY3.
>
> Signed-off-by: Hardevsinh Palaniya <hardevsinh.palaniya@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Himanshu Bhavani <himanshu.bhavani@xxxxxxxxxxxxxxxxx>
> ---
[...]
> &cci1_i2c0 {
> - /* Front cam (Sony IMX576) @ 0x10 */
> + camera@10 {
> + compatible = "sony,imx576";
> + reg = <0x10>;
> +
> + vana-supply = <&vreg_l3p>;
> + vif-supply = <&vreg_l6p>;
> + vdig-supply = <&vreg_32m_cam_dvdd_1p05>;
> +
> + clocks = <&camcc CAMCC_MCLK1_CLK>;
> + assigned-clocks = <&camcc CAMCC_MCLK1_CLK>;
> + assigned-clock-rates = <24000000>;
> +
> + reset-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
> + pinctrl-0 = <&cam_mclk1_default>;
> + pinctrl-names = "default";
> +
> + orientation = <0>; /* Front facing */
Please include the new define from:
https://lore.kernel.org/all/20260628-kbingham-orientation-v3-0-4ed92968aff8@xxxxxxxxxxxxxxxx/
> + rotation = <90>;
> +
> + port {
> + camera_imx576_ep: endpoint {
> + data-lanes = <1 2 3 4>;
> + bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
> + link-frequencies = /bits/ 64 <600000000>;
> + remote-endpoint = <&csiphy3_ep>;
> + };
> + };
> + };
>
> eeprom@50 {
> compatible = "giantec,gt24p64a", "atmel,24c64";
> --
> 2.34.1
>
>