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

Commit cd4e9ec7 authored by Pushkar Joshi's avatar Pushkar Joshi
Browse files

ARM: dts: msm: Add support for PIL smp2p gpios for MSM8992



Add the support to handle various gpio interrupts sent between apps
and lpass/mss and handled by the corresponding PIL driver.

Change-Id: I6477476673711977085db68ffd0eda4c8358b23b
Signed-off-by: default avatarPushkar Joshi <pushkarj@codeaurora.org>
parent 5856d862
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -178,6 +178,7 @@
};

#include "msm-gdsc.dtsi"
#include "msm8994-smp2p.dtsi"
#include "msm8992-mdss.dtsi"
#include "msm8992-gpu.dtsi"
&soc {
@@ -671,6 +672,15 @@
		qcom,ssctl-instance-id = <0x12>;
		qcom,override-acc;

		/* GPIO inputs from mss */
		qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>;
		qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>;
		qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>;
		qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>;

		/* GPIO output to mss */
		qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>;

		linux,contiguous-region = <&modem_mem>;
	};

@@ -694,6 +704,15 @@
		qcom,ssctl-instance-id = <0x14>;
		qcom,firmware-name = "adsp";

		/* GPIO inputs from lpass */
		qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
		qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
		qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
		qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;

		/* GPIO output to lpass */
		qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;

		linux,contiguous-region = <&peripheral_mem>;
	};