Loading Documentation/devicetree/bindings/arm/msm/sdx-ext-ipc.txt 0 → 100644 +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>; }; arch/arm/configs/vendor/sdxprairie-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading arch/arm/configs/vendor/sdxprairie_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading arch/arm64/boot/dts/qcom/sdxprairie.dtsi +7 −0 Original line number Diff line number Diff line Loading @@ -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" Loading drivers/soc/qcom/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
Documentation/devicetree/bindings/arm/msm/sdx-ext-ipc.txt 0 → 100644 +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>; };
arch/arm/configs/vendor/sdxprairie-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
arch/arm/configs/vendor/sdxprairie_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
arch/arm64/boot/dts/qcom/sdxprairie.dtsi +7 −0 Original line number Diff line number Diff line Loading @@ -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" Loading
drivers/soc/qcom/Kconfig +10 −0 Original line number Diff line number Diff line Loading @@ -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