iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code
authorMarian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Tue, 14 Jul 2020 10:20:54 +0000 (11:20 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 22 Jul 2020 12:58:44 +0000 (14:58 +0200)
Add support for RZ/G2H (R8A774E1) SoC IPMMUs.

Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/1594722055-9298-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c

index b57b1f2..8072db8 100644 (file)
@@ -740,6 +740,7 @@ static const struct soc_device_attribute soc_rcar_gen3[] = {
        { .soc_id = "r8a774a1", },
        { .soc_id = "r8a774b1", },
        { .soc_id = "r8a774c0", },
+       { .soc_id = "r8a774e1", },
        { .soc_id = "r8a7795", },
        { .soc_id = "r8a7796", },
        { .soc_id = "r8a77965", },
@@ -752,6 +753,7 @@ static const struct soc_device_attribute soc_rcar_gen3[] = {
 static const struct soc_device_attribute soc_rcar_gen3_whitelist[] = {
        { .soc_id = "r8a774b1", },
        { .soc_id = "r8a774c0", },
+       { .soc_id = "r8a774e1", },
        { .soc_id = "r8a7795", .revision = "ES3.*" },
        { .soc_id = "r8a77961", },
        { .soc_id = "r8a77965", },
@@ -964,6 +966,9 @@ static const struct of_device_id ipmmu_of_ids[] = {
        }, {
                .compatible = "renesas,ipmmu-r8a774c0",
                .data = &ipmmu_features_rcar_gen3,
+       }, {
+               .compatible = "renesas,ipmmu-r8a774e1",
+               .data = &ipmmu_features_rcar_gen3,
        }, {
                .compatible = "renesas,ipmmu-r8a7795",
                .data = &ipmmu_features_rcar_gen3,