Re: [PATCH v8 23/23] arm64: dts: qcom: eliza-evk-imx577-camera: Add DT overlay

From: Vladimir Zapolskiy

Date: Wed Dec 02 2026 - 06:25:00 EST


On 12/2/26 11:59, Wenmeng Liu wrote:
Add an overlay for optional IMX577 integration on the Eliza CQS EVK,
shared by the eMMC and UFS variants. The sensor is on CCI0 I2C bus 0,
uses MCLK0 with its reset on GPIO8 and connects to CSIPHY0 over CSI-2.
The overlay enables CAMSS, CSIPHY0 and CCI0.

Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@xxxxxxxxxx>
Signed-off-by: Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/Makefile | 4 ++
.../boot/dts/qcom/eliza-evk-imx577-camera.dtso | 84 ++++++++++++++++++++++
2 files changed, 88 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 19310879349d0d9292bd48e5da54d9938ec92deb..e50c01c66e5864ba633f34ccfe6a941282b55a32 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -16,6 +16,10 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8096sg-db820c.dtb
dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb
dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc.dtb
dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-ufs.dtb
+eliza-cqs-evk-emmc-imx577-camera-dtbs := eliza-cqs-evk-emmc.dtb eliza-evk-imx577-camera.dtbo
+eliza-cqs-evk-ufs-imx577-camera-dtbs := eliza-cqs-evk-ufs.dtb eliza-evk-imx577-camera.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-emmc-imx577-camera.dtb
+dtb-$(CONFIG_ARCH_QCOM) += eliza-cqs-evk-ufs-imx577-camera.dtb
dtb-$(CONFIG_ARCH_QCOM) += eliza-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += eliza-nothing-froggerpro.dtb
dtb-$(CONFIG_ARCH_QCOM) += glymur-asus-ascent-qn10.dtb
diff --git a/arch/arm64/boot/dts/qcom/eliza-evk-imx577-camera.dtso b/arch/arm64/boot/dts/qcom/eliza-evk-imx577-camera.dtso
new file mode 100644
index 0000000000000000000000000000000000000000..6f66fd0b68414548e4b2a9a4bcaf97257368d7c2
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/eliza-evk-imx577-camera.dtso
@@ -0,0 +1,84 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/clock/qcom,eliza-cambistmclkcc.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/media/video-interfaces.h>
+
+&camss {
+ status = "okay";
+};
+
+&camss_csiphy0_in_port {
+ camss_csiphy0_in_ep: endpoint {
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&csiphy0_out_ep>;
+ };
+};
+
+&cci0 {
+ status = "okay";
+};
+
+&cci0_i2c0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera@1a {
+ compatible = "sony,imx577";
+ reg = <0x1a>;
+
+ reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&cam_mclk0_default &cam0_reset_default>;
+ pinctrl-names = "default";
+
+ clocks = <&cambistmclkcc CAM_BIST_MCLK_CC_MCLK0_CLK>;
+ assigned-clocks = <&cambistmclkcc CAM_BIST_MCLK_CC_MCLK0_CLK>;
+ assigned-clock-rates = <24000000>;
+
+ dovdd-supply = <&vreg_l7b>;
+
+ port {
+ imx577_out_ep: endpoint {
+ data-lanes = <1 2 3 4>;

For instance note the difference, here the 'data-lanes' property is
justified, because the sensor supports another option of 2-lane interface.

And even here it may be removed, if there is a match with a selected
"default" hardware configuration, though I didn't check the .yaml,
if it is the case or not.

+ link-frequencies = /bits/ 64 <600000000>;
+ remote-endpoint = <&csiphy0_in_ep>;
+ };
+ };
+ };
+};

--
Best wishes,
Vladimir