Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1777949imm; Thu, 14 Jun 2018 03:50:36 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIWLxo7rqo6/3UOSGXj+NX4UmU3RNOTLsDgMuqCVMMS5IjV/wGNwIjl7BVaybs4RSTJyMkI X-Received: by 2002:a62:e401:: with SMTP id r1-v6mr8970669pfh.172.1528973436291; Thu, 14 Jun 2018 03:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528973436; cv=none; d=google.com; s=arc-20160816; b=SlO5WQ1NtWHNTs7maHgXqZPc7GMLdxzOXWkcYAD2YjXALWHx1VIAVGimWsSQ3h35p4 IFfZm2FZFiXu73jQrk/llBY1US/L9dLgBA1Wkeb7jux6wwECKnw5prIYhyvPTRx5lyF9 rj8vgq+J5xxYRo1ImQdWihcN2tp76TyBatk3YevGXaDNOVt2QLQvLkWegM4PKRNLTE3B s85fqnXmJ0JvxnEveuHvD9pwloSn0C4eHiCkS45XyKhcq4K/8xhln7N8jOXgbWXMbvlQ cMVQsOskzNGGuoGauOi/oz5ocEasPQqqNi9ufMhM51n2ghtdmPfQl4BVkTLOOHTEe7u6 ZQNA== 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:arc-authentication-results; bh=ZW2vKthYasrBb4aDCQ5+na8RNxaeszvSDWc77Ipe41A=; b=brzVdIv9wEo552iMQPBU4SsyWSgLAYVBvYdU7hgz6UxfzQohfSbP4Rdk+viVCHW6Vc NOf18wcyVqBR5dQPelv8epRHyR2XDL+S8YLiPinpzfl+x4qKuWxAUNM+BUE8Lzo8hSVu KjgC1TWnNfpWY0fZzkHOim8c5bqPPDaurMDJ/6uBCdE3PZfWw99DxYBnqZejpa5DBJJG S0uYX8swa7D3h8ziLtzF4wjFE4fnEllnUXK7YZm2oXHITji+ZnhalsUUGGz7c9CiPd/b 5k1VjdPi5y2yqad3YzELLNyYDw+4tdFAg3V7gN4TfIDuWwtiNXgBs93enzupwkFWgKHZ ir9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r59-v6si5004874plb.187.2018.06.14.03.50.22; Thu, 14 Jun 2018 03:50:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964883AbeFNKt2 (ORCPT + 99 others); Thu, 14 Jun 2018 06:49:28 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:38385 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932215AbeFNKsr (ORCPT ); Thu, 14 Jun 2018 06:48:47 -0400 X-Originating-IP: 2.224.242.101 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id E0C5320009; Thu, 14 Jun 2018 10:48:50 +0000 (UTC) From: Jacopo Mondi To: geert@linux-m68k.org, horms@verge.net.au, magnus.damm@gmail.com, yoshihiro.shimoda.uh@renesas.com, joro@8bytes.org Cc: linux-renesas-soc@vger.kernel.org, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jacopo Mondi Subject: [RESEND 5/6] iommu/ipmmu-vmsa: Hook up R8A77965 DT matching code Date: Thu, 14 Jun 2018 12:48:25 +0200 Message-Id: <1528973306-7962-6-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528973306-7962-1-git-send-email-jacopo+renesas@jmondi.org> References: <1528973306-7962-1-git-send-email-jacopo+renesas@jmondi.org> X-Spam-Level: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for R-Car M3-N (R8A77965) SoC IPMMUs. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- 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 933a3da..6a0e714 100644 --- a/drivers/iommu/ipmmu-vmsa.c +++ b/drivers/iommu/ipmmu-vmsa.c @@ -763,6 +763,7 @@ static bool ipmmu_slave_whitelist(struct device *dev) static const struct soc_device_attribute soc_rcar_gen3[] = { { .soc_id = "r8a7795", }, { .soc_id = "r8a7796", }, + { .soc_id = "r8a77965", }, { .soc_id = "r8a77970", }, { .soc_id = "r8a77995", }, { /* sentinel */ } @@ -945,6 +946,9 @@ static const struct of_device_id ipmmu_of_ids[] = { .compatible = "renesas,ipmmu-r8a7796", .data = &ipmmu_features_rcar_gen3, }, { + .compatible = "renesas,ipmmu-r8a77965", + .data = &ipmmu_features_rcar_gen3, + }, { .compatible = "renesas,ipmmu-r8a77970", .data = &ipmmu_features_rcar_gen3, }, { @@ -1127,6 +1131,7 @@ module_exit(ipmmu_exit); IOMMU_OF_DECLARE(ipmmu_vmsa_iommu_of, "renesas,ipmmu-vmsa"); IOMMU_OF_DECLARE(ipmmu_r8a7795_iommu_of, "renesas,ipmmu-r8a7795"); IOMMU_OF_DECLARE(ipmmu_r8a7796_iommu_of, "renesas,ipmmu-r8a7796"); +IOMMU_OF_DECLARE(ipmmu_r8a77965_iommu_of, "renesas,ipmmu-r8a77965"); IOMMU_OF_DECLARE(ipmmu_r8a77970_iommu_of, "renesas,ipmmu-r8a77970"); IOMMU_OF_DECLARE(ipmmu_r8a77995_iommu_of, "renesas,ipmmu-r8a77995"); -- 2.7.4