iommu: dart: Support different variants with different registers
authorHector Martin <marcan@marcan.st>
Fri, 13 Jan 2023 10:50:29 +0000 (19:50 +0900)
committerJoerg Roedel <jroedel@suse.de>
Fri, 20 Jan 2023 09:35:49 +0000 (10:35 +0100)
commitb76c68fcb44025c1b6ee329fa00738a4e9420d57
treecdec9d633edff45fa2624aa7d001d34bc2f6285c
parenta772a02c18342bcc14bdc499ca400c2139b4ddde
iommu: dart: Support different variants with different registers

T8110 has a new register layout. To accommodate this, first move all the
register offsets to the hw structure, and rename all the existing
registers to DART_T8020_*.

Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Hector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/20230113105029.26654-7-marcan@marcan.st
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/apple-dart.c