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

Commit a00e5413 authored by Seemanta Dutta's avatar Seemanta Dutta
Browse files

ARM: dts: Add support for camera for msm8916 target



Update the device tree files to add support for
camera on msm8916.

Change-Id: I67e9d7b80e60dd94a6a5195fd5917636564ffc64
Signed-off-by: default avatarSeemanta Dutta <seemanta@codeaurora.org>
parent 8b606f17
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
@@ -36,6 +36,49 @@
		qcom,cci-master = <0>;
	};

    qcom,camera@20 {
		compatible = "qcom,imx135";
		reg = <0x20>;
		qcom,slave-id = <0x20 0x0016 0x0135>;
		qcom,csiphy-sd-index = <0>;
		qcom,csid-sd-index = <0>;
		qcom,actuator-src = <&actuator1>;
		qcom,mount-angle = <90>;
		qcom,sensor-name = "imx135";
		cam_vana-supply = <&pm8916_l17>;
		cam_vio-supply = <&pm8916_l6>;
		cam_vaf-supply = <&pm8916_l10>;
		qcom,cam-vreg-name = "cam_vio", "cam_vana",
				"cam_vaf";
		qcom,cam-vreg-type = <1 0 0>;
		qcom,cam-vreg-min-voltage = <0 2850000 2800000>;
		qcom,cam-vreg-max-voltage = <0 2850000 2800000>;
		qcom,cam-vreg-op-mode = <0 80000 100000>;
		qcom,gpio-no-mux = <0>;
		pinctrl-states = "default", "suspend";
		pinctrl-0 = <&cam_sensor_rear_default>;
		pinctrl-1 = <&cam_sensor_rear_sleep>;
		gpios = <&msm_gpio 26 0>,
			<&msm_gpio 35 0>,
			<&msm_gpio 34 0>;
		qcom,gpio-reset = <1>;
		qcom,gpio-standby = <2>;
		qcom,gpio-req-tbl-num = <0 1 2>;
		qcom,gpio-req-tbl-flags = <1 0 0>;
		qcom,gpio-req-tbl-label = "CAMIF_MCLK",
			"CAM_RESET1",
			"CAM_STANDBY";
		qcom,gpio-set-tbl-num = <1 1>;
		qcom,gpio-set-tbl-flags = <0 2>;
		qcom,gpio-set-tbl-delay = <1000 30000>;
		qcom,csi-lane-assign = <0x4320>;
		qcom,csi-lane-mask = <0x1F>;
		qcom,sensor-position = <0>;
		qcom,sensor-mode = <0>;
		qcom,sensor-type = <0>;
		qcom,cci-master = <0>;
		status = "ok";
	};

	qcom,camera@78 {
		compatible = "ovti,ov5645";
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

#include "msm8916.dtsi"
#include "msm8916-pinctrl.dtsi"
#include "msm8916-camera-sensor-cdp.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. MSM8916 Simulator";
+2 −0
Original line number Diff line number Diff line
@@ -130,6 +130,8 @@
#include "msm8916-ion.dtsi"
#include "msm8916-coresight.dtsi"
#include "msm8916-smp2p.dtsi"
#include "msm8916-pinctrl.dtsi"
#include "msm8916-camera.dtsi"
#include "msm8916-ipcrouter.dtsi"
#include "msm-gdsc-8916.dtsi"
#include "msm8916-iommu.dtsi"