From patchwork Thu Dec 6 21:58:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10717057 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 4671514E2 for ; Thu, 6 Dec 2018 22:10:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37B452EF11 for ; Thu, 6 Dec 2018 22:10:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BD192EF2E; Thu, 6 Dec 2018 22:10:58 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,TVD_SUBJ_WIPE_DEBT 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 CFE432EF11 for ; Thu, 6 Dec 2018 22:10:57 +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=b73BIKDTThJ9npAEyEjQ/E8Gcvu2jXNeuGfCfH5j3R8=; b=deSPeVnZvvcMWBS7hz36mSf38m jkwu73cmmdeV2eakqOpNcgMGs2rtfeJsUA5DKXID96YD/fZMcy41N64wQ1vMiDDOaWfB+TVQi6LkR cAAeHIatHozKKJP440bTbyb/1RMt3HbAvpea0xzohm0lUlXEhZdC9yUWVfrqKPYfYfoCCo3McnvmS mML1JiZ8/Dj8jspA0SawaCorbJMQugFiaQF6X3FKX3RpIHeRsiLA4ukBTNt4bV7lP6DfmRztJXbZJ zr/SnlmCnOitDO/z00i821o4O5dWyzz5BeYUgqfSMdTNnVAAibcst2S/Tl02eaGgpkU5P5sBOW/Rv RFlnTF+A==; 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 1gV1rD-00067O-2G; Thu, 06 Dec 2018 22:10:55 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gV1qr-00021y-2Y for linux-arm-kernel@lists.infradead.org; Thu, 06 Dec 2018 22:10:45 +0000 Received: from penelope.horms.nl (unknown [64.124.208.80]) by kirsty.vergenet.net (Postfix) with ESMTPA id 2DCE525BF34; Fri, 7 Dec 2018 08:58:59 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1544133539; bh=Ca//DX0CxDcZuAYIPTnxewv+63JMcO9rNwQxC5D7MTs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mBiu1gqu2ipMzFXomKJwCFFX3Xv92sff3BgODfsCzM2K5OpLZfJOtNDq8wLZwxId5 EvnQlOgYxrhEPzEoEu5eENvIge1/RkSU19d6xIdhY+LwWeZNNpQeAT22pCjpQA57M2 7H1lGgGSmt5qZ4r9bCsavxmGG22bpRHeC5UvELE0= Received: by penelope.horms.nl (Postfix, from userid 7100) id 1B1BEE21709; Thu, 6 Dec 2018 13:58:58 -0800 (PST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 1/9] soc: renesas: r8a77965-sysc: Remove non-existent A3IR power domain Date: Thu, 6 Dec 2018 13:58:49 -0800 Message-Id: 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-20181206_141033_413894_D75ACAA3 X-CRM114-Status: UNSURE ( 9.05 ) 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 The R-Car Gen3 HardWare Manual Errata for Rev. 0.80 (Feb 28, 2018) removed the A3IR power domain on R-Car M3-N, as this SoC does not have an Image Processing Unit (IMP-X5). The definition in the DT bindings header cannot be removed yet, until its (incorrect) user has been removed. Fixes: a527709b78b3c997 ("soc: renesas: rcar-sysc: Add R-Car M3-N support") Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/soc/renesas/r8a77965-sysc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/renesas/r8a77965-sysc.c b/drivers/soc/renesas/r8a77965-sysc.c index d7f7928e3c07..e0533beb50fd 100644 --- a/drivers/soc/renesas/r8a77965-sysc.c +++ b/drivers/soc/renesas/r8a77965-sysc.c @@ -28,7 +28,6 @@ static const struct rcar_sysc_area r8a77965_areas[] __initconst = { { "a2vc1", 0x3c0, 1, R8A77965_PD_A2VC1, R8A77965_PD_A3VC }, { "3dg-a", 0x100, 0, R8A77965_PD_3DG_A, R8A77965_PD_ALWAYS_ON }, { "3dg-b", 0x100, 1, R8A77965_PD_3DG_B, R8A77965_PD_3DG_A }, - { "a3ir", 0x180, 0, R8A77965_PD_A3IR, R8A77965_PD_ALWAYS_ON }, }; const struct rcar_sysc_info r8a77965_sysc_info __initconst = { From patchwork Thu Dec 6 21:59:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10717103 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 2193E1759 for ; Thu, 6 Dec 2018 22:16:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11D932EA01 for ; Thu, 6 Dec 2018 22:16:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 067662EF3D; Thu, 6 Dec 2018 22:16:05 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 8BC422EA01 for ; Thu, 6 Dec 2018 22:16:04 +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=NWf/iVkiXlu+EHxXfYbJ24xoW4xnXWQkkoHlmebLpog=; b=sa3cfTaanK+A9thY4IB8eIZ83N iOqZmXunO81RtIZSntpV9XNKJQUv/4KryyuM7BRPm+RhUWfj5JoWEUsvw22YfYrjOQnlmtC00MtAV BdJ7hRYddN3Hcz7yT4O9fBeaFG1psyFwCsUVplf0KHE1dXULMn9hUm7MfyLGb1VhEwR8sgX1xdUsw HzajSXDFwvqtXBjb8SwMJFwXeUBifGeeuF+gJQGLUhhhJi3cZS+6c79mIl6T5xrNKrlvSPlydhnY2 MwHamh3pE2BxqctQziquWWRjBgSXNjU1FRAnGcwT8o8oWdkjo02D6w+Hs+J+cQb3Lpa+hxAZc5afR XJ/7Bc/A==; 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 1gV1wA-0003xV-Ky; Thu, 06 Dec 2018 22:16:02 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gV1v8-00085t-Gr for linux-arm-kernel@lists.infradead.org; Thu, 06 Dec 2018 22:15:21 +0000 Received: from penelope.horms.nl (unknown [64.124.208.80]) by kirsty.vergenet.net (Postfix) with ESMTPA id 2471625BF7B; Fri, 7 Dec 2018 08:59:36 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1544133576; bh=YPWve80+ZATtElyuw1vD0xCDju6lLmOaQE8XFx2PpTw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NVDIRhD1UVHmE725QbZXsUWmKr5ZWRlANOVA4dvYsPwtL7EZyPLpqy78XY/aFeN+U vXIBgG9TwWA3at2I1E1ShA41SQD5XoNlIlPShl5ebxCUyiHeQ2aA2WeR57UODRfotJ ibZs9eIEiNqxwyYBwK7FUfnlqbJYUUlO+MrLWDCI= Received: by penelope.horms.nl (Postfix, from userid 7100) id 032D0E217D1; Thu, 6 Dec 2018 13:59:35 -0800 (PST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 2/9] ARM: shmobile: Restrict SCU support to SoCs that have it Date: Thu, 6 Dec 2018 13:59:27 -0800 Message-Id: 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-20181206_141459_341353_6DE1576A X-CRM114-Status: GOOD ( 10.04 ) 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 Currently support for the ARM Cortex-A9 Snoop Control Unit is included unconditionally, while only Renesas multicore Cortex-A9 SoCs have this kind of SCU. This decreases kernel image size by ca. 300 bytes on SoCs without such an SCU. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/mach-shmobile/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index b100c26a858f..32f8297d993a 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig @@ -30,7 +30,6 @@ menuconfig ARCH_RENESAS depends on ARCH_MULTI_V7 && MMU select ARM_GIC select GPIOLIB - select HAVE_ARM_SCU if SMP select HAVE_ARM_TWD if SMP select NO_IOPORT_MAP select PINCTRL @@ -43,6 +42,7 @@ if ARCH_RENESAS config ARCH_EMEV2 bool "Emma Mobile EV2" + select HAVE_ARM_SCU if SMP select SYS_SUPPORTS_EM_STI config ARCH_R7S72100 @@ -94,6 +94,7 @@ config ARCH_R8A7778 config ARCH_R8A7779 bool "R-Car H1 (R8A77790)" + select HAVE_ARM_SCU if SMP select ARCH_RCAR_GEN1 config ARCH_R8A7790 @@ -135,5 +136,6 @@ config ARCH_RZN1 config ARCH_SH73A0 bool "SH-Mobile AG5 (R8A73A00)" select ARCH_RMOBILE + select HAVE_ARM_SCU if SMP select RENESAS_INTC_IRQPIN endif From patchwork Thu Dec 6 21:59:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10717101 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 D79A914E2 for ; Thu, 6 Dec 2018 22:15:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C68112EA01 for ; Thu, 6 Dec 2018 22:15:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA5FC2EF0C; Thu, 6 Dec 2018 22:15:53 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 BC3662EA01 for ; Thu, 6 Dec 2018 22:15:52 +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=JCjSbHdeCRB/wiiOvJDQKAf8L/P0sSd86tZiZIgLzjs=; b=uuqaQ0gtOlaaDvRKEu0J7PZqsF 7iued2GxaWbWbY5WVe9MYCaWz18o8u1XBhtFUO3bsfJXwchSMmDrWjrUH583GLYv+UyDAvmJYbZ5R oVNDNgOWAetd33ZRopjhYYhzrZqCwNHqfa99p104rkAdFeCzfhuNVy8Ov2v3QhITt8FZ4dU2D9zgy iG27+/I+zxYIMpH9cA+GqbxyHIDZuMXH4DUBQzpMtXRhG7Fdg80BvKCgG98+yWJdhJuwiuPJxBX+I 1pGnPf681MpAPTDjki+E3sWLLRTpV38hkbKK2t9eVW2xZnnOmsY5Zhl4NJzyXw5RRpxmDptxPHYig tdNucszg==; 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 1gV1vz-0003nr-CW; Thu, 06 Dec 2018 22:15:51 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gV1uz-00085t-9e for linux-arm-kernel@lists.infradead.org; Thu, 06 Dec 2018 22:14:58 +0000 Received: from penelope.horms.nl (unknown [64.124.208.80]) by kirsty.vergenet.net (Postfix) with ESMTPA id 21A7825BF7A; Fri, 7 Dec 2018 08:59:36 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1544133576; bh=XPoK3MOJnVYTMadCSH/2x8yYnu03OO3wVnsUtkjjPN0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LQ1LYu+pijlnRTc/XZZYHtjzBdWWkOlPrgVYfr3lEvre53elU5R1Inc7tX0KhtV08 lWdfaUG9UTG7kKlmIB2mVqvQLUKdszWOrpTJ4h1uRwaOhocVfSlZw5wHqQaSXUdGkZ z55jAFrRdPEpTR89vrd+bggIb0Nz7YBdNrk7caCE= Received: by penelope.horms.nl (Postfix, from userid 7100) id 0C8FDE21D8B; Thu, 6 Dec 2018 13:59:35 -0800 (PST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 4/9] ARM: shmobile: sh73a0: Remove obsolete inclusion of Date: Thu, 6 Dec 2018 13:59:29 -0800 Message-Id: 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-20181206_141450_774204_1ADD23F3 X-CRM114-Status: UNSURE ( 9.12 ) 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 As of commit 9a9863987bf7307f ("ARM: shmobile: Remove legacy SoC code for SH-Mobile AG5"), this header file is no longer used. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/mach-shmobile/smp-sh73a0.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-shmobile/smp-sh73a0.c b/arch/arm/mach-shmobile/smp-sh73a0.c index 9bc543faba96..0403aa8629dd 100644 --- a/arch/arm/mach-shmobile/smp-sh73a0.c +++ b/arch/arm/mach-shmobile/smp-sh73a0.c @@ -12,7 +12,6 @@ #include #include -#include #include "common.h" #include "sh73a0.h"