Received: by 10.223.185.116 with SMTP id b49csp1043101wrg; Wed, 21 Feb 2018 11:05:23 -0800 (PST) X-Google-Smtp-Source: AH8x225VXmefaUECgPH+/xqbnx8ciD1ywh2VmKedbmLu6SPkMTmwJFBFhcAi10/E7QBb2QsxdTph X-Received: by 10.98.163.143 with SMTP id q15mr4206638pfl.94.1519239923177; Wed, 21 Feb 2018 11:05:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519239923; cv=none; d=google.com; s=arc-20160816; b=mIOGGnLDP7LPTSX1BTeXJdkicSMI7dvSxvuBo2RuN/bjtQ+9qvy4sEogmefIx1R7NF 0X9C25xDsWY320NmGTm2yaFtiOh+1cDXQuCUfAd855b5+BuTYA9xZ3GsGe4bX4nIp1qS NtWOMnCIErGCwENqr12RPT6OHllHKFYOenMO6FHEmb5QoyuzeXI8m+yYzC87bgG8iCld UmYqNoIIxlOcUa78YGe7fiGHLdMLSK4EfxTcghozXezI2n1Yx82czkxy+4LZVEFP654P EG+I0sbO/0sispPvUU+1ZaY/DMIRyw//J+DkgVoBIKbRbH3yK2r8FjLF/0No1i3vgflH F3wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=khIr4Vgz2hrRscXI2hf3z5SO1kXUpHixsJgSuQVMA+I=; b=kRuLmkqcS3ZjepgD4aNAWFToE83UQkVNb/r5wj2vWEnyyGQW3zvXYp+Rej/Z2VmI7z PlNCFHEXA7lg4R6F/LqlWNWB1v4ohdXLp3VfADk5kNMKGF3UrFH/LeAqE+qIv4WTLQQT Aaf8Fg1OXAvts7eWF4TAbXF8IJlyQHxL6Q/3HGjaFOXuOWduV8s7+poy53uL2YSVYUec XKC8zj63y59wj0oaU3wKdxULEo8Lj89H9v9ShAcS4KxV0B5ZC8xkWhqpTpq33fsEFE42 jRaMmUVHLqhhkZgZGxHrcDENZf+mvhhoT2XKI6Aza0h6yF95U3Tn1Smf8gn2bjeeAQ2u Rn7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=kaEfAu0T; 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 x18si3546904pgv.268.2018.02.21.11.05.09; Wed, 21 Feb 2018 11:05:23 -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; dkim=fail header.i=@verge.net.au header.s=mail header.b=kaEfAu0T; 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 S1753483AbeBUQvB (ORCPT + 99 others); Wed, 21 Feb 2018 11:51:01 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:55560 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932706AbeBUQu6 (ORCPT ); Wed, 21 Feb 2018 11:50:58 -0500 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id B9BF225B7CC; Thu, 22 Feb 2018 03:50:56 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1519231857; bh=eU8Gd1soI3RnRrFrc4p11PSRQSKtAN+aka/cry5Psl8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kaEfAu0T9rEgf82mH8DZQ1sdl4bej0DMXcDXYjJDrOaX+FYZRhcZBd6VwnA/ImJ1B wGrojIOmzgQJz3MFBpehLAAEbrvO3vjvgahBM2lILY0gTR4Pi7xambRSuIIO8vkYf2 x3Kq9y8UsrVPBlO99c5nskGryBMlLBlDylcyT0mA= Received: by penelope.horms.nl (Postfix, from userid 7100) id B1AE3E21508; Wed, 21 Feb 2018 17:50:54 +0100 (CET) Date: Wed, 21 Feb 2018 17:50:54 +0100 From: Simon Horman To: Geert Uytterhoeven Cc: Jacopo Mondi , Magnus Damm , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-kernel@lists.infradead.org, Linux-Renesas , Linux Kernel Mailing List Subject: Re: [PATCH v2 03/19] soc: renesas: Identify R-Car M3-N Message-ID: <20180221165053.xx6gqdyja2zfghmy@verge.net.au> References: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> <1519139541-18783-4-git-send-email-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 20, 2018 at 04:40:34PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi wrote: > > Add support for indentifying R-Car M3-N (R8A77965) SoC. > > > > Signed-off-by: Jacopo Mondi > > Reviewed-by: Geert Uytterhoeven > > > --- a/drivers/soc/renesas/renesas-soc.c > > +++ b/drivers/soc/renesas/renesas-soc.c > > @@ -149,6 +149,11 @@ static const struct renesas_soc soc_rcar_v3m __initconst __maybe_unused = { > > .id = 0x54, > > }; > > > > +static const struct renesas_soc soc_rcar_m3_n __initconst __maybe_unused = { > > + .family = &fam_rcar_gen3, > > + .id = 0x55, > > +}; > > Note that the list was sorted by SoC part number. Thanks, I have moved the above structure to between the similar structure for m3_w and v3m. The result is below. > > + > > static const struct renesas_soc soc_rcar_v3h __initconst __maybe_unused = { > > .family = &fam_rcar_gen3, > > .id = 0x56, > > @@ -214,6 +219,9 @@ static const struct of_device_id renesas_socs[] __initconst = { > > #ifdef CONFIG_ARCH_R8A7796 > > { .compatible = "renesas,r8a7796", .data = &soc_rcar_m3_w }, > > #endif > > +#ifdef CONFIG_ARCH_R8A77965 > > + { .compatible = "renesas,r8a77965", .data = &soc_rcar_m3_n }, > > +#endif > > #ifdef CONFIG_ARCH_R8A77970 > > { .compatible = "renesas,r8a77970", .data = &soc_rcar_v3m }, > > #endif From: Jacopo Mondi Subject: [PATCH] soc: renesas: Identify R-Car M3-N Add support for indentifying R-Car M3-N (R8A77965) SoC. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/soc/renesas/renesas-soc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 000834321774..ea71c413c926 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -144,6 +144,11 @@ static const struct renesas_soc soc_rcar_m3_w __initconst __maybe_unused = { .id = 0x52, }; +static const struct renesas_soc soc_rcar_m3_n __initconst __maybe_unused = { + .family = &fam_rcar_gen3, + .id = 0x55, +}; + static const struct renesas_soc soc_rcar_v3m __initconst __maybe_unused = { .family = &fam_rcar_gen3, .id = 0x54, @@ -214,6 +219,9 @@ static const struct of_device_id renesas_socs[] __initconst = { #ifdef CONFIG_ARCH_R8A7796 { .compatible = "renesas,r8a7796", .data = &soc_rcar_m3_w }, #endif +#ifdef CONFIG_ARCH_R8A77965 + { .compatible = "renesas,r8a77965", .data = &soc_rcar_m3_n }, +#endif #ifdef CONFIG_ARCH_R8A77970 { .compatible = "renesas,r8a77970", .data = &soc_rcar_v3m }, #endif -- 2.11.0