On Tue, Jan 16, 2018 at 10:25 PM, Jeffy Chen <jeffy.c...@rock-chips.com> wrote: > Use the first registered IOMMU device for dma mapping operations, and > drop the domain platform device. > > This is similar to exynos iommu driver. > > Signed-off-by: Jeffy Chen <jeffy.c...@rock-chips.com> > --- > > Changes in v2: None > > drivers/iommu/rockchip-iommu.c | 91 > +++++++++++------------------------------- > 1 file changed, 24 insertions(+), 67 deletions(-)
Looks good to me, but we need to remove platform driver .remove(), as it was done for Exynos IOMMU as well. With that fixed (probably squashed to the patch that prohibits unbind): Reviewed-by: Tomasz Figa <tf...@chromium.org> Best regards, Tomasz