]> git.dujemihanovic.xyz Git - u-boot.git/commit
soc: ti: k3-navss-ringacc: Add support for native configuration of rings
authorVignesh Raghavendra <vigneshr@ti.com>
Mon, 7 Jun 2021 14:17:52 +0000 (19:47 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Fri, 11 Jun 2021 13:48:52 +0000 (19:18 +0530)
commit86e58800fd7cdba4fa9229aeee3a54a2ccece406
treecc3fd11f55a3a0f262d5b4c28fe2c85dee448dbe
parent2af181b53e286e90c3b36ba608c1c7b209e8ad8e
soc: ti: k3-navss-ringacc: Add support for native configuration of rings

In absence of Device Manager (DM) services such as at R5 SPL stage,
driver will have to natively setup Ring Cfg registers. Add support for
the same.

Note that we still need to send RING_CFG message to TIFS via TISCI
client driver in order to open up firewalls around Rings.

U-Boot specific code is in a separate file included in main driver so
as to maintain similarity with kernel driver in order to ease porting of
code in future.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210607141753.28796-7-vigneshr@ti.com
drivers/soc/ti/k3-navss-ringacc-u-boot.c [new file with mode: 0644]
drivers/soc/ti/k3-navss-ringacc.c