]> git.dujemihanovic.xyz Git - u-boot.git/commit
soc: ti: k3-ringacc: Add an API to request pair of rings
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 6 Jul 2020 07:56:23 +0000 (13:26 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 13 Jul 2020 15:28:34 +0000 (20:58 +0530)
commit5d257849987fbeab96bf8cd953cab7c825a9b359
tree10b379164ba8280b32d61ba4500a293b4cfffda6
parentdb08a1df430d5a4f87cc72901b7581b86eb89742
soc: ti: k3-ringacc: Add an API to request pair of rings

Add new API k3_ringacc_request_rings_pair() to request pair of rings at
once, as in the most case Rings are used with DMA channels which required
to request pair of rings - one to feed DMA with descriptors (TX/RX FDQ) and
one to receive completions (RX/TX CQ). This will allow to simplify Ringacc
API users.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/soc/ti/k3-navss-ringacc.c
include/linux/soc/ti/k3-navss-ringacc.h