[U-Boot] [PATCH V3 1/4] drivers: Introduce a simplified remoteproc framework

Simon Glass sjg at chromium.org
Fri Oct 2 00:49:46 CEST 2015


On Thursday, 17 September 2015, Nishanth Menon <nm at ti.com> wrote:
>
> Many System on Chip(SoC) solutions are complex with multiple processors
> on the same die dedicated to either general purpose of specialized
> functions. Many examples do exist in today's SoCs from various vendors.
> Typical examples are micro controllers such as an ARM M3/M0 doing a
> offload of specific function such as event integration or power
> management or controlling camera etc.
>
> Traditionally, the responsibility of loading up such a processor with a
> firmware and communication has been with a High Level Operating
> System(HLOS) such as Linux. However, there exists classes of products
> where Linux would need to expect services from such a processor or the
> delay of Linux and operating system being able to load up such a
> firmware is unacceptable.
>
> To address these needs, we need some minimal capability to load such a
> system and ensure it is started prior to an Operating System(Linux or
> any other) is started up.
>
> NOTE: This is NOT meant to be a solve-all solution, instead, it tries to
> address certain class of SoCs and products that need such a solution.
>
> A very simple model is introduced here as part of the initial support
> that supports microcontrollers with internal memory (no MMU, no
> execution from external memory, or specific image format needs). This
> basic framework can then (hopefully) be extensible to other complex SoC
> processor support as need be.
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Nishanth Menon <nm at ti.com>
> ---
>
> Changes since V2:(review comment updates)
>         - Changes to warning for "non-dt" users - lowercase, remove XXX
>         - Move function documentation to header for exported functions
>         - Picked up Simon's reviewed tag from V2
>
> V2: https://patchwork.ozlabs.org/patch/511748/
> V1: https://patchwork.ozlabs.org/patch/510198/
>
>  common/Kconfig                                     |   5 +
>  common/Makefile                                    |   1 +
>  common/cmd_remoteproc.c                            | 281 ++++++++++++++
>  doc/device-tree-bindings/remoteproc/remoteproc.txt |  14 +
>  doc/driver-model/remoteproc-framework.txt          | 168 +++++++++
>  drivers/Kconfig                                    |   2 +
>  drivers/Makefile                                   |   1 +
>  drivers/remoteproc/Kconfig                         |  15 +
>  drivers/remoteproc/Makefile                        |   7 +
>  drivers/remoteproc/rproc-uclass.c                  | 417 +++++++++++++++++++++
>  include/dm/uclass-id.h                             |   1 +
>  include/remoteproc.h                               | 162 ++++++++
>  12 files changed, 1074 insertions(+)
>  create mode 100644 common/cmd_remoteproc.c
>  create mode 100644 doc/device-tree-bindings/remoteproc/remoteproc.txt
>  create mode 100644 doc/driver-model/remoteproc-framework.txt
>  create mode 100644 drivers/remoteproc/Kconfig
>  create mode 100644 drivers/remoteproc/Makefile
>  create mode 100644 drivers/remoteproc/rproc-uclass.c
>  create mode 100644 include/remoteproc.h
>
>
 Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list