iommu/ipmmu-vmsa: Hook up r8a77990 DT matching code
authorHai Nguyen Pham <hai.pham.ud@renesas.com>
Wed, 17 Oct 2018 09:13:22 +0000 (11:13 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 6 Nov 2018 15:39:13 +0000 (16:39 +0100)
Support the R-Car E3 (r8a77990) IPMMU.

Signed-off-by: Hai Nguyen Pham <hai.pham.ud@renesas.com>
Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
[simon: rebased; dropped no longer required IOMMU_OF_DECLARE hunk]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c

index b98a031..e0adf5d 100644 (file)
@@ -762,6 +762,7 @@ static const struct soc_device_attribute soc_rcar_gen3[] = {
        { .soc_id = "r8a7796", },
        { .soc_id = "r8a77965", },
        { .soc_id = "r8a77970", },
+       { .soc_id = "r8a77990", },
        { .soc_id = "r8a77995", },
        { /* sentinel */ }
 };
@@ -949,6 +950,9 @@ static const struct of_device_id ipmmu_of_ids[] = {
        }, {
                .compatible = "renesas,ipmmu-r8a77970",
                .data = &ipmmu_features_rcar_gen3,
+       }, {
+               .compatible = "renesas,ipmmu-r8a77990",
+               .data = &ipmmu_features_rcar_gen3,
        }, {
                .compatible = "renesas,ipmmu-r8a77995",
                .data = &ipmmu_features_rcar_gen3,