From: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Bryan O'Donoghue <bod@kernel.org>,
Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
Subject: [PATCH v3 3/3] arm64: dts: qcom: hamoa-iot-evk-camera-imx577: Add DT overlay
Date: Tue, 01 Dec 2026 11:26:09 +0800 [thread overview]
Message-ID: <20261201-hamoa_evk-v3-3-d3dba76b3267@oss.qualcomm.com> (raw)
In-Reply-To: <20261201-hamoa_evk-v3-0-d3dba76b3267@oss.qualcomm.com>
Enable IMX577 via CCI0 on Hamoa IoT EVK.
The Hamoa IoT EVK board does not include a camera sensor by default.
Add a DT overlay for the optional Arducam 12.3MP IMX577 Mini Camera
Module, connected to CSIPHY1 over a 4-lane MIPI CSI-2 D-PHY link,
clocked from MCLK1 and powered from the CAM1 3.3V supply.
Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/Makefile | 3 +
.../boot/dts/qcom/hamoa-iot-evk-camera-imx577.dtso | 76 ++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 19310879349d0d9292bd48e5da54d9938ec92deb..42de869a7ae2434398c71fe65a54cac84b5c7bc4 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -33,6 +33,9 @@ hamoa-advantech-som-db5830-el2-dtbs := hamoa-advantech-som-db5830.dtb x1-el2.dtb
dtb-$(CONFIG_ARCH_QCOM) += hamoa-advantech-som-db5830-el2.dtb
dtb-$(CONFIG_ARCH_QCOM) += hamoa-iot-evk.dtb
+hamoa-iot-evk-camera-imx577-dtbs := hamoa-iot-evk.dtb hamoa-iot-evk-camera-imx577.dtbo
+dtb-$(CONFIG_ARCH_QCOM) += hamoa-iot-evk-camera-imx577.dtb
+
hamoa-iot-evk-edp-dtbs := hamoa-iot-evk.dtb hamoa-iot-evk-edp.dtbo
dtb-$(CONFIG_ARCH_QCOM) += hamoa-iot-evk-edp.dtb
diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk-camera-imx577.dtso b/arch/arm64/boot/dts/qcom/hamoa-iot-evk-camera-imx577.dtso
new file mode 100644
index 0000000000000000000000000000000000000000..f490e4cb2e6d422d3d2b42b4a6c532ef5cd418f6
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk-camera-imx577.dtso
@@ -0,0 +1,76 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+/dts-v1/;
+/plugin/;
+
+#include <dt-bindings/clock/qcom,x1e80100-camcc.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/media/video-interfaces.h>
+
+&camss {
+ status = "okay";
+};
+
+&camss_csiphy1_in_port {
+ camss_csiphy1_ep: endpoint {
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&csiphy1_out_ep>;
+ };
+};
+
+&cci0 {
+ status = "okay";
+};
+
+&cci0_i2c1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ camera@1a {
+ compatible = "sony,imx577";
+ reg = <0x1a>;
+
+ reset-gpios = <&tlmm 110 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&cam1_default>;
+ pinctrl-names = "default";
+
+ clocks = <&camcc CAM_CC_MCLK1_CLK>;
+ assigned-clocks = <&camcc CAM_CC_MCLK1_CLK>;
+ assigned-clock-rates = <24000000>;
+
+ avdd-supply = <&vreg_cam1_3p3>;
+ dovdd-supply = <&vreg_l4m_1p8>;
+
+ port {
+ imx577_ep: endpoint {
+ link-frequencies = /bits/ 64 <600000000>;
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&csiphy1_in_ep>;
+ };
+ };
+ };
+};
+
+&csiphy1 {
+ vdda-0p9-supply = <&vreg_l2c_0p8>;
+ vdda-1p2-supply = <&vreg_l1c_1p2>;
+
+ status = "okay";
+};
+
+&csiphy1_in_port {
+ csiphy1_in_ep: endpoint {
+ bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
+ data-lanes = <1 2 3 4>;
+ remote-endpoint = <&imx577_ep>;
+ };
+};
+
+&csiphy1_out_port {
+ csiphy1_out_ep: endpoint {
+ remote-endpoint = <&camss_csiphy1_ep>;
+ };
+};
--
2.34.1
prev parent reply other threads:[~2026-12-01 3:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 3:26 [PATCH v3 0/3] Add Hamoa EVK IMX577 camera sensor support Wenmeng Liu
2026-12-01 3:26 ` [PATCH v3 1/3] arm64: dts: qcom: hamoa-iot-som: Add pm8010 camera PMIC regulators Wenmeng Liu
2026-12-01 3:26 ` [PATCH v3 2/3] arm64: dts: qcom: hamoa-iot-evk: Add camera 3.3V regulator and CAM1 pinctrl Wenmeng Liu
2026-12-01 3:26 ` Wenmeng Liu [this message]
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=20261201-hamoa_evk-v3-3-d3dba76b3267@oss.qualcomm.com \
--to=wenmeng.liu@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=bod@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/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
all inboxes | Powered by JetHome®