twx-linux/include/linux/soc
Peter Ujfalusi 8c42379e40 soc: ti: k3-ringacc: Use correct device for allocation in RING mode
In RING mode the ringacc does not access the ring memory. In this access
mode the ringacc coherency does not have meaning.

If the ring is configured in RING mode, then the ringacc itself will not
access to the ring memory. Only the requester (user) of the ring is going
to read/write to the memory.
Extend the ring configuration parameters with a device pointer to be used
for DMA API when the ring is configured in RING mode.

Extending the ring configuration struct will allow per ring selection of
device to be used for allocation, thus allowing per ring coherency.

To avoid regression, fall back to use the ringacc dev in case the alloc_dev
is not provided.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
2020-11-01 19:38:05 -08:00
..
actions
amlogic
brcmstb
cirrus
dove
ixp4xx
mediatek ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
mmp
nxp
qcom regulator: qcom_smd: Add PM660/PM660L regulator support 2020-10-01 21:25:25 +01:00
renesas
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: Use correct device for allocation in RING mode 2020-11-01 19:38:05 -08:00