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

Commit 8fb5dd05 authored by Vandana Jain's avatar Vandana Jain
Browse files

ARM: dts: qcom: Enable camera for QM215 on kernel-4.19

1. Removed level vfe_secure in dtsi file as its not using
in this kernel.
2. changed level name of clock count as per the 4.19 kernel.

Change-Id: I784c350ddadccdea9c7857df589222951546223b
parent 62c946f5
Loading
Loading
Loading
Loading
+1 −7
Original line number Original line Diff line number Diff line
@@ -308,12 +308,6 @@
			qcom,scratch-buf-support;
			qcom,scratch-buf-support;
		};
		};


		msm_cam_smmu_cb2: msm_cam_smmu_cb2 {
			compatible = "qcom,msm-cam-smmu-cb";
			label = "vfe_secure";
			qcom,secure-context;
		};

		msm_cam_smmu_cb3: msm_cam_smmu_cb3 {
		msm_cam_smmu_cb3: msm_cam_smmu_cb3 {
			compatible = "qcom,msm-cam-smmu-cb";
			compatible = "qcom,msm-cam-smmu-cb";
			iommus = <&apps_iommu 0x1c00 0x00>;
			iommus = <&apps_iommu 0x1c00 0x00>;
@@ -382,7 +376,7 @@
			"camss_top_ahb_clk", "camss_vfe_cpp_ahb_clk",
			"camss_top_ahb_clk", "camss_vfe_cpp_ahb_clk",
			"camss_vfe_cpp_axi_clk", "camss_vfe_cpp_clk",
			"camss_vfe_cpp_axi_clk", "camss_vfe_cpp_clk",
			"micro_iface_clk", "camss_ahb_clk";
			"micro_iface_clk", "camss_ahb_clk";
		qcom,clock-rates = <61540000 180000000 0 0 0 180000000 0 0>;
		qcom,src-clock-rates = <61540000 180000000 0 0 0 180000000 0 0>;
		qcom,min-clock-rate = <133000000>;
		qcom,min-clock-rate = <133000000>;
		resets = <&gcc GCC_CAMSS_MICRO_BCR>;
		resets = <&gcc GCC_CAMSS_MICRO_BCR>;
		reset-names = "micro_iface_reset";
		reset-names = "micro_iface_reset";
+2 −7
Original line number Original line Diff line number Diff line
@@ -300,6 +300,7 @@
	qcom,cam_smmu {
	qcom,cam_smmu {
		status = "ok";
		status = "ok";
		compatible = "qcom,msm-cam-smmu";
		compatible = "qcom,msm-cam-smmu";
		qcom,iommu-dma-addr-pool = <0x00020000 0x7FFE0000>;
		msm_cam_smmu_cb1: msm_cam_smmu_cb1 {
		msm_cam_smmu_cb1: msm_cam_smmu_cb1 {
			compatible = "qcom,msm-cam-smmu-cb";
			compatible = "qcom,msm-cam-smmu-cb";
			iommus = <&apps_iommu 0x400 0x00>,
			iommus = <&apps_iommu 0x400 0x00>,
@@ -308,12 +309,6 @@
			qcom,scratch-buf-support;
			qcom,scratch-buf-support;
		};
		};


		msm_cam_smmu_cb2: msm_cam_smmu_cb2 {
			compatible = "qcom,msm-cam-smmu-cb";
			label = "vfe_secure";
			qcom,secure-context;
		};

		msm_cam_smmu_cb3: msm_cam_smmu_cb3 {
		msm_cam_smmu_cb3: msm_cam_smmu_cb3 {
			compatible = "qcom,msm-cam-smmu-cb";
			compatible = "qcom,msm-cam-smmu-cb";
			iommus = <&apps_iommu 0x1c00 0x00>;
			iommus = <&apps_iommu 0x1c00 0x00>;
@@ -382,7 +377,7 @@
			"camss_top_ahb_clk", "camss_vfe_cpp_ahb_clk",
			"camss_top_ahb_clk", "camss_vfe_cpp_ahb_clk",
			"camss_vfe_cpp_axi_clk", "camss_vfe_cpp_clk",
			"camss_vfe_cpp_axi_clk", "camss_vfe_cpp_clk",
			"micro_iface_clk", "camss_ahb_clk";
			"micro_iface_clk", "camss_ahb_clk";
		qcom,clock-rates = <61540000 180000000 0 0 0 180000000 0 0>;
		qcom,src-clock-rates = <61540000 180000000 0 0 0 180000000 0 0>;
		qcom,min-clock-rate = <133000000>;
		qcom,min-clock-rate = <133000000>;
		resets = <&gcc GCC_CAMSS_MICRO_BCR>;
		resets = <&gcc GCC_CAMSS_MICRO_BCR>;
		reset-names = "micro_iface_reset";
		reset-names = "micro_iface_reset";