Commits
Suman Anna committed 2194e00b862
remoteproc/k3-r5: fix probe 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 k3_r5_rproc_configure() function is used to configure the R5F remote processors in remoteproc mode, and performs this by requesting the System Firmware as per the requested DT properties. This function initializes identical settings for both cores in LockStep mode by first programming it for Split-mode and then reverting back to LockStep mode after the settings initialization. The Split-mode setting is done on Core0 always irrespective of the mode. 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_r5_rproc_configure() fails on Split-mode devices because of this unconditional programming of the LockStep mode bit. Fix this by limiting the LockStep mode bit clear configuration only on devices supporting both LockStep/Split-modes. Reported-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>