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

Commit e47c5490 authored by Trishansh Bhardwaj's avatar Trishansh Bhardwaj
Browse files

ARM: dts: msm: Add support for sdmmagpie camera FD



Camera FD node is added for sdmmagpie camera.

Change-Id: Ic2875230f05e5020d1dc29d4080a1a2f4b2f714f
Signed-off-by: default avatarTrishansh Bhardwaj <tbhardwa@codeaurora.org>
parent 4354fa84
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
@@ -344,4 +344,41 @@
				"nominal", "turbo";
		status = "ok";
	};

	qcom,cam-fd {
		compatible = "qcom,cam-fd";
		compat-hw-name = "qcom,fd";
		num-fd = <1>;
		status = "ok";
	};

	cam_fd: qcom,fd@ac5a000 {
		cell-index = <0>;
		compatible = "qcom,fd501";
		reg-names = "fd_core", "fd_wrapper";
		reg = <0xac5a000 0x1000>,
			<0xac5b000 0x400>;
		reg-cam-base = <0x5a000 0x5b000>;
		interrupt-names = "fd";
		interrupts = <0 462 0>;
		regulator-names = "camss-vdd";
		camss-vdd-supply = <&titan_top_gdsc>;
		clock-names =
			"fd_core_clk_src",
			"fd_core_clk",
			"fd_core_uar_clk";
		clocks =
			<&clock_camcc CAM_CC_FD_CORE_CLK_SRC>,
			<&clock_camcc CAM_CC_FD_CORE_CLK>,
			<&clock_camcc CAM_CC_FD_CORE_UAR_CLK>;
		src-clock-name = "fd_core_clk_src";
		clock-control-debugfs = "true";
		clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
		clock-rates =
			<380000000 0 0>,
			<384000000 0 0>,
			<480000000 0 0>,
			<600000000 0 0>;
		status = "ok";
	};
};