diff options
| author | MD Danish Anwar <[email protected]> | 2023-01-06 17:40:43 +0530 |
|---|---|---|
| committer | Mathieu Poirier <[email protected]> | 2023-01-06 09:14:22 -0700 |
| commit | 919e8942548aa878d374b1b51aa68fdf751f18b8 (patch) | |
| tree | 93ee41fcd0eeb366ec72084abc4ac42e71235ece /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 9b9ad70f28675c45ef93cfb6e4af9403cb7bd34c (diff) | |
remoteproc: pru: Add APIs to get and put the PRU cores
Add two new APIs, pru_rproc_get() and pru_rproc_put(), to the PRU
driver to allow client drivers to acquire and release the remoteproc
device associated with a PRU core. The PRU cores are treated as
resources with only one client owning it at a time.
The pru_rproc_get() function returns the rproc handle corresponding
to a PRU core identified by the device tree "ti,prus" property under
the client node. The pru_rproc_put() is the complementary function
to pru_rproc_get().
Signed-off-by: Suman Anna <[email protected]>
Signed-off-by: Tero Kristo <[email protected]>
Signed-off-by: Grzegorz Jaszczyk <[email protected]>
Signed-off-by: MD Danish Anwar <[email protected]>
Reviewed-by: Roger Quadros <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions