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 2/3] arm64: dts: qcom: hamoa-iot-evk: Add camera 3.3V regulator and CAM1 pinctrl
Date: Tue, 01 Dec 2026 11:26:08 +0800 [thread overview]
Message-ID: <20261201-hamoa_evk-v3-2-d3dba76b3267@oss.qualcomm.com> (raw)
In-Reply-To: <20261201-hamoa_evk-v3-0-d3dba76b3267@oss.qualcomm.com>
The Hamoa IoT EVK provides a 3.3V supply for the CAM1 connector, switched
by TLMM GPIO19. Describe it as a fixed regulator together with its enable
pin state, and add the CAM1 MCLK and reset pin states, so that camera
module overlays can reference them.
Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 38 ++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
index 484cb9ee18a22540561d1320f6921db37b849312..821d1960de6089833874419334297c0913650855 100644
--- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
+++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts
@@ -221,6 +221,21 @@ pmic_glink_ss2_con_sbu_in: endpoint {
};
};
+ vreg_cam1_3p3: regulator-cam1-3p3 {
+ compatible = "regulator-fixed";
+
+ regulator-name = "VREG_CAM1_3P3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ startup-delay-us = <1000>;
+
+ gpio = <&tlmm 19 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+
+ pinctrl-0 = <&cam1_reg_en>;
+ pinctrl-names = "default";
+ };
+
vreg_nvme: regulator-nvme {
compatible = "regulator-fixed";
@@ -1249,6 +1264,29 @@ right_tweeter: speaker@0,1 {
};
&tlmm {
+ cam1_default: cam1-default-state {
+ mclk-pins {
+ pins = "gpio97";
+ function = "cam_mclk";
+ drive-strength = <16>;
+ bias-disable;
+ };
+
+ reset-n-pins {
+ pins = "gpio110";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+ };
+
+ cam1_reg_en: cam1-reg-en-state {
+ pins = "gpio19";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
ec_int_n_default: ec-int-n-state {
pins = "gpio66";
function = "gpio";
--
2.34.1
next 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 ` Wenmeng Liu [this message]
2026-12-01 3:26 ` [PATCH v3 3/3] arm64: dts: qcom: hamoa-iot-evk-camera-imx577: Add DT overlay Wenmeng Liu
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-2-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®