Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 059fc6cc authored by Vishal Verma's avatar Vishal Verma
Browse files

ARM: dts: msm: Add tpg node to holi device tree

The tpg node is added with mandatory parameters
to holi device tree to be probed as different
camera ID.

CRs-Fixed: 2789855
External Impact: No
Change-Id: I52e9f400612c84c18b28d7396e78c03dd457a628
parent 7ce5de4f
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
@@ -206,6 +206,53 @@
		clock-cntl-level = "turbo";
		clock-rates = <19200000>;
	};

    /*TPG0*/
	qcom,cam-tpg0 {
		cell-index = <4>;
		compatible = "qcom,cam-sensor";
		csiphy-sd-index = <4>;
		sensor-position-roll = <270>;
		sensor-position-pitch = <0>;
		sensor-position-yaw = <180>;
		gpios = <&tlmm 30 0>,
			<&tlmm 35 0>;
		gpio-reset = <1>;
		gpio-req-tbl-num = <0 1>;
		gpio-req-tbl-flags = <1 0>;
		gpio-req-tbl-label = "CAMIF_MCLK1",
					"CAM_RESET1";
		sensor-mode = <0>;
		status = "ok";
		clocks = <&gcc GCC_CAMSS_MCLK1_CLK>;
		clock-names = "cam_clk";
		clock-cntl-level = "turbo";
		clock-rates = <19200000>;
	};

    /*TPG1*/
	qcom,cam-tpg1 {
		cell-index = <5>;
		compatible = "qcom,cam-sensor";
		csiphy-sd-index = <5>;
		sensor-position-roll = <270>;
		sensor-position-pitch = <0>;
		sensor-position-yaw = <180>;
		gpios = <&tlmm 30 0>,
			<&tlmm 35 0>;
		gpio-reset = <1>;
		gpio-req-tbl-num = <0 1>;
		gpio-req-tbl-flags = <1 0>;
		gpio-req-tbl-label = "CAMIF_MCLK1",
					"CAM_RESET1";
		sensor-mode = <0>;
		status = "ok";
		clocks = <&gcc GCC_CAMSS_MCLK1_CLK>;
		clock-names = "cam_clk";
		clock-cntl-level = "turbo";
		clock-rates = <19200000>;
	};

};

&cam_cci1 {