]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
remoteproc/k3-r5: add TI-SCI processor control helper functions
authorSuman Anna <s-anna@ti.com>
Tue, 21 Aug 2018 16:09:50 +0000 (11:09 -0500)
committerSuman Anna <s-anna@ti.com>
Wed, 27 Feb 2019 20:35:18 +0000 (14:35 -0600)
commite0c5136b07cd425a464281b98fba633cd29e3b4e
treecfbdf6dfd2ec4e6e01e9c11122e0139e9bc5f346
parenta4fe48d40d2fe2e1c468e431c4a9cd09a1f589a3
remoteproc/k3-r5: add TI-SCI processor control helper functions

Texas Instruments' K3 generation SoCs have specific modules/register
spaces used for configuring the various aspects of a remote processor.
These include power, reset, boot vector and other configuration features
specific to each compute processor present on the SoC. These registers
are managed by the System Controller such as DMSC on K3 AM65x SoCs.

The Texas Instrument's System Control Interface (TI-SCI) Message Protocol
is used to communicate to the System Controller from various compute
processors to invoke specific services provided by the firmware running
on the System Controller.

Add a common processor control interface header file that can be used by
multiple remoteproc drivers. The helper functions within this header file
abstract the various TI SCI protocol ops for the remoteproc drivers, and
allow them to request the System Controller to be able to program and
manage various remote processors on the SoC. The remoteproc drivers are
expected to manage the life-cycle of their ti_sci_proc_dev local
structures.

Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/remoteproc/ti_sci_proc.h [new file with mode: 0644]