author | Andrew F. Davis <afd@ti.com> | |
Mon, 11 Jan 2016 22:18:38 +0000 (16:18 -0600) | ||
committer | Suman Anna <s-anna@ti.com> | |
Sun, 24 Feb 2019 01:20:52 +0000 (19:20 -0600) | ||
commit | 4f15aa9c5c514710d5f07098a5fcdd779c8c49b7 | |
tree | f381558aaeffeb257e427825a219a833be6c08ac | tree | snapshot (tar.xz tar.gz zip) |
parent | 9b0caab5b876ed3350df9b4113fdeac2c949c453 | commit | diff |
soc: ti: pruss: add pruss_{request,release}_mem_region() API
Add two new API - pruss_request_mem_region() & pruss_release_mem_region(),
to the PRUSS platform driver to allow client drivers to acquire and release
the common memory resources present within a PRU-ICSS subsystem. This
allows the client drivers to directly manipulate the respective memories,
as per their design contract with the associated firmware.
Signed-off-by: Andrew F. Davis <afd@ti.com>
[s-anna@ti.com: rename functions, add error checking, comments]
Signed-off-by: Suman Anna <s-anna@ti.com>
Add two new API - pruss_request_mem_region() & pruss_release_mem_region(),
to the PRUSS platform driver to allow client drivers to acquire and release
the common memory resources present within a PRU-ICSS subsystem. This
allows the client drivers to directly manipulate the respective memories,
as per their design contract with the associated firmware.
Signed-off-by: Andrew F. Davis <afd@ti.com>
[s-anna@ti.com: rename functions, add error checking, comments]
Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/soc/ti/pruss.c | diff | blob | history | |
include/linux/pruss.h | diff | blob | history | |
include/linux/pruss_driver.h | diff | blob | history |