Received: by 10.223.185.116 with SMTP id b49csp747222wrg; Tue, 20 Feb 2018 07:14:57 -0800 (PST) X-Google-Smtp-Source: AH8x225jBfll37JwJ8WfEdUMdCkmITf1yjwUcE05aCQ088/1tQ9O/Ib0w7eKKuD/8zo7BWw2iuZD X-Received: by 10.99.120.5 with SMTP id t5mr15192037pgc.156.1519139697152; Tue, 20 Feb 2018 07:14:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519139697; cv=none; d=google.com; s=arc-20160816; b=V0aqDN42hsAW5jujMiJUXY+4kSMsqUjukWOF2LU7dqSte2wtJRX9ira0gwwEZj3zsk B1wxIWFxnRPdlWyOYvDbOhk7Dg4XNaXxo2qPXT04pQ84rcxe80O0PovlBlIxItDVIihU /pJ740PmKq2+agTBwDv/FWSpe+gSHu9RmMZvyq6VKWio6fczAvDrd+evuK48mZ4k+fyo HVzQN4b0yrXo5Qmgp2X0ke7V1kat+4T0B8/VhbCFzN6QAuUo0Qu3U1L1X6QU1nfvLT4o 3jNg4I2iODdVhPxqk5OwplQ4HlhM7E5ZvWFoykCV6Pat5y80qD/4TyxHZ8rUTFqgG/XB BikQ== 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=SNYgHiOsKBwzz79K/2Vs+cW86LDMePDkC0HiqlQG1e0=; b=WuCUONDzjaWxnbs940czfWqq2zvxQlG/ENbfKG8G3B4utEPhNvTtvHITFcho+WmH4K 7JOlTDrNITVDiN7736cUby3IqnIf4szc8HyR/vJyTVuB5wwd7M4Z/hAl3xPcWsAdfgZI iZRGbrX5iBrjM14KtSyOhvTg4C0XtGYqIXDSGPvFHu/PEVXwJoy10Q272T1qCg1jN614 o4NQFizF1IgI8r3o6C3/BZY85QG9gH18d7eF9aKq0yZSoBply40a1XBQUA15FtYgMzVX FkPvwe4UBl5hdmnI7zcRqtT2s/kKh/LkiDGu4OxJxP1QZB14PKZC2eQqnVFAax2vOdIs EpEA== 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 v8si1299845pfe.266.2018.02.20.07.14.42; Tue, 20 Feb 2018 07:14:57 -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 S1752413AbeBTPNh (ORCPT + 99 others); Tue, 20 Feb 2018 10:13:37 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:53939 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752142AbeBTPNe (ORCPT ); Tue, 20 Feb 2018 10:13:34 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:6442:1ac4:4036:52e3:3484:3ff2]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 03793C5A54; Tue, 20 Feb 2018 16:13:26 +0100 (CET) From: Jacopo Mondi To: geert@linux-m68k.org, horms@verge.net.au, 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, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 03/19] soc: renesas: Identify R-Car M3-N Date: Tue, 20 Feb 2018 16:12:05 +0100 Message-Id: <1519139541-18783-4-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> References: <1519139541-18783-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 indentifying R-Car M3-N (R8A77965) SoC. Signed-off-by: Jacopo Mondi --- 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 0008343..7161983 100644 --- 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, +}; + 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 -- 2.7.4