From 0dce01e31ce70d67235ac2665c506fd6be9dba4d Mon Sep 17 00:00:00 2001 From: Yogesh Lal Date: Thu, 17 Jun 2021 17:26:10 +0530 Subject: [PATCH] bindings: arm: msm: Add documentation for sdx ipc driver This is a snapshot of the sdx ipc driverdriver as of msm-4.14 commit a5650700 ("drivers: qcom: sdx_ext_ipc: keep wakeup irq always on"). Change-Id: I27eb35b33284be8c221cd873323a488101a2f5e8 --- bindings/arm/msm/sdx-ext-ipc.txt | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 bindings/arm/msm/sdx-ext-ipc.txt diff --git a/bindings/arm/msm/sdx-ext-ipc.txt b/bindings/arm/msm/sdx-ext-ipc.txt new file mode 100644 index 000000000000..76b230ed8b41 --- /dev/null +++ b/bindings/arm/msm/sdx-ext-ipc.txt @@ -0,0 +1,34 @@ +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". + +Optional named gpio properties: +- qcom,status-out-gpio: gpio to indicate the boot status to remote processor. + +- qcom,status-in-gpio: gpio for remote processor to indicate the boot status. + +- qcom,status-out2-gpio: gpio to indicate to remote processor that it is in + E911 call or doing firmware upgrade. + +- qcom,default-policy-nop: Set default policy from PANIC to NOP. + +- qcom,wakeup-gpio-out: gpio to wakeup remote AP or modem. + +- qcom,wakeup-gpio-in: input gpio to receive wakeup signal from remote AP or + modem. + +Example: + sdx_ext_ipc: qcom,sdx_ext_ipc { + compatible = "qcom,sdx-ext-ipc"; + qcom,status-in-gpio = <&tlmm 64 0x00>; + qcom,status-out-gpio = <&tlmm 63 0x00>; + qcom,status-out2-gpio = <&tlmm 66 0x00>; + qcom,wakeup-gpio-in = <&tlmm 67 0x00>; + qcom,wakeup-gpio-out = <&tlmm 68 0x00>; + };