From patchwork Fri Oct 28 22:16:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9402741 X-Patchwork-Delegate: horms@verge.net.au 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 AE6B36022E for ; Fri, 28 Oct 2016 22:17:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BC912A6FF for ; Fri, 28 Oct 2016 22:17:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D2612A8BA; Fri, 28 Oct 2016 22:17:00 +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=-6.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16B062A6FF for ; Fri, 28 Oct 2016 22:16:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761338AbcJ1WQ7 (ORCPT ); Fri, 28 Oct 2016 18:16:59 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:34816 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756638AbcJ1WQ6 (ORCPT ); Fri, 28 Oct 2016 18:16:58 -0400 Received: by mail-lf0-f52.google.com with SMTP id f134so61656531lfg.2 for ; Fri, 28 Oct 2016 15:16:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=91XV743A+nG7LFlrZtS7VPpISa/h6qbpTUS/oux2CXo=; b=2SCshhQXsgbHiyeUIBFUBGKZH3HD5wxbH2Er9G4ym3Ko3xrbgA9Ff/5mdRixkH85cd 70LafWkZVfa4iYPnCvP+tWcOasXhi11Gu3QSL/jK385i++Szk6hVkCihkq0bCCX1h2A9 YMmrk7tjHwS3mZHih+CvB5vy+PacqP7LG8z+MgS0cmb8Y3mm9Ow21fyVY45QBbpyLMJi 5NaHs53ir6oeVvEJgF4GyTQgChSn8tMVZ/hhoDj8mT40UIswqS36o2dxPazyHTug+aDs sXrULQOmQlyFCB1Hiu3O+T5phYl8DNLc+exuVDjfGRbO8F9Ci80Z9ajlGdCB7nUcfhVK a+pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=91XV743A+nG7LFlrZtS7VPpISa/h6qbpTUS/oux2CXo=; b=bFe307mjCocDIzw752zzRjjbHAdwqZLxMm/UA2/m8MELbIrjalhbOiEOeGnGuTug6h iY/4TZUVY0SGSCLoTBhPtiYy78Bn+tsEoUSQd4MKSAXWROEc3u5LpZ6q68xj0340WNTV gd9mFVhJoDHuvkh4PPBwMRKWOq9/VWNdm+CxMAPDBMJyyXCryvkp1AGjxSeFO9zCmZGL hEW1aMbsIHeQqk6ir8mwEoFplewOJ/Y2xsf2WbYiZEdpgBhBBsrxeE809WsxrQPMqzsz CzB3Es5zGDN+bz+5Dn7cpiX8Bz+subWInrSoIcF/9TElHDFCEM8aoJ/kDqNW4iXl/zmE nnVw== X-Gm-Message-State: ABUngvdwymtBLTYtHrGonFZuBsxgDQKpdwkMQd8mhmMCyaoLoRfFf5YHyiO72qbBtPwJ9g== X-Received: by 10.25.125.193 with SMTP id y184mr6591679lfc.51.1477693016161; Fri, 28 Oct 2016 15:16:56 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.80.123]) by smtp.gmail.com with ESMTPSA id 29sm2352866lft.43.2016.10.28.15.16.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Oct 2016 15:16:55 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH 03/11] ARM: shmobile: r8a7745: basic SoC support Date: Sat, 29 Oct 2016 01:16:54 +0300 Message-ID: <1638480.5pJxF7pUnz@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.7.9-100.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <4121805.SRTmqJtRfv@wasted.cogentembedded.com> References: <4121805.SRTmqJtRfv@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add minimal support for the RZ/G1E (R8A7745) SoC. Signed-off-by: Sergei Shtylyov Acked-by: Rob Herring Reviewed-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++ arch/arm/mach-shmobile/Kconfig | 4 ++++ arch/arm/mach-shmobile/setup-rcar-gen2.c | 1 + 3 files changed, 7 insertions(+) Index: renesas/Documentation/devicetree/bindings/arm/shmobile.txt =================================================================== --- renesas.orig/Documentation/devicetree/bindings/arm/shmobile.txt +++ renesas/Documentation/devicetree/bindings/arm/shmobile.txt @@ -15,6 +15,8 @@ SoCs: compatible = "renesas,r8a7740" - RZ/G1M (R8A77430) compatible = "renesas,r8a7743" + - RZ/G1E (R8A77450) + compatible = "renesas,r8a7745" - R-Car M1A (R8A77781) compatible = "renesas,r8a7778" - R-Car H1 (R8A77790) Index: renesas/arch/arm/mach-shmobile/Kconfig =================================================================== --- renesas.orig/arch/arm/mach-shmobile/Kconfig +++ renesas/arch/arm/mach-shmobile/Kconfig @@ -73,6 +73,10 @@ config ARCH_R8A7743 select ARCH_RCAR_GEN2 select ARM_ERRATA_798181 if SMP +config ARCH_R8A7745 + bool "RZ/G1E (R8A77450)" + select ARCH_RCAR_GEN2 + config ARCH_R8A7778 bool "R-Car M1A (R8A77781)" select ARCH_RCAR_GEN1 Index: renesas/arch/arm/mach-shmobile/setup-rcar-gen2.c =================================================================== --- renesas.orig/arch/arm/mach-shmobile/setup-rcar-gen2.c +++ renesas/arch/arm/mach-shmobile/setup-rcar-gen2.c @@ -225,6 +225,7 @@ MACHINE_END static const char * const rz_g1_boards_compat_dt[] __initconst = { "renesas,r8a7743", + "renesas,r8a7745", NULL, };