aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>2018-12-13 15:22:44 -0500
committerJoerg Roedel <jroedel@suse.de>2018-12-17 04:25:52 -0500
commitb6d39cd82241bfc14a910eab032c53aabe678df7 (patch)
tree2246276b96ac2f2bc1f30154886623aebaf769c6
parenta6cf933a359f6cf0c642580602a0f5afc40d991a (diff)
iommu/ipmmu-vmsa: Hook up r8a774c0 DT matching code
Support RZ/G2E (a.k.a. R8A774C0) IPMMU. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r--drivers/iommu/ipmmu-vmsa.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 331e86839a8c..f6c419997087 100644
--- a/drivers/iommu/ipmmu-vmsa.c
+++ b/drivers/iommu/ipmmu-vmsa.c
@@ -753,6 +753,7 @@ static int ipmmu_init_platform_device(struct device *dev,
753 753
754static const struct soc_device_attribute soc_rcar_gen3[] = { 754static const struct soc_device_attribute soc_rcar_gen3[] = {
755 { .soc_id = "r8a774a1", }, 755 { .soc_id = "r8a774a1", },
756 { .soc_id = "r8a774c0", },
756 { .soc_id = "r8a7795", }, 757 { .soc_id = "r8a7795", },
757 { .soc_id = "r8a7796", }, 758 { .soc_id = "r8a7796", },
758 { .soc_id = "r8a77965", }, 759 { .soc_id = "r8a77965", },
@@ -763,6 +764,7 @@ static const struct soc_device_attribute soc_rcar_gen3[] = {
763}; 764};
764 765
765static const struct soc_device_attribute soc_rcar_gen3_whitelist[] = { 766static const struct soc_device_attribute soc_rcar_gen3_whitelist[] = {
767 { .soc_id = "r8a774c0", },
766 { .soc_id = "r8a7795", .revision = "ES3.*" }, 768 { .soc_id = "r8a7795", .revision = "ES3.*" },
767 { .soc_id = "r8a77965", }, 769 { .soc_id = "r8a77965", },
768 { .soc_id = "r8a77990", }, 770 { .soc_id = "r8a77990", },
@@ -972,6 +974,9 @@ static const struct of_device_id ipmmu_of_ids[] = {
972 .compatible = "renesas,ipmmu-r8a774a1", 974 .compatible = "renesas,ipmmu-r8a774a1",
973 .data = &ipmmu_features_rcar_gen3, 975 .data = &ipmmu_features_rcar_gen3,
974 }, { 976 }, {
977 .compatible = "renesas,ipmmu-r8a774c0",
978 .data = &ipmmu_features_rcar_gen3,
979 }, {
975 .compatible = "renesas,ipmmu-r8a7795", 980 .compatible = "renesas,ipmmu-r8a7795",
976 .data = &ipmmu_features_rcar_gen3, 981 .data = &ipmmu_features_rcar_gen3,
977 }, { 982 }, {