]> git.dujemihanovic.xyz Git - u-boot.git/commit
soc: ti: k3-navss-ringacc: Add AM64 ringacc support
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 10 May 2021 14:36:03 +0000 (20:06 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 11:06:38 +0000 (16:36 +0530)
commitc409b4932dba6403a706f9453d627abfb5d93e20
treee1ceef89ae0fbaf3d52a18fc56d47536c72dbc2a
parent91f1e792fe085cd14919803b55983b8c760effb0
soc: ti: k3-navss-ringacc: Add AM64 ringacc support

AM64 dual mode rings are modeled as pair of Rings objects which has common
configuration and memory buffer, but separate real-time control register
sets for each direction mem2dev (forward) and dev2mem (reverse).

AM64 rings must be requested only using k3_ringacc_request_rings_pair(),
and forward ring must always be initialized/configured. After this any
other Ringacc APIs can be used without any callers changes.

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