linux-stable/drivers/remoteproc
Dave Gerlach fec47d8635 remoteproc: introduce rproc_get_by_phandle API
Allow users of remoteproc the ability to get a handle to an rproc by
passing a phandle supplied in the user's device tree node. This is
useful in situations that require manual booting of the rproc.

This patch uses the code removed by commit 40e575b1d0 ("remoteproc:
remove the get_by_name/put API") for the ref counting but is modified
to use a simple list and locking mechanism and has rproc_get_by_name
replaced with an rproc_get_by_phandle API.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
[fix order of Signed-off-by tags]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
2015-06-16 21:12:52 +03:00
..
da8xx_remoteproc.c remoteproc/davinci: fix quoted split string checkpatch warning 2015-05-02 11:04:56 +03:00
Kconfig remoteproc: da8xx: don't select CMA on no-MMU 2014-06-17 17:09:36 +02:00
Makefile remoteproc/davinci: add a remoteproc driver for OMAP-L13x DSP 2013-04-15 09:23:40 +03:00
omap_remoteproc.c remoteproc: add IOMMU hardware capability flag 2015-03-12 10:43:26 +02:00
omap_remoteproc.h remoteproc/omap: add a remoteproc driver for OMAP4 2012-02-08 22:53:47 +02:00
remoteproc_core.c remoteproc: introduce rproc_get_by_phandle API 2015-06-16 21:12:52 +03:00
remoteproc_debugfs.c remoteproc: fix checkpatch errors in remoteproc code 2013-06-30 11:33:05 +03:00
remoteproc_elf_loader.c remoteproc: add find_loaded_rsc_table firmware ops 2013-04-05 08:49:52 +03:00
remoteproc_internal.h remoteproc: fix various checkpatch warnings 2015-05-02 11:07:34 +03:00
remoteproc_virtio.c virtio: allow finalize_features to fail 2014-12-09 16:32:32 +02:00
ste_modem_rproc.c remoteproc/ste: add blank lines after declarations 2015-05-02 11:03:07 +03:00