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

Commit d55696ba authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "defconfig: Enable sdx external ipc driver for sdxprairie"

parents 98ba0397 42cb0864
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
Modem chipset attached to Application processor

Modem chipset can be connected to an external apss processor. The control
channel between the two chipsets consists of gpios that can relay the
state of one subsytem to another. Modem can indicate different events
(bootup/crash etc.) to AP and can get the same information from AP.

Required Properties:
- compatible:	"qcom,sdx-ext-ipc".

Required named gpio properties:
- qcom,mdm2ap-status-gpio: gpio for modem to indicate the boot status to APQ.

- qcom,ap2mdm-status-gpio: gpio for APQ to indicate the boot status to modem.



Optional named gpio properties:
- qcom,mdm2ap-status2-gpio: gpio for modem to indicate to APQ that it is in
		E911 call or doing firmware upgrade.

- qcom,ap2mdm-status2-gpio: gpio for APQ to indicate graceful shutdown to modem.

Example:
	sdx_ext_ipc: qcom,sdx_ext_ipc {
		compatible = "qcom,sdx-ext-ipc";
		qcom,ap2mdm-status-gpio = <&tlmm 64 0x00>;
		qcom,ap2mdm-status2-gpio = <&tlmm 65 0x00>;
		qcom,mdm2ap-status-gpio = <&tlmm 63 0x00>;
		qcom,mdm2ap-status2-gpio = <&tlmm 66 0x00>;
	};
+1 −0
Original line number Diff line number Diff line
@@ -396,6 +396,7 @@ CONFIG_SSR_SUBSYS_NOTIF_TIMEOUT=20000
CONFIG_PANIC_ON_SSR_NOTIF_TIMEOUT=y
CONFIG_MSM_BOOT_STATS=y
CONFIG_QCOM_DCC_V2=y
CONFIG_SDX_EXT_IPC=y
CONFIG_QCOM_SECURE_BUFFER=y
CONFIG_QCOM_EUD=y
CONFIG_QCOM_BUS_SCALING=y
+1 −0
Original line number Diff line number Diff line
@@ -407,6 +407,7 @@ CONFIG_SSR_SUBSYS_NOTIF_TIMEOUT=20000
CONFIG_PANIC_ON_SSR_NOTIF_TIMEOUT=y
CONFIG_MSM_BOOT_STATS=y
CONFIG_QCOM_DCC_V2=y
CONFIG_SDX_EXT_IPC=y
CONFIG_QCOM_SECURE_BUFFER=y
CONFIG_QCOM_EUD=y
CONFIG_QCOM_BUS_SCALING=y
+7 −0
Original line number Diff line number Diff line
@@ -1464,6 +1464,13 @@
			qcom,iova-mapping = <0x80000000 0x40000000>;
		};
	};

	sdx_ext_ipc: qcom,sdx_ext_ipc {
		compatible = "qcom,sdx-ext-ipc";
		qcom,ap2mdm-status-gpio = <&tlmm 64 0x00>;
		qcom,mdm2ap-status-gpio = <&tlmm 63 0x00>;
		qcom,mdm2ap-status2-gpio = <&tlmm 66 0x00>;
	};
};

#include "sdxprairie-pm.dtsi"
+10 −0
Original line number Diff line number Diff line
@@ -490,6 +490,16 @@ config MSM_GLADIATOR_ERP

	  If unsure, say N.

config SDX_EXT_IPC
	tristate "QCOM external ipc driver"
	help
	  This enables the module to help modem communicate with external
	  Application processor connected to Qualcomm Technologies, Inc
	  modem chipset. The modem and APQ can understand each other's
	  state by reading ipc gpios.

	  If unsure, say N.

config PANIC_ON_GLADIATOR_ERROR
	depends on MSM_GLADIATOR_ERP
	bool "Panic on GLADIATOR error report"
Loading