mbox series

[U-Boot,0/5] remoteproc: cleanup k3_rpoc driver

Message ID 20190529052413.32004-1-lokeshvutla@ti.com
Headers show
Series remoteproc: cleanup k3_rpoc driver | expand

Message

Lokesh Vutla May 29, 2019, 5:24 a.m. UTC
This series introduces generic proc helpers for controlling remotecores
using TISCI protocol. Update the k3_rproc driver to use this generic
proc helpers and rename it ti_k3_arm64_rproc as it is controlling arm64
core on k3 devices. This acts as base series for the other remoteprocs
(like r5s, c66x and c7x) drivers for J721e SoC.

This series also updates the 'rproc init' to probe and init devices individually.

Sandbox test for the 'rpoc init' update: https://pastebin.ubuntu.com/p/tBSp95sKsC/

Lokesh Vutla (5):
  cmd: remoteproc: Add support for initializing devices individually
  cmd: remoteproc: Allow list command to print the probed devices
  remoteproc: tisci: add TI-SCI processor control helper functions
  remoteproc: k3_rproc: Update the driver to use ti_sci_proc helpers
  remoteproc: k3_rproc: Rename to ti_k3_arm64_rproc

 cmd/remoteproc.c                              |  32 +++--
 configs/am65x_evm_a53_defconfig               |   1 -
 configs/am65x_evm_r5_defconfig                |   2 +-
 configs/am65x_hs_evm_a53_defconfig            |   1 -
 configs/am65x_hs_evm_r5_defconfig             |   2 +-
 drivers/remoteproc/Kconfig                    |  20 +--
 drivers/remoteproc/Makefile                   |   2 +-
 .../{k3_rproc.c => ti_k3_arm64_rproc.c}       | 136 ++++++++----------
 drivers/remoteproc/ti_sci_proc.h              | 121 ++++++++++++++++
 9 files changed, 217 insertions(+), 100 deletions(-)
 rename drivers/remoteproc/{k3_rproc.c => ti_k3_arm64_rproc.c} (56%)
 create mode 100644 drivers/remoteproc/ti_sci_proc.h