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

Commit 31d49e1c authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

ARM: dts: msm: Add stop_ack gpio support for lpass and pronto



The stop ack IRQ is a SMP2P GPIO interrupt that is triggered
when a subsystem acknowledges the receipt and processing of the
force stop gpio.
Currently, only modem uses this and is the only one with the
stop_ack gpio property in its dt entry. Add the property to LPASS
and PRONTO subsystem dt entries.

Change-Id: I731d39b7cbc7dbcc0fc574862d4dfc88fb26b729
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 864a3256
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -19,6 +19,8 @@ Optional properties:
- qti,gpio-err-ready: GPIO used by the wcnss to indicate error ready to the Apps.
- qti,gpio-proxy-unvote: GPIO used by the wcnss to trigger proxy unvoting in
  the Apps
- qti,gpio-stop-ack: GPIO used by wcnss to ack force stop or a graceful stop
  to Apps.
- qti,gpio-force-stop: GPIO used by the Apps to force the wcnss to shutdown.

Example:
@@ -37,6 +39,7 @@ Example:
		qti,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>;
		qti,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>;
		qti,proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>;
		qti,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_4_in 3 0>;

		/* GPIO output to wcnss */
		qti,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@ Optional properties:
- qti,gpio-err-fatal: GPIO used by the lpass to indicate error fatal to the apps.
- qti,gpio-err-ready: GPIO used by the lpass to indicate apps error service is ready.
- qti,gpio-proxy-unvote: GPIO used by the lpass to indicate apps clock is ready.
- qti,gpio-stop-ack: GPIO used by lpass to ack force stop or a graceful stop
  to Apps.
- qti,gpio-force-stop: GPIO used by the apps to force the lpass to shutdown.

Example:
@@ -37,6 +39,7 @@ Example:
		/* GPIO inputs from lpass */
		qti,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
		qti,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
		qti,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;

		/* GPIO output to lpass */
		qti,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
+1 −0
Original line number Diff line number Diff line
@@ -2034,6 +2034,7 @@
		qti,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
		qti,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
		qti,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
		qti,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;

		/* GPIO output to lpass */
		qti,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
+1 −0
Original line number Diff line number Diff line
@@ -538,6 +538,7 @@
		qti,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
		qti,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
		qti,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
		qti,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;

		/* GPIO output to lpass */
		qti,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
+2 −0
Original line number Diff line number Diff line
@@ -1086,6 +1086,7 @@
		qti,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>;
		qti,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>;
		qti,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>;
		qti,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_4_in 3 0>;

		/* GPIO output to wcnss */
		qti,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>;
@@ -1110,6 +1111,7 @@
		qti,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>;
		qti,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>;
		qti,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>;
		qti,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>;

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