Commits
Venkateswara Rao Mandela committed 3d706dcbf69
TEMP: iommu/omap: add support for performing a "late attach" The remoteproc module has a concept of "late attach" whereby a remote core is loaded externally to remoteproc, for which remoteproc must attach to the core without disrupting its existing state. Introduce an iommu-based "late attach" model for the same use case. In the "late attach" model, the iommu subsystem is mostly unused since the external loader will have programmed the remote core's mmu, but certain "attach" functionality must be performed so that subsequent "detach" functionality can complete. This logic is detected in the driver through a "ti,late-attach" property set on the IOMMU node in the device tree. The IOMMU node should also have the "ti,no-init-on-reset" and "ti,no-init-on-idle" so that the omap_hwmod and omap_device layers do not reset and idle/disable the device during the initial kernel boot. This "ti,late-attach" is therefore removed from the device tree on the first probe so that further probes or remoteproc recovery boots treat the IOMMU device normally. Signed-off-by: Venkateswara Rao Mandela <venkat.mandela@ti.com> Signed-off-by: Angela Stegmaier <angelabaker@ti.com> Signed-off-by: Subash Lakkimsetti <x0091084@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Shravan Karthik <shravan.karthik@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com>