Skip to content

Commit b6d39cd

Browse files
Fabrizio Castrojoergroedel
authored andcommitted
iommu/ipmmu-vmsa: Hook up r8a774c0 DT matching code
Support RZ/G2E (a.k.a. R8A774C0) IPMMU. Signed-off-by: Fabrizio Castro <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
1 parent a6cf933 commit b6d39cd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/iommu/ipmmu-vmsa.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,7 @@ static int ipmmu_init_platform_device(struct device *dev,
753753

754754
static const struct soc_device_attribute soc_rcar_gen3[] = {
755755
{ .soc_id = "r8a774a1", },
756+
{ .soc_id = "r8a774c0", },
756757
{ .soc_id = "r8a7795", },
757758
{ .soc_id = "r8a7796", },
758759
{ .soc_id = "r8a77965", },
@@ -763,6 +764,7 @@ static const struct soc_device_attribute soc_rcar_gen3[] = {
763764
};
764765

765766
static const struct soc_device_attribute soc_rcar_gen3_whitelist[] = {
767+
{ .soc_id = "r8a774c0", },
766768
{ .soc_id = "r8a7795", .revision = "ES3.*" },
767769
{ .soc_id = "r8a77965", },
768770
{ .soc_id = "r8a77990", },
@@ -971,6 +973,9 @@ static const struct of_device_id ipmmu_of_ids[] = {
971973
}, {
972974
.compatible = "renesas,ipmmu-r8a774a1",
973975
.data = &ipmmu_features_rcar_gen3,
976+
}, {
977+
.compatible = "renesas,ipmmu-r8a774c0",
978+
.data = &ipmmu_features_rcar_gen3,
974979
}, {
975980
.compatible = "renesas,ipmmu-r8a7795",
976981
.data = &ipmmu_features_rcar_gen3,

0 commit comments

Comments
 (0)