• Tero Kristo's avatar
    iommu/omap: add support for late attachment of iommu devices · 604629bc
    Tero Kristo authored
    Current implementation of OMAP IOMMU enforces strict ordering of device
    probe, initiated by iommu and followed by remoteproc later. This doesn't
    work too well with the new setup done with ti-sysc changes which may
    have the devices probed at pretty much any order. To overcome this limitation,
    if iommu has not been probed yet when a consumer tries to attach to it,
    add the device to orphan device list which will be parsed during iommu
    probe to see if any orphan devices should be attached.
    Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
    Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
    604629bc
omap-iommu.h 6.98 KB