From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kirsty.vergenet.net ([202.4.237.240]:45149 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbeKHWD3 (ORCPT ); Thu, 8 Nov 2018 17:03:29 -0500 Date: Thu, 8 Nov 2018 13:28:10 +0100 From: Simon Horman To: Fabrizio Castro Cc: Joerg Roedel , iommu@lists.linux-foundation.org, Magnus Damm , Geert Uytterhoeven , Chris Paterson , Biju Das , linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v2 1/2] iommu/ipmmu-vmsa: Hook up R8A774A1 DT maching code Message-ID: <20181108122810.z45jpmp4uhmht7eq@verge.net.au> References: <1535038384-27080-1-git-send-email-fabrizio.castro@bp.renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1535038384-27080-1-git-send-email-fabrizio.castro@bp.renesas.com> Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: On Thu, Aug 23, 2018 at 04:33:04PM +0100, Fabrizio Castro wrote: > Add support for RZ/G2M (R8A774A1) SoC IPMMUs. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Biju Das Reviewed-by: Simon Horman > --- > v1-v2: > * taken out IOMMU_OF_DECLARE > > drivers/iommu/ipmmu-vmsa.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c > index 51af2c5..331562f 100644 > --- a/drivers/iommu/ipmmu-vmsa.c > +++ b/drivers/iommu/ipmmu-vmsa.c > @@ -761,6 +761,7 @@ static bool ipmmu_slave_whitelist(struct device *dev) > } > > static const struct soc_device_attribute soc_rcar_gen3[] = { > + { .soc_id = "r8a774a1", }, > { .soc_id = "r8a7795", }, > { .soc_id = "r8a7796", }, > { .soc_id = "r8a77965", }, > @@ -942,6 +943,9 @@ static const struct of_device_id ipmmu_of_ids[] = { > .compatible = "renesas,ipmmu-vmsa", > .data = &ipmmu_features_default, > }, { > + .compatible = "renesas,ipmmu-r8a774a1", > + .data = &ipmmu_features_rcar_gen3, > + }, { > .compatible = "renesas,ipmmu-r8a7795", > .data = &ipmmu_features_rcar_gen3, > }, { > -- > 2.7.4 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Subject: Re: [PATCH v2 1/2] iommu/ipmmu-vmsa: Hook up R8A774A1 DT maching code Date: Thu, 8 Nov 2018 13:28:10 +0100 Message-ID: <20181108122810.z45jpmp4uhmht7eq@verge.net.au> References: <1535038384-27080-1-git-send-email-fabrizio.castro@bp.renesas.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1535038384-27080-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Fabrizio Castro Cc: Chris Paterson , Geert Uytterhoeven , Magnus Damm , Biju Das , linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Thu, Aug 23, 2018 at 04:33:04PM +0100, Fabrizio Castro wrote: > Add support for RZ/G2M (R8A774A1) SoC IPMMUs. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Biju Das Reviewed-by: Simon Horman > --- > v1-v2: > * taken out IOMMU_OF_DECLARE > > drivers/iommu/ipmmu-vmsa.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c > index 51af2c5..331562f 100644 > --- a/drivers/iommu/ipmmu-vmsa.c > +++ b/drivers/iommu/ipmmu-vmsa.c > @@ -761,6 +761,7 @@ static bool ipmmu_slave_whitelist(struct device *dev) > } > > static const struct soc_device_attribute soc_rcar_gen3[] = { > + { .soc_id = "r8a774a1", }, > { .soc_id = "r8a7795", }, > { .soc_id = "r8a7796", }, > { .soc_id = "r8a77965", }, > @@ -942,6 +943,9 @@ static const struct of_device_id ipmmu_of_ids[] = { > .compatible = "renesas,ipmmu-vmsa", > .data = &ipmmu_features_default, > }, { > + .compatible = "renesas,ipmmu-r8a774a1", > + .data = &ipmmu_features_rcar_gen3, > + }, { > .compatible = "renesas,ipmmu-r8a7795", > .data = &ipmmu_features_rcar_gen3, > }, { > -- > 2.7.4 >