OSDN Git Service

firmware: xilinx: Add RPU configuration APIs
authorBen Levinsky <ben.levinsky@amd.com>
Mon, 14 Nov 2022 23:39:39 +0000 (15:39 -0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 25 Nov 2022 16:11:47 +0000 (09:11 -0700)
commita5e56980cfb7ecaeb9a207c74e2e90ec544f0bc0
tree7ab8c98a110ff32b096abac34dba7497b4021532
parentda22a04f4727694e2c562ae4eb61daf77eef0427
firmware: xilinx: Add RPU configuration APIs

This patch adds APIs to access to configure RPU and its
processor-specific memory.

That is query the run-time mode of RPU as either split or lockstep as well
as API to set this mode. In addition add APIs to access configuration of
the RPUs' tightly coupled memory (TCM).

Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20221114233940.2096237-6-tanmay.shah@amd.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/firmware/xilinx/zynqmp.c
include/linux/firmware/xlnx-zynqmp.h