iommu/renesas: Add support for r8a77961
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 11 Jun 2020 11:10:30 +0000 (20:10 +0900)
committerJoerg Roedel <jroedel@suse.de>
Tue, 30 Jun 2020 09:35:10 +0000 (11:35 +0200)
Add support for r8a77961 (R-Car M3-W+).

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1591873830-10128-3-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c

index 4c2972f..b57b1f2 100644 (file)
@@ -3,7 +3,7 @@
  * IOMMU API for Renesas VMSA-compatible IPMMU
  * Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
  *
- * Copyright (C) 2014 Renesas Electronics Corporation
+ * Copyright (C) 2014-2020 Renesas Electronics Corporation
  */
 
 #include <linux/bitmap.h>
@@ -753,6 +753,7 @@ static const struct soc_device_attribute soc_rcar_gen3_whitelist[] = {
        { .soc_id = "r8a774b1", },
        { .soc_id = "r8a774c0", },
        { .soc_id = "r8a7795", .revision = "ES3.*" },
+       { .soc_id = "r8a77961", },
        { .soc_id = "r8a77965", },
        { .soc_id = "r8a77990", },
        { .soc_id = "r8a77995", },
@@ -969,6 +970,9 @@ static const struct of_device_id ipmmu_of_ids[] = {
        }, {
                .compatible = "renesas,ipmmu-r8a7796",
                .data = &ipmmu_features_rcar_gen3,
+       }, {
+               .compatible = "renesas,ipmmu-r8a77961",
+               .data = &ipmmu_features_rcar_gen3,
        }, {
                .compatible = "renesas,ipmmu-r8a77965",
                .data = &ipmmu_features_rcar_gen3,