From patchwork Fri Nov 4 21:49:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9413401 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 BBA1960573 for ; Fri, 4 Nov 2016 21:52:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC6912B214 for ; Fri, 4 Nov 2016 21:52:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A166D2B217; Fri, 4 Nov 2016 21:52: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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3B8AF2B214 for ; Fri, 4 Nov 2016 21:52:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2mNU-0002TJ-2I; Fri, 04 Nov 2016 21:50:24 +0000 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2mNQ-0001UH-CX for linux-arm-kernel@lists.infradead.org; Fri, 04 Nov 2016 21:50:21 +0000 Received: by mail-lf0-x22f.google.com with SMTP id b14so74011501lfg.2 for ; Fri, 04 Nov 2016 14:49:59 -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=a3SMNg6O6HKAE6lU2BvIHzKIQYVbiad0SA0ROEnL5Kk=; b=xzMBRwHZvxvO/Q1y+x8go/TSYJfd2Gv09YrRlQmw9Jqjw1G/Q1aKpwGzB1zfPnLnss cALAJJpkYM8R/mfxwp3pqxLPPvax+/3aM/mklbQp+WWoE8hy7x264zWRAX5bsELLVXzJ e446cW3iRKq0uyQ8KS+odLyjc6wFUu5NNwKPoSlCi/GBNmcOvNWwlAYc/4WDUL77MRXM J2PulVW9UmQqIAM3dOO/JHxP7TRy5wy6CYSEl8hTl3hg+hWilnpRiIZbyrsOBkyJRjwZ BQAXqhjmEZ3kvzNlujSHZLHcgfj67esGEBBwD33e91wCgoB44a5xwcPRA3vUo31sKz33 sM+w== 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=a3SMNg6O6HKAE6lU2BvIHzKIQYVbiad0SA0ROEnL5Kk=; b=jhUhXnahVUmY+EAqyuZ/KXUj+oICEUQ2b4DtQCAfdGPKita/oTf7OBtqKMGybxe+br 18GGE+dHLYzL4UFAladxtMlhEubQ1gU1AX4auMxNfy3RiQ4v1ltyIoPdrLmf7wwUBdi3 HHcA9Io8+VhDEcmWkj4zmBk1M/Zkxp7UZd7rVhLJrWYOAYKb4VaoMNluAo3x06Qn0Eyr Wk5OXlJkeogAgrRghShDq2cFcGPcTpdIC8jzyRFwWJMrq1VlPohE4yprjstreB4Fi6Ww HxdwhlmZGnyXgMpkUXWShC8SeXRbNG77qRK8t03C9elMwZFRV00LyA0bJ3J3LU7I/NoT HbJg== X-Gm-Message-State: ABUngvf9lmSleM2IM3br9BnEM7ElxiS0+1SufV33YEw9y+0wXRJ++ubY/GW3/F+vdazGSA== X-Received: by 10.25.161.137 with SMTP id k131mr10808967lfe.90.1478296197549; Fri, 04 Nov 2016 14:49:57 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.85.142]) by smtp.gmail.com with ESMTPSA id h138sm2650041lfe.24.2016.11.04.14.49.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Nov 2016 14:49:56 -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 Subject: [PATCH v2 03/11] ARM: shmobile: r8a7745: basic SoC support Date: Sat, 05 Nov 2016 00:49:55 +0300 Message-ID: <1611958.qRQu5pdJd3@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: <2368353.xfo5beGC5E@wasted.cogentembedded.com> References: <2368353.xfo5beGC5E@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161104_145020_682312_9850C79D X-CRM114-Status: GOOD ( 11.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org 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 Add minimal support for the RZ/G1E (R8A7745) SoC. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Acked-by: Rob Herring --- Changes in version 2: - added Geert's tag; - refreshed the patch. 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 @@ -227,6 +227,7 @@ MACHINE_END static const char * const rz_g1_boards_compat_dt[] __initconst = { "renesas,r8a7743", + "renesas,r8a7745", NULL, };