]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/remoteproc.git/commit
remoteproc/k3-r5: Add TI-SCI processor control helper functions
authorSuman Anna <s-anna@ti.com>
Fri, 3 Jan 2020 18:15:04 +0000 (12:15 -0600)
committerSuman Anna <s-anna@ti.com>
Mon, 13 Jan 2020 19:05:31 +0000 (13:05 -0600)
commita508daf0d3effd823cb40b9ee0a8a8c88d6f92b7
treee2f2647bd64e64c6f28e4c0b0be8a4bcc616d4e2
parent698764a675d8bbec60984aed44782fb5321cb2e9
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]