linux-xiaomi-chiron/include/linux/soc
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
..
actions soc: actions: owl-sps: Factor out owl_sps_set_pg() for power-gating 2017-06-23 17:43:27 +02:00
amlogic drm/meson: drop use of drmP.h 2019-07-17 12:47:57 +02:00
brcmstb soc: brcmstb: biuctrl: Move to early_initcall 2017-12-20 17:37:44 -08:00
cirrus ARM: ep93xx: move pinctrl interfaces into include/linux/soc 2019-04-28 23:08:40 -07:00
dove License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ixp4xx treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00
mediatek ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
mmp soc: mmp: guard include of asm/cputype.h with CONFIG_ARM{,64} 2019-10-21 19:13:56 -07:00
nxp serial: lpc32xx: allow compile testing 2019-08-15 21:34:02 +02:00
qcom regulator: qcom_smd: Add PM660/PM660L regulator support 2020-10-01 21:25:25 +01:00
renesas soc: renesas: rcar-sysc: Drop legacy handling 2018-06-18 12:00:29 +02:00
samsung cpufreq: s3c24xx: move low-level clk reg access into platform code 2020-08-20 17:53:22 +02:00
sunxi
ti soc: ti: k3-ringacc: add AM64 DMA rings support. 2020-12-11 21:20:09 +05:30