]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
soc: ti: pruss: add pruss_{request,release}_mem_region() API
authorAndrew F. Davis <afd@ti.com>
Mon, 11 Jan 2016 22:18:38 +0000 (16:18 -0600)
committerSuman Anna <s-anna@ti.com>
Sun, 24 Feb 2019 01:20:52 +0000 (19:20 -0600)
commit4f15aa9c5c514710d5f07098a5fcdd779c8c49b7
treef381558aaeffeb257e427825a219a833be6c08ac
parent9b0caab5b876ed3350df9b4113fdeac2c949c453
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>
drivers/soc/ti/pruss.c
include/linux/pruss.h
include/linux/pruss_driver.h