Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1639260ybh; Tue, 14 Jul 2020 03:22:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/934pNxvqvbwyLIg3Xb8UyDT2VhMKWAh1goNK47rOTqIfMGW2QSRhfZIxd8TzWQfb/Hkr X-Received: by 2002:a17:906:3c56:: with SMTP id i22mr3994166ejg.12.1594722155547; Tue, 14 Jul 2020 03:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594722155; cv=none; d=google.com; s=arc-20160816; b=nUbhx59Ohh0pI23gXCfla+Xmt5o9H9fiV2L10GzjC5By+MmEwwdLwcxtRbe5CcfNxw QZzbA4p3+GcND+R4+721auvq7hImNb7NsEGZ7wTP3tTtAj3H6CuzVwqtmjqsUhesdpPo HcG51VpASWGUG+7nocQWGretLqmQOsjcmWvFeLsFoZTKLyh/sGnnoeLZmq94HrobibUY gzTWfpbcKfDfggbAk7cTze1/DFruX0FQcBBamfRZ8D1U+sHml3a7sRxAwrc7dHc5s6lA SgHagMuEI7emBQSNl2ZmLC232L7Ma8RoiMLfBBWhtqkR9nMex0bAv/3uEk6d+f/XyMy1 VgMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Z0vZWiUu01BOXJTBM8lhVrU9va31xn2q+HPRKvlyrb8=; b=ramCefNXwrrgqPRAgRxD/KEB1INbUJ1qPCrv2dxEcNeUJrVotsB/TOPgFPoug+zvv3 CDB/ZKOm1aEkIcH3yUVqxPqatKerA3j41DoAY7sq05dnLNPYhIpZj4pAjKOkXv3Ahzda DiwbtxXSBKe/1Tb7ctbIBzUgK8YUTx8/eESDoizHHi2G4vJDgX9ofQr6NW5tlMJPr3OS gVr892IoPIy4Sge2Jbh2RjUuXKhIb3+4pGdnHzR8mucYmKxj9V/kjLZ1oAopMIq0HtFC jjyBlkXHEUtnStNvu08vKdjDfDFAy381EF2t6Fo9M0KZVlEhPvw5l+w3S233/GJpSJ6n degQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nw19si10587863ejb.264.2020.07.14.03.22.11; Tue, 14 Jul 2020 03:22:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbgGNKVC (ORCPT + 99 others); Tue, 14 Jul 2020 06:21:02 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:20465 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725906AbgGNKVB (ORCPT ); Tue, 14 Jul 2020 06:21:01 -0400 X-IronPort-AV: E=Sophos;i="5.75,351,1589209200"; d="scan'208";a="52086652" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 14 Jul 2020 19:21:00 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 097A2421EC5C; Tue, 14 Jul 2020 19:20:58 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Joerg Roedel , Yoshihiro Shimoda Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 1/2] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code Date: Tue, 14 Jul 2020 11:20:54 +0100 Message-Id: <1594722055-9298-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594722055-9298-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1594722055-9298-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marian-Cristian Rotariu Add support for RZ/G2H (R8A774E1) SoC IPMMUs. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- drivers/iommu/ipmmu-vmsa.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c index b90cd9ff96f6..55c09cb8fc56 100644 --- a/drivers/iommu/ipmmu-vmsa.c +++ b/drivers/iommu/ipmmu-vmsa.c @@ -739,6 +739,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", }, @@ -751,6 +752,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", }, @@ -963,6 +965,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, -- 2.17.1