]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xshm: Platform device for XSHM
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Wed, 7 Dec 2011 09:28:05 +0000 (10:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Dec 2011 12:20:06 +0000 (13:20 +0100)
commit4f95a87ebab657e46509f3d598936db60086b579
tree68630cdca04933671e5738ee7a3de466b90e5736
parente825c30b153fadf06a9c039077d7e67d258c02c7
xshm: Platform device for XSHM

This patch implements the configuration handling and interface to XSHM
drivers. Specifically:
- reception of gen-netlink requests from user-space.
- calculating address of where to put information in shared memory, i.e
  the offset of: IPC-TOC, channel-descriptors, read/write indexes for each
  directional channel, and data area of each channel.
- formatting of the shared memory area, so modem can read out configuration
  data.
- Creation of configuration data given to the XSHM drivers: xshm_chr and
  caif_xshm.
- Platform device management.
- Channel management such as open/close.
- Modem start-up synchronization events.
- C2C power request indications, requesting power-on when transmit is ongoing,
  and power-off upon inactivity timeout.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/xshm/xshm_boot.c [new file with mode: 0644]
drivers/xshm/xshm_dev.c [new file with mode: 0644]