Skip to content

Commit 8db07ce

Browse files
Andre-ARMjoergroedel
authored andcommitted
iommu: sun50i: Add H616 compatible string
The IOMMU IP in the Allwinner H616 SoC is *almost* compatible to the H6, but uses a different reset value for the bypass register, and adds some more registers. While a driver *can* be written to support both variants (which we in fact do), the hardware itself is not fully compatible, so we require a separate compatible string. Add the new compatible string to the list, but without changing the behaviour, since the driver already supports both variants. Signed-off-by: Andre Przywara <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 2d1d196 commit 8db07ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/iommu/sun50i-iommu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,7 @@ static int sun50i_iommu_probe(struct platform_device *pdev)
10671067

10681068
static const struct of_device_id sun50i_iommu_dt[] = {
10691069
{ .compatible = "allwinner,sun50i-h6-iommu", },
1070+
{ .compatible = "allwinner,sun50i-h616-iommu", },
10701071
{ /* sentinel */ },
10711072
};
10721073
MODULE_DEVICE_TABLE(of, sun50i_iommu_dt);

0 commit comments

Comments
 (0)