2021-09-23 19:13:39

by Nikita Yushchenko

[permalink] [raw]
Subject: [PATCH] iommu/ipmmu-vmsa: Hook up r8a77980 DT matching code

Add r8a77980 (R-Car V3H) to the list of supported devices. The hardware
is the same as on already-supportred V3M and other R-Car Gen3 chips.

Signed-off-by: Nikita Yushchenko <[email protected]>
---
drivers/iommu/ipmmu-vmsa.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index d38ff29a76e8..8455db3704ef 100644
--- a/drivers/iommu/ipmmu-vmsa.c
+++ b/drivers/iommu/ipmmu-vmsa.c
@@ -953,6 +953,9 @@ static const struct of_device_id ipmmu_of_ids[] = {
}, {
.compatible = "renesas,ipmmu-r8a77970",
.data = &ipmmu_features_rcar_gen3,
+ }, {
+ .compatible = "renesas,ipmmu-r8a77980",
+ .data = &ipmmu_features_rcar_gen3,
}, {
.compatible = "renesas,ipmmu-r8a77990",
.data = &ipmmu_features_rcar_gen3,
--
2.30.2


2021-09-28 09:46:19

by Joerg Roedel

[permalink] [raw]
Subject: Re: [PATCH] iommu/ipmmu-vmsa: Hook up r8a77980 DT matching code

On Thu, Sep 23, 2021 at 10:11:16PM +0300, Nikita Yushchenko wrote:
> drivers/iommu/ipmmu-vmsa.c | 3 +++
> 1 file changed, 3 insertions(+)

Applied, thanks.