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

Commit 6509f34f authored by Satyajit Desai's avatar Satyajit Desai
Browse files

ARM: dts: msm: Add LPASS TPDM for sdm845



Add LPASS TPDM configuration to the device tree for sdm845.
This device will be used to capture HW events on LPASS.

Change-Id: Ia26abfedd95fc347ea759ca3b485913784fbcf59
Signed-off-by: default avatarSatyajit Desai <sadesai@codeaurora.org>
parent d78ef3b5
Loading
Loading
Loading
Loading
+67 −3
Original line number Diff line number Diff line
@@ -511,6 +511,7 @@
		qcom,dsb-elem-size = <0 32>,
				     <2 32>,
				     <3 32>,
				     <5 32>,
				     <10 32>,
				     <11 32>,
				     <13 32>;
@@ -562,6 +563,15 @@
			};

			port@4 {
				reg = <5>;
				tpda_in_funnel_lpass: endpoint {
					slave-mode;
					remote-endpoint =
						<&funnel_lpass_out_tpda>;
				};
			};

			port@5 {
				reg = <7>;
				tpda_in_tpdm_vsense: endpoint {
					slave-mode;
@@ -570,7 +580,7 @@
				};
			};

			port@5 {
			port@6 {
				reg = <10>;
				tpda_in_tpdm_qm: endpoint {
					slave-mode;
@@ -579,7 +589,7 @@
				};
			};

			port@6 {
			port@7 {
				reg = <11>;
				tpda_in_tpdm_north: endpoint {
					slave-mode;
@@ -588,7 +598,7 @@
				};
			};

			port@7 {
			port@8 {
				reg = <13>;
				tpda_in_tpdm_pimem: endpoint {
					slave-mode;
@@ -690,6 +700,60 @@
		};
	};

	funnel_lpass: funnel@6845000 {
		compatible = "arm,primecell";
		arm,primecell-periphid = <0x0003b908>;

		reg = <0x6845000 0x1000>;
		reg-names = "funnel-base";

		coresight-name = "coresight-funnel-lpass";

		clocks = <&clock_gcc RPMH_QDSS_CLK>,
			 <&clock_gcc RPMH_QDSS_A_CLK>;
		clock-names = "apb_pclk", "core_a_clk";

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				funnel_lpass_out_tpda: endpoint {
					remote-endpoint =
					    <&tpda_in_funnel_lpass>;
				};
			};

			port@1 {
				reg = <0>;
				funnel_lpass_in_tpdm_lpass: endpoint {
					slave-mode;
					remote-endpoint =
					    <&tpdm_lpass_out_funnel_lpass>;
				};
			};
		};
	};

	tpdm_lpass: tpdm@6844000 {
		compatible = "qcom,coresight-tpdm";
		reg = <0x6844000 0x1000>;
		reg-names = "tpdm-base";

		coresight-name = "coresight-tpdm-lpass";

		clocks = <&clock_gcc RPMH_QDSS_CLK>,
			 <&clock_gcc RPMH_QDSS_A_CLK>;
		clock-names = "core_clk", "core_a_clk";

		port {
			tpdm_lpass_out_funnel_lpass: endpoint {
				remote-endpoint = <&funnel_lpass_in_tpdm_lpass>;
			};
		};
	};

	tpdm_center: tpdm@6c28000 {
		compatible = "qcom,coresight-tpdm";
		reg = <0x6c28000 0x1000>;