Received: by 10.223.185.116 with SMTP id b49csp4036480wrg; Mon, 26 Feb 2018 10:02:46 -0800 (PST) X-Google-Smtp-Source: AG47ELvLvBUYwIoiX3CFeTFerCAIDsw6llm5R3C3B1FEu0CIGDZY3sqZ/d+5eF6FaDER4bINpvOK X-Received: by 10.167.131.29 with SMTP id t29mr839830pfm.116.1519668166401; Mon, 26 Feb 2018 10:02:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519668166; cv=none; d=google.com; s=arc-20160816; b=XZFJZSJQWMIq4eiAAArENaNluXWNTe4OOC8459VVleHiik80djQXXW1SkVNuyVP1fI +W08F9bXU7q2W3xoNRJI6GZGVOLtQ79TtrCmnYpgfME7+N1LYAaXgM8z3Nr+UROVZTA7 JtuSofqnetLyi7esgsZSlaDDzJG2hXBNmU/ITUjbmRgU+/ZtfwWuVgX5iTmvxFXaSYAG UI/wC/99zdCAj8Y3/XWaLuKl7qpUJq0cF9UenqGJ4GOQ8mtAKRzMjlfTcOcOZEusvv66 KvSwJJP8blLHDk/UE6fQBXwCTWGAWoagT3h6adypmQ5GR36vbLetIPqMc8AilMyD8S6Y Be3w== 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=0ahQXSD32TnUWsG5SyA1VAqy6j9se4bZEx4IMoLycWY=; b=iQQrbUmxixUE9KA7w/mELwTD6+v2fmMZQWi8+Wp8cT1Y/zymNWjpwwe1briyjI9URS qclqTH3acCwOKrkei0t2WfGV5xQGf0ZmY4WNa+xOVfB0Ai/vdKJl5th/kQcSJjMIqyaY 5uQIFDU3Kprd+o9eu5yMzk8262LO/gPMqDZN1D6kMuopY2HOAlUGRTVkii/7wGX4FPwk 7fs0yrmjDx8UAO2l67N8dqr1ljzph+qj/obullXMv5DSoKh/duVBIMy1KyLyVxo7gfVl 03Eg/LN0H13JCwqadzaCjfMbqTEL6gIpTWpTCM6UJ/Glz18SPPkwQWyqUKrpCSuTKmCr lyfA== 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 j66si6580167pfj.181.2018.02.26.10.02.07; Mon, 26 Feb 2018 10:02:46 -0800 (PST) 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 S1751926AbeBZR6E (ORCPT + 99 others); Mon, 26 Feb 2018 12:58:04 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:60706 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751876AbeBZR6B (ORCPT ); Mon, 26 Feb 2018 12:58:01 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:6442:1ac4:e122:d063:ac42:b74c]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id C9B36C5A6A; Mon, 26 Feb 2018 18:57:56 +0100 (CET) From: Jacopo Mondi To: geert@linux-m68k.org, horms@verge.net.au, sergei.shtylyov@cogentembedded.com, magnus.damm@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: Jacopo Mondi , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/8] iommu/ipmmu-vmsa: Hook up R8A77965 DT matching code Date: Mon, 26 Feb 2018 18:57:14 +0100 Message-Id: <1519667836-31330-7-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519667836-31330-1-git-send-email-jacopo+renesas@jmondi.org> References: <1519667836-31330-1-git-send-email-jacopo+renesas@jmondi.org> 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 --- 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