iommu: rockchip: Add support for iommu v2
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Fri, 4 Jun 2021 16:44:41 +0000 (18:44 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 9 Jun 2021 07:48:36 +0000 (09:48 +0200)
commitc55356c534aa651ccc3053ef2d5d8d810adacf5f
tree505d8ee15fa68881efaed83dd554527cc5c7f7c5
parent227014b33f62f93a462f8125038ef6609d7a1572
iommu: rockchip: Add support for iommu v2

This second version of the hardware block has a different bits
mapping for page table entries.
Add the ops matching to this new mapping.
Define a new compatible to distinguish it from the first version.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20210604164441.798362-5-benjamin.gaignard@collabora.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/rockchip-iommu.c