u-boot/drivers/remoteproc
Suman Anna 445b45042c remoteproc: k3-r5: Fix rproc init failure on Split-mode _only_ devices
The R5F subsystem/cluster on K3 SoCs can support both LockStep and
Split-modes (superset) or just Split-mode depending on an eFUSE
capability register. The LockStep configuration bit is Read-only
though on Split-mode _only_ devices and as such the System Firmware
does not allow the LockStep mode bit to be configured on such devices.
The current logic in k3_r5f_rproc_configure() fails on Split-mode
devices because of this unconditional programming of the LockStep
mode bit, and results in the probe failure shown during the
"rproc init" step at U-Boot prompt.

Fix this by limiting the LockStep mode bit clear configuration only on
devices supporting both LockStep/Split-modes.

Fixes: 4c850356a8 ("remoteproc: Introduce K3 remoteproc driver for R5F subsystem")
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
2020-03-16 12:33:19 +05:30
..
k3_system_controller.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
Kconfig remoteproc: Introduce K3 C66 and C71 remoteproc driver 2019-10-11 10:07:34 -04:00
Makefile remoteproc: Introduce K3 C66 and C71 remoteproc driver 2019-10-11 10:07:34 -04:00
rproc-elf-loader.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
rproc-uclass.c remoteproc: Allow for individual remoteproc initialization 2018-09-11 08:32:55 -04:00
sandbox_testproc.c remoteproc: ops: Add elf section size as input parameter to device_to_virt api 2019-10-11 10:07:33 -04:00
stm32_copro.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ti_k3_arm64_rproc.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ti_k3_dsp_rproc.c remoteproc: k3-dsp: Add support for L2RAM loading on C66x DSPs 2020-03-16 12:32:47 +05:30
ti_k3_r5f_rproc.c remoteproc: k3-r5: Fix rproc init failure on Split-mode _only_ devices 2020-03-16 12:33:19 +05:30
ti_power_proc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ti_sci_proc.h remoteproc: tisci_proc: Add helper api for controlling core power domain 2019-10-11 10:07:34 -04:00