From patchwork Mon Jul 31 15:04:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 9872187 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 661FA603B4 for ; Mon, 31 Jul 2017 15:23:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4668727F4B for ; Mon, 31 Jul 2017 15:23:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3787A285EF; Mon, 31 Jul 2017 15:23:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 936E828173 for ; Mon, 31 Jul 2017 15:23:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=anAFAu+bkG1zDj1ulbogG2RXqOxSJ0oKFak7cbgwTJ0=; b=SqMnMAb/Mi9jIdvjz1wu1NL/qj qQyGeRZUnc7HpdhKEDZ+rK3xmd2oOw0Ebi65gnmOqGfWWXYLZtQdv1VaxSioqVd5KqJhpB3joBJM9 iRd+9JWjuZ6MMbdzmdCgUyiasIcXNHj2mHL7SzoKywmmeCdEqPhzClvg7HNaBnhyxItn09P1T+E/T hpkN2DGL4Qfi4OgbuNAqin1RwHNiVwpMWtOjDQed4SiPrGp+xdc7T+kCbMZ+6fDNLxO7RGpUohKEl LSI9w52w+39hbW9aw6SVBkrJBRVBVr/h3P068a0psQuqMwo2qjmopNeMq1PHlafHIHkt2wtdTzOf5 C0oN2t+w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dcCWo-0002VZ-Rp; Mon, 31 Jul 2017 15:22:42 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dcCRU-0003GF-Hq for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2017 15:17:14 +0000 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id 03A7925BF5D; Tue, 1 Aug 2017 01:04:11 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1501513451; bh=txFZW8lzWU9nI4iws5FLwkYqiW+MIg5CoMf+c83w2+E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jPwsBYVvx74Mbtw7UZW36s+X8PRdsUTUMZ7yl5UVmbl8uBgF9wYeT8J/9IACPoUuh FNzIuD74jUNg/9X4mI53NfMxjckqRbDrsSNIpULL5uP4OPfqm0yiIotGkiNTGwsiRA tfsGIPEriqUfiTXdrW+xVn0uBGEvNQXlCUQisRb8= Received: by penelope.horms.nl (Postfix, from userid 7100) id 9B9C7E2055D; Mon, 31 Jul 2017 17:04:06 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 1/4] soc: renesas: Identify R-Car D3 Date: Mon, 31 Jul 2017 17:04:02 +0200 Message-Id: <1b954784e0d47db184ccf0bc3b684520c508664f.1501511923.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170731_081712_739620_5BAA0B83 X-CRM114-Status: UNSURE ( 7.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Magnus Damm , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Geert Uytterhoeven Signed-off-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 ca26f13d399c..90d6b7a4340a 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_d3 __initconst __maybe_unused = { + .family = &fam_rcar_gen3, + .id = 0x58, +}; + static const struct renesas_soc soc_shmobile_ag5 __initconst __maybe_unused = { .family = &fam_shmobile, .id = 0x37, @@ -199,6 +204,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_R8A77995 + { .compatible = "renesas,r8a77995", .data = &soc_rcar_d3 }, +#endif #ifdef CONFIG_ARCH_SH73A0 { .compatible = "renesas,sh73a0", .data = &soc_shmobile_ag5 }, #endif