From patchwork Fri Sep 28 10:23:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619883 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 84CBB6CB for ; Fri, 28 Sep 2018 12:38:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 737AF2AD47 for ; Fri, 28 Sep 2018 12:38:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 682082ADD4; Fri, 28 Sep 2018 12:38:59 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 C46F42AD4B for ; Fri, 28 Sep 2018 12:38:58 +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=SMvUmVy0i+FecRlj6PV8cvsNtGfytsKUHfi4qNmwPmM=; b=oZKbvMTSLp9aEmm6ZixI6ZWX5o ZfDGCkXL8wmHMeyclRPYNL9GiKKuJT/gs8oennpeb8qKcJ/IE6/ig2d18NI6zDjp5QKW7gC1eJGQN vziU+LOOEjnqTwOHeDBsffZ9TQKJpYz6bm54oscPbl8b0vqNuHXHEqYzGxCdKiEKVv9m1xkHhEOTT VsqWY3iFLnu/1j2s7oT3iCxHopPaJy8Fzcm6fATMKSURA4c42enFQI2qVkJnQkBIMfgwSoQ9cAPRn FPxnR8tuSCEd2xswNcFpqV5fKHtecNCIgJ9NMjdP1M61SnXtoui16M9fxbjz++bt1yoIiEnxn+CD0 DscXxRjA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5s2b-0004EQ-VU; Fri, 28 Sep 2018 12:38:42 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5rrB-0005At-NY for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EYiSCoWtVFKSHlF+sQ85jo6sF2h0Y+cg6oGLvZdfOFM=; b=uOo79m0G6KSVdtrqoN2/oOonw wmeuEY0ZeuE1tWgtoQ+Y+i51W3mdcMcNLzZHPMcG7YV/v4ebQzUsl4I//nqIPsOEbcEHWPqe+dSCi yzD0uAqcTIkt5lUU9Afs6FuUUuo+rycmpUULY7PpiY9qAIwlKOtv0qAm9HoRUij8WAvFYTQcHz17N iOaRzmwbekp8jAlX6jE4FuJBO9VF6wfov8Nq8swigRFscGwba3NGo+blKBpKXIp2R2nvx2kaWOPzv CkX/50ZTFJXkxTT0WEXpDcM2X5qRTrUSyINdHf9gOkUKlX+GUHcjS+5sm+CPllRf29qRYZyXBVjLA GylL8stYA==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5qus-0005rD-Ta for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:39 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id DA42125BF36; Fri, 28 Sep 2018 20:23:41 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130222; bh=woyQc5aDSdKDH1YaPJysBWk7yzE2WEONz7BAXloQKJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p6+bcmvhGF91Kv2T0Q3n8uSGQv/46xs19GN8+m7wIkcdEnt+IrybgGnjSUw+d/5qU cPkvZrMABwwSbEQ8uCl2nhohjdULvZ85oU2v9yiFzXq3ZsLwN2UHZtcvLlYQl++DIO JaLkG0xEHS0MzjIXmVcA8wduKX+IMwnn6daqvIFo= Received: by reginn.horms.nl (Postfix, from userid 7100) id E5BBB9404AC; Fri, 28 Sep 2018 12:23:37 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 08/21] soc: renesas: Identify RZ/G2E Date: Fri, 28 Sep 2018 12:23:23 +0200 Message-Id: <2bab3d8012ebc463b899ee2c9292bd9282d75257.1538128711.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180928_072639_202874_CE7E7B0D X-CRM114-Status: GOOD ( 12.72 ) 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: Fabrizio Castro , Simon Horman , Magnus Damm , 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: Fabrizio Castro Add support for identifying the RZ/G2E (r8a774c0) SoC. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das 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 9e244206d2dd..4af96e668a2f 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -116,6 +116,11 @@ static const struct renesas_soc soc_rz_g2m __initconst __maybe_unused = { .id = 0x52, }; +static const struct renesas_soc soc_rz_g2e __initconst __maybe_unused = { + .family = &fam_rzg2, + .id = 0x57, +}; + static const struct renesas_soc soc_rcar_m1a __initconst __maybe_unused = { .family = &fam_rcar_gen1, }; @@ -222,6 +227,9 @@ static const struct of_device_id renesas_socs[] __initconst = { #ifdef CONFIG_ARCH_R8A774A1 { .compatible = "renesas,r8a774a1", .data = &soc_rz_g2m }, #endif +#ifdef CONFIG_ARCH_R8A774C0 + { .compatible = "renesas,r8a774c0", .data = &soc_rz_g2e }, +#endif #ifdef CONFIG_ARCH_R8A7778 { .compatible = "renesas,r8a7778", .data = &soc_rcar_m1a }, #endif