iommu/ipmmu-vmsa: Hook up R8A774A1 DT maching code
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Thu, 23 Aug 2018 15:33:04 +0000 (16:33 +0100)
committerJoerg Roedel <jroedel@suse.de>
Thu, 8 Nov 2018 14:08:49 +0000 (15:08 +0100)
Add support for RZ/G2M (R8A774A1) SoC IPMMUs.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c

index e0adf5d..aa0de59 100644 (file)
@@ -758,6 +758,7 @@ static bool ipmmu_slave_whitelist(struct device *dev)
 }
 
 static const struct soc_device_attribute soc_rcar_gen3[] = {
+       { .soc_id = "r8a774a1", },
        { .soc_id = "r8a7795", },
        { .soc_id = "r8a7796", },
        { .soc_id = "r8a77965", },
@@ -938,6 +939,9 @@ static const struct of_device_id ipmmu_of_ids[] = {
        {
                .compatible = "renesas,ipmmu-vmsa",
                .data = &ipmmu_features_default,
+       }, {
+               .compatible = "renesas,ipmmu-r8a774a1",
+               .data = &ipmmu_features_rcar_gen3,
        }, {
                .compatible = "renesas,ipmmu-r8a7795",
                .data = &ipmmu_features_rcar_gen3,