linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/4] STE-modem remoteproc driver
@ 2012-06-22 14:31 sjur.brandeland
  2012-06-22 14:31 ` [RFC 1/4] remoteproc: Bugfix assign device address to carveout (noiommu) sjur.brandeland
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: sjur.brandeland @ 2012-06-22 14:31 UTC (permalink / raw)
  To: Ohad Ben-Cohen
  Cc: linux-kernel, Arnd Bergmann, Linus Walleij, Sjur Brændeland,
	Sjur Brændeland

From: Sjur Brændeland <sjur.brandeland@stericsson.com>

Hi Ohad,

This is the initial stab on the remoteproc driver for ST-Ericsson modems.
Please let me know what you think.

remoteproc_ste_modem features:
For kicking to work I need to declare what IDs I'm currently using, so I had to
iterate over the rproc->notifyids to find the IDs. 

A sysfs file is introduced for switching on/off the modem, as modem
start-up must be controlled from user space. 

As mentioned before I need the firmware to be allocated first in the shared
memory are. So in order to reserve  space for firmware at the start of the
memory region, I had to allocate dma memory before calling rproc_register(),
and then releasing it afterward.


I do not yet have an implementation of the stemod_kick module available. It
might take a while before this is upstreamed. The stemod_kick functions are
looked up dynamically so this is not a build issue.

The platform device is not yet upstreamed either. But it should be pretty simple,
it basically just provides the shared memory area to the driver.

I also included one fix in this patch-set. It doesn't seems like carveout for
non-iommu is working correctly. I added a simple patch for this.
Let me know what you think, and how to proceed for this fix.

Best regards,
Sjur Brændeland

Sjur Brændeland (4):
  remoteproc: Bugfix assign device address to carveout (noiommu)
  remoteproc: Add custom STE-modem firmware loader.
  remoteproc: Add API (header file) for kicking STE modems
  remoteproc: Add driver for STE Modem

 drivers/remoteproc/Kconfig                       |   10 +
 drivers/remoteproc/Makefile                      |    3 +
 drivers/remoteproc/remoteproc_core.c             |    4 +
 drivers/remoteproc/remoteproc_internal.h         |    1 +
 drivers/remoteproc/remoteproc_ste_modem_loader.c |  179 ++++++++++++
 drivers/remoteproc/ste_modem_rproc.c             |  333 ++++++++++++++++++++++
 drivers/remoteproc/stemod_kick.h                 |  113 ++++++++
 7 files changed, 643 insertions(+), 0 deletions(-)
 create mode 100644 drivers/remoteproc/remoteproc_ste_modem_loader.c
 create mode 100644 drivers/remoteproc/ste_modem_rproc.c
 create mode 100644 drivers/remoteproc/stemod_kick.h

-- 
1.7.5.4


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2012-12-10 18:08 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22 14:31 [RFC 0/4] STE-modem remoteproc driver sjur.brandeland
2012-06-22 14:31 ` [RFC 1/4] remoteproc: Bugfix assign device address to carveout (noiommu) sjur.brandeland
2012-06-30 14:17   ` Ohad Ben-Cohen
2012-07-02 15:11     ` Sjur BRENDELAND
2012-07-02 15:14       ` Ohad Ben-Cohen
2012-07-15 10:11         ` Ohad Ben-Cohen
2012-08-08 17:55   ` Sjur Brændeland
2012-08-09 19:54     ` Ohad Ben-Cohen
2012-08-09 20:35       ` Sjur Brændeland
2012-08-10 15:30         ` Ohad Ben-Cohen
2012-08-11 12:34           ` Ohad Ben-Cohen
2012-12-06 19:45             ` Sjur Brændeland
2012-12-10 18:07               ` Ohad Ben-Cohen
2012-06-22 14:31 ` [RFC 2/4] remoteproc: Add custom STE-modem firmware loader sjur.brandeland
2012-06-22 14:31 ` [RFC 3/4] remoteproc: Add API (header file) for kicking STE modems sjur.brandeland
2012-06-22 14:31 ` [RFC 4/4] remoteproc: Add driver for STE Modem sjur.brandeland
2012-07-01 11:32   ` Ohad Ben-Cohen
2012-07-02 15:22     ` Sjur BRENDELAND
2012-07-05 12:13       ` Ohad Ben-Cohen
2012-07-06  9:18         ` Sjur BRENDELAND
2012-07-06 17:55           ` Ohad Ben-Cohen
2012-08-14 17:06         ` Sjur BRENDELAND

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).