OSDN Git Service

soc: qcom: ipa: clocking, interrupts, and memory
authorAlex Elder <elder@linaro.org>
Fri, 6 Mar 2020 04:28:19 +0000 (22:28 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 05:07:09 +0000 (22:07 -0700)
commitba764c4dad7bde2acdb5a123914d08aaba85245b
tree9d71707d8e9b045fc431886eee8381221dfd5b80
parent1ed7d0c0fdbacc679d8a934e27161bc0787533c4
soc: qcom: ipa: clocking, interrupts, and memory

This patch incorporates three source files (and their headers).  They're
grouped into one patch mainly for the purpose of making the number and
size of patches in this series somewhat reasonable.

  - "ipa_clock.c" and "ipa_clock.h" implement clocking for the IPA device.
    The IPA has a single core clock managed by the common clock framework.
    In addition, the IPA has three buses whose bandwidth is managed by the
    Linux interconnect framework.  At this time the core clock and all
    three buses are either on or off; we don't yet do any more fine-grained
    management than that.  The core clock and interconnects are enabled
    and disabled as a unit, using a unified clock-like abstraction,
    ipa_clock_get()/ipa_clock_put().

  - "ipa_interrupt.c" and "ipa_interrupt.h" implement IPA interrupts.
    There are two hardware IRQs used by the IPA driver (the other is
    the GSI interrupt, described in a separate patch).  Several types
    of interrupt are handled by the IPA IRQ handler; these are not part
    of data/fast path.

  - The IPA has a region of local memory that is accessible by the AP
    (and modem).  Within that region are areas with certain defined
    purposes.  "ipa_mem.c" and "ipa_mem.h" define those regions, and
    implement their initialization.

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