]> git.baikalelectronics.ru Git - uboot.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)
commit25a21ffeda6b672ba139446c8bcbe28bc8c08fa9
treecc3fd11f55a3a0f262d5b4c28fe2c85dee448dbe
parent30b98341df23a4c611e6a384aee6b873ad5ad8f8
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