]> git.baikalelectronics.ru Git - kernel.git/commit
soc: qcom: ipa: modem and microcontroller
authorAlex Elder <elder@linaro.org>
Fri, 6 Mar 2020 04:28:27 +0000 (22:28 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 05:07:10 +0000 (22:07 -0700)
commit4ba8acc329b9e1473f952f515d36fd33d480f686
treea31e244fa38bf84836041a5f23852426dceda81b
parentd5e327fd53c1fb8bb53798f47ec05f41858ffda2
soc: qcom: ipa: modem and microcontroller

This patch includes code implementing the modem functionality.
There are several communication paths between the AP and modem,
separate from the main data path provided by IPA.  SMP2P provides
primitive messaging and interrupt capability, and QMI allows more
complex out-of-band messaging to occur between entities on the AP
and modem.  (SMP2P and QMI support are added by the next patch.)
Management of these (plus the network device implementing the data
path) is done by code within "ipa_modem.c".

Sort of unrelated, this patch also includes the code supporting the
microcontroller CPU present on the IPA.  The microcontroller can be
used to implement special handling of packets, but at this time we
don't support that.  Still, it is a component that needs to be
initialized, and in the event of a crash we need to do some
synchronization between the AP and the microcontroller.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_modem.c [new file with mode: 0644]
drivers/net/ipa/ipa_modem.h [new file with mode: 0644]
drivers/net/ipa/ipa_uc.c [new file with mode: 0644]
drivers/net/ipa/ipa_uc.h [new file with mode: 0644]