Skip to content

Commit 085c63c

Browse files
authored
arm64: dts: qcom: Add Hamoa camx overlay dts (#430)
arm64: dts: qcom: Add Hamoa camx overlay dts
2 parents 653e92a + a70cb48 commit 085c63c

4 files changed

Lines changed: 2556 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,10 @@ dtb-$(CONFIG_ARCH_QCOM) += x1p42100-hp-omnibook-x14.dtb x1p42100-hp-omnibook-x14
411411
x1p42100-lenovo-thinkbook-16-el2-dtbs := x1p42100-lenovo-thinkbook-16.dtb x1-el2.dtbo
412412
dtb-$(CONFIG_ARCH_QCOM) += x1p42100-lenovo-thinkbook-16.dtb x1p42100-lenovo-thinkbook-16-el2.dtb
413413

414+
hamoa-evk-camx-dtbs := hamoa-iot-evk.dtb hamoa-evk-camx.dtbo
415+
416+
dtb-$(CONFIG_ARCH_QCOM) += hamoa-evk-camx.dtb
417+
414418
lemans-evk-camx-dtbs := lemans-evk.dtb lemans-evk-camx.dtbo
415419

416420
dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtb
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4+
*/
5+
6+
#include <dt-bindings/camera/msm-camera.h>
7+
8+
&cam_cci0 {
9+
/*cam0-cmk_imx577*/
10+
qcom,cam-sensor0 {
11+
compatible = "qcom,cam-sensor";
12+
csiphy-sd-index = <1>;
13+
sensor-position-roll = <0>;
14+
sensor-position-pitch = <0>;
15+
sensor-position-yaw = <180>;
16+
cam_vio-supply = <&vreg_l4m_1p8>;
17+
regulator-names = "cam_vio";
18+
power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>;
19+
rgltr-cntrl-support;
20+
pwm-switch;
21+
rgltr-min-voltage = <1800000>;
22+
rgltr-max-voltage = <1800000>;
23+
rgltr-load-current = <120000>;
24+
gpio-no-mux = <0>;
25+
pinctrl-names = "cam_default", "cam_suspend";
26+
pinctrl-0 = <&cam_sensor_mclk1_active &cam_sensor_active_rst1>;
27+
pinctrl-1 = <&cam_sensor_mclk1_suspend &cam_sensor_suspend_rst1>;
28+
gpios = <&tlmm 97 0>,
29+
<&tlmm 110 0>,
30+
<&tlmm 19 0>;
31+
gpio-reset = <1>;
32+
gpio-custom1 = <2>;
33+
gpio-req-tbl-num = <0 1 2>;
34+
gpio-req-tbl-flags = <1 0 0>;
35+
gpio-req-tbl-label = "CAM_MCLK1",
36+
"CAMIF_RESET1",
37+
"CAM_CUSTOM1";
38+
cci-master = <1>;
39+
clocks = <&camcc CAM_CC_MCLK1_CLK>;
40+
clock-names = "cam_clk";
41+
clock-cntl-level = "nominal";
42+
clock-rates = <24000000>;
43+
cell-index = <0>;
44+
status = "okay";
45+
};
46+
};
47+
48+
&soc {
49+
qcom,cam-res-mgr {
50+
compatible = "qcom,cam-res-mgr";
51+
status = "okay";
52+
};
53+
};

0 commit comments

Comments
 (0)