Hi, On 23/10/2023 10:00, Michal Orzel wrote:
As for supporting legacy bindings, I think we would be good if we search for #iommu-cells || mmu-masters
For me, it is clear in the device-tree bindings documentation that #iommu-cells will belong to a IOMMU node. It is less clear for mmu-masters, therefore I would rather prefer if we use the compatible to detect legacy bindings.
I am not that concerned to properly remove any nodes using legacy bindings because new platforms should not use it. So we could also keep the existing behavior (i.e. exposing the IOMMU unless it is used by Xen).
Cheers, -- Julien Grall
