OpenCloudOS-Kernel/include/linux/soc/ti
Grygorii Strashko d782298c6f soc: ti: k3-ringacc: add AM64 DMA rings support.
The DMAs in AM64 have built in rings compared to AM654/J721e/J7200 where a
separate and generic ringacc is used.

The ring SW interface is similar to ringacc with some major architectural
differences, like

They are part of the DMA (BCDMA or PKTDMA).

They are 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).

The ringacc driver must be initialized for DMA rings use with
k3_ringacc_dmarings_init() as it is not an independent device as ringacc
is.

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: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20201208090440.31792-17-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-12-11 21:20:09 +05:30
..
k3-ringacc.h soc: ti: k3-ringacc: add AM64 DMA rings support. 2020-12-11 21:20:09 +05:30
knav_dma.h soc: ti: K2G: provide APIs to support driver probe deferral 2018-04-18 21:00:56 -04:00
knav_qmss.h include/: replace HTTP links with HTTPS ones 2020-08-12 10:57:59 -07:00
ti-msgmgr.h include/: replace HTTP links with HTTPS ones 2020-08-12 10:57:59 -07:00
ti_sci_inta_msi.h firmware: ti_sci: Replace HTTP links with HTTPS ones 2020-07-24 14:44:52 -07:00
ti_sci_protocol.h firmware: ti_sci: rm: Remove unused config() from ti_sci_rm_ringacc_ops 2020-11-01 19:38:04 -08:00