From patchwork Fri Sep 28 10:23:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619661 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 D999D15A7 for ; Fri, 28 Sep 2018 11:18:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD1C42AD11 for ; Fri, 28 Sep 2018 11:18:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BDF242AD39; Fri, 28 Sep 2018 11:18:08 +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=unavailable 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 CE7952AD11 for ; Fri, 28 Sep 2018 11:18:06 +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: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:In-Reply-To: References:List-Owner; bh=baqnVkJ/EYzh3DO2dP1KKglO5xiQlsRca+iU/4YpSEs=; b=nNK vGU3HNZ4SuNpKhClPZkUUCRF22NeQGpv8c5pYnRBHKNpKKwqECJ0/2SpSqmFZZLk3uhKGPYFX3YKQ GRy0ay8X4XA49r8jpGQKSuiE7tFhdfJEFXa62fiAXjh5XTHTA5VldWTD2iLQaROelcTQK4qRUWxFq tDeKCQ/Bc6i3hAc9YF2yh18xmhwZSGPgITD4NVLI42jNarEm17CHMECoIHzMDOh35BUwjk+hCkPyA pbex7Bkr7GT3z6qoPZpPpeVqpPTvUtSOcMIgDHolM6yToV9rRtKo15+Ji4kuOIn0e1x3q4vqdgDqc Hw79DWkjqFAIRmpf/Wfi+iSDezq/QSg==; 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 1g5qmW-0008P8-CG; Fri, 28 Sep 2018 11:18:00 +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 1g5qg3-00022G-8H for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:13:19 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id AA62625BEE0; Fri, 28 Sep 2018 20:23:37 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130218; bh=Tte/Iu9fO0WdEicjvZirkSYibPbsn5fDLB12xIJ/e+8=; h=From:To:Cc:Subject:Date:From; b=PEw2wOielD2hISwYXR6/fn7UnDLx6DXQFWjtVX2YBYREVVjtrcU96vzZrYp6NWhXu vGFlZInzG/wDH3Uw9QG03+JkAiPsl9G/bJYLZ22jlZK5aRxGdqqIbeI7aKpLxqXF39 yBpcc6TSRCVWeBP4I8TyGD00DQWWz4McwkgvKyDc= Received: by reginn.horms.nl (Postfix, from userid 7100) id 8BA4A940151; Fri, 28 Sep 2018 12:23:35 +0200 (CEST) From: Simon Horman To: arm@kernel.org Subject: [GIT PULL] Renesas ARM Based SoC Drivers Updates for v4.20 Date: Fri, 28 Sep 2018 12:23:33 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180928_041119_626950_0CBFC539 X-CRM114-Status: GOOD ( 14.40 ) 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: Arnd Bergmann , Kevin Hilman , Magnus Damm , linux-renesas-soc@vger.kernel.org, Olof Johansson , Simon Horman , 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 Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM based SoC drivers updates for v4.20. The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-drivers-for-v4.20 for you to fetch changes up to fae210bb5bfbd29118e18881f7108c6bd59293b9: dt-bindings: apmu: Document r8a7744 support (2018-09-24 17:21:12 +0200) ---------------------------------------------------------------- Renesas ARM Based SoC Drivers Updates for v4.20 * Convert to SPDX identifiers * R-Car V3M (r8a77970) and V3H (r8a77980): Document Timer Unit (TMU) bindings * RZ/G1N (r8a7744) and RZ/G1C (r8a77470) SoCs: - Document APMU and SMP enable method * RZ/G2M (r8a74a1), RZ/G1N (r8a7744) and RZ/G2E (r8a774c0) SoCs: - Add reset support - Add sysc support * RZ/G2M (r8a774a1), RZ/G2E (r8a774c0) and RZ/A2M (r7s9210) SoCs: - Add support for identifying SoC * RZ/A2M (r7s9210) SoC: - Add basic SoC setup support ---------------------------------------------------------------- Biju Das (10): soc: renesas: Identify RZ/G2M dt-bindings: power: Add r8a774a1 SYSC power domain definitions soc: renesas: rcar-sysc: Add r8a774a1 support soc: renesas: rcar-rst: Add support for RZ/G2M dt-bindings: power: rcar-sysc: Document r8a7744 SYSC binding dt-bindings: power: rcar-sysc: Add r8a7744 power domain index macros soc: renesas: rcar-sysc: Add r8a7744 support dt-bindings: reset: rcar-rst: Document r8a7744 reset module soc: renesas: rcar-rst: Add support for RZ/G1N dt-bindings: apmu: Document r8a7744 support Chris Brandt (2): ARM: shmobile: Add basic RZ/A2 SoC support soc: renesas: identify RZ/A2 Fabrizio Castro (7): soc: renesas: Identify RZ/G2E dt-bindings: power: Add r8a774c0 SYSC power domain definitions dt-bindings: power: rcar-sysc: Document r8a774c0 sysc soc: renesas: rcar-sysc: Add r8a774c0 support dt-bindings: reset: rcar-rst: Document r8a774c0 rst soc: renesas: rcar-rst: Add support for RZ/G2E dt-bindings: apmu: Document r8a77470 support Kuninori Morimoto (1): soc: renesas: convert to SPDX identifiers Sergei Shtylyov (1): dt-bindings: timer: renesas: tmu: document R8A779{7|8}0 bindings .../devicetree/bindings/power/renesas,apmu.txt | 2 + .../bindings/power/renesas,rcar-sysc.txt | 3 + .../devicetree/bindings/reset/renesas,rst.txt | 3 + .../devicetree/bindings/timer/renesas,tmu.txt | 2 + arch/arm/mach-shmobile/Kconfig | 6 ++ arch/arm/mach-shmobile/Makefile | 1 + arch/arm/mach-shmobile/setup-r7s9210.c | 27 ++++++ drivers/soc/renesas/Kconfig | 19 +++- drivers/soc/renesas/Makefile | 2 + drivers/soc/renesas/r8a7743-sysc.c | 5 +- drivers/soc/renesas/r8a7745-sysc.c | 5 +- drivers/soc/renesas/r8a774a1-sysc.c | 45 ++++++++++ drivers/soc/renesas/r8a774c0-sysc.c | 68 ++++++++++++++ drivers/soc/renesas/r8a7779-sysc.c | 5 +- drivers/soc/renesas/r8a7790-sysc.c | 5 +- drivers/soc/renesas/r8a7791-sysc.c | 5 +- drivers/soc/renesas/r8a7792-sysc.c | 5 +- drivers/soc/renesas/r8a7794-sysc.c | 5 +- drivers/soc/renesas/r8a7795-sysc.c | 5 +- drivers/soc/renesas/r8a7796-sysc.c | 5 +- drivers/soc/renesas/r8a77970-sysc.c | 5 +- drivers/soc/renesas/r8a77995-sysc.c | 5 +- drivers/soc/renesas/rcar-rst.c | 11 +-- drivers/soc/renesas/rcar-sysc.c | 13 ++- drivers/soc/renesas/rcar-sysc.h | 9 +- drivers/soc/renesas/renesas-soc.c | 100 ++++++++++++++++----- include/dt-bindings/power/r8a7744-sysc.h | 24 +++++ include/dt-bindings/power/r8a774a1-sysc.h | 31 +++++++ include/dt-bindings/power/r8a774c0-sysc.h | 25 ++++++ 29 files changed, 360 insertions(+), 86 deletions(-) create mode 100644 arch/arm/mach-shmobile/setup-r7s9210.c create mode 100644 drivers/soc/renesas/r8a774a1-sysc.c create mode 100644 drivers/soc/renesas/r8a774c0-sysc.c create mode 100644 include/dt-bindings/power/r8a7744-sysc.h create mode 100644 include/dt-bindings/power/r8a774a1-sysc.h create mode 100644 include/dt-bindings/power/r8a774c0-sysc.h From patchwork Fri Sep 28 10:23:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619741 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 0A0823CF1 for ; Fri, 28 Sep 2018 11:19:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F37682B061 for ; Fri, 28 Sep 2018 11:19:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E05A62B107; Fri, 28 Sep 2018 11:19:36 +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=unavailable 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 C56522B0F2 for ; Fri, 28 Sep 2018 11:19:35 +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=GV+XZe+7RRx+ti+Rm67iCNOYmmryrTj3hMGleAYMhNQ=; b=JCWUYlAPqt7jGj4hkwYt2zFL0V NOl/13WMqaUpak7f9JimTtfFKFQfdlX0nA/I0n3aFnrChA34nyVJ1VMcth4NnhtwM/6tW6PfSiHUm fdL59mzrIpnRcAD+BPBWNbQ7Tdq1v6cQGptTB8MeCBZLz7IRJUdx8EQQ5KlS10uiqc8NsnVPVfNpq 9pEzA+l+9tO3Ykf4NtsBYRgVbef1VoZqlnuRjTYz+JtJs9GhhXYdyTNZgtYvmISkJNiv4kY03k13N FLt9LNCyTF7d0QSZoGoaWXv4An12fHdafWOI9U4FBMDzihz2e9D9oWB61Bx8SSE9AeREZY0sGDQbu HfQy16rA==; 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 1g5qnq-0000ZL-J6; Fri, 28 Sep 2018 11:19:22 +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 1g5qk7-0005J7-Cg for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:17:31 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 7E83C25BF10; Fri, 28 Sep 2018 20:23:39 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130219; bh=hozlMWPAeZzWa5m8TT4cNq1nw3mzxVH8rx4FGCbTnqo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dUWgR25Kw0A2nKC7NJyW2MXX3qP9+kPXvMp/4AtPHnqCgBJWkFHfWRdQ153+pUBX1 Gr4/hfMs/rKH1cPPM+EpC+fue/e8mMIjgUUOoyhalF9e1S/FhTFaP6cbWiEi0wuoim q3R30tayyIfihV4lxkZbTGpx7bq7hlDT7bEsUmN0= Received: by reginn.horms.nl (Postfix, from userid 7100) id 692EB94006D; Fri, 28 Sep 2018 12:23:37 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 02/21] ARM: shmobile: Add basic RZ/A2 SoC support Date: Fri, 28 Sep 2018 12:23:17 +0200 Message-Id: <332df9828e94d4288825584638b7df6ad4c1ff38.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_041531_609069_97B27AA8 X-CRM114-Status: GOOD ( 13.22 ) 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 , Chris Brandt , 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: Chris Brandt Add the RZ/A2 SoC to the Renesas SoC collection. Signed-off-by: Chris Brandt Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/mach-shmobile/Kconfig | 6 ++++++ arch/arm/mach-shmobile/Makefile | 1 + arch/arm/mach-shmobile/setup-r7s9210.c | 27 +++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 arch/arm/mach-shmobile/setup-r7s9210.c diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index aeb2eed08598..94e9431d92b8 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig @@ -55,6 +55,12 @@ config ARCH_R7S72100 select SYS_SUPPORTS_SH_MTU2 select RENESAS_OSTM +config ARCH_R7S9210 + bool "RZ/A2 (R7S9210)" + select PM + select PM_GENERIC_DOMAINS + select RENESAS_OSTM + config ARCH_R8A73A4 bool "R-Mobile APE6 (R8A73A40)" select ARCH_RMOBILE diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile index b33dc59d8698..5591646cb9bb 100644 --- a/arch/arm/mach-shmobile/Makefile +++ b/arch/arm/mach-shmobile/Makefile @@ -14,6 +14,7 @@ obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o obj-$(CONFIG_ARCH_R7S72100) += setup-r7s72100.o +obj-$(CONFIG_ARCH_R7S9210) += setup-r7s9210.o # CPU reset vector handling objects cpu-y := platsmp.o headsmp.o diff --git a/arch/arm/mach-shmobile/setup-r7s9210.c b/arch/arm/mach-shmobile/setup-r7s9210.c new file mode 100644 index 000000000000..573fb9955e7e --- /dev/null +++ b/arch/arm/mach-shmobile/setup-r7s9210.c @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * r7s9210 processor support + * + * Copyright (C) 2018 Renesas Electronics Corporation + * Copyright (C) 2018 Chris Brandt + * + */ + +#include + +#include + +#include "common.h" + +static const char *const r7s9210_boards_compat_dt[] __initconst = { + "renesas,r7s9210", + NULL, +}; + +DT_MACHINE_START(R7S72100_DT, "Generic R7S9210 (Flattened Device Tree)") + .l2c_aux_val = 0, + .l2c_aux_mask = ~0, + .init_early = shmobile_init_delay, + .init_late = shmobile_init_late, + .dt_compat = r7s9210_boards_compat_dt, +MACHINE_END From patchwork Fri Sep 28 10:23:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619753 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 8C6FE6CB for ; Fri, 28 Sep 2018 11:20:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C85D2B102 for ; Fri, 28 Sep 2018 11:20:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 663A42B0F2; Fri, 28 Sep 2018 11:20:14 +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=unavailable 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 373242B061 for ; Fri, 28 Sep 2018 11:20:12 +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=sxW88VPJ36YayKG+o3uNaqYvuY9eHaksQ/fQ51MET8I=; b=jxmtAfHumsEv4My1MSwypEZoIZ uaZuef7oZR74U0xwz0uHHrXcAxOPEOhappCBTWErXrMpi2Wb5sIhvk/EawoFfXdfYL3rTffePcq5u BJK+44FWa/ZBdmFEifjwT/L+PAK76wTKjV8wdjH2IshZUAVyq28/5TmDFzLZPUftsTJdpCXqYppNy DHEk9GqEVMTEOYZdZchEHgpFjAtTIoP/I/97vB/0Q/Ij5fPszRQGuDsgpCoYNiiEvvirOSJ0gXYwx HeHmuR6Jjv87prUJ2RgWN2h8V1B1UpWKMwxGVJ9/7z7bO1TyIdIDORS9iLaU7BCw7hNuo5PUrAQdT CZ5MsDag==; 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 1g5qoY-0000qJ-PH; Fri, 28 Sep 2018 11:20:07 +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 1g5qm4-0005J7-68 for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:19:32 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 82E6325BF11; Fri, 28 Sep 2018 20:23:39 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130219; bh=S02bQUIC5vRCczu1HgU6mEjjucR0Li51MLD73OsWm6g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aeTm5tpQh33SmUfddYuystJB1MRlLPfb6vBjyaD5PRas0dHZbUehrv4YTSvROsrc/ 74d1K2igfId2DbNPeqpccY3LUB8lJeQLQ+z420NP23LwYlnOe2F5H+sfOVeDC1juIX R0qfjZq8zdiCVP5X3wMTk23r95xBu1i4tI7fvSmk= Received: by reginn.horms.nl (Postfix, from userid 7100) id 7E08A9402F6; Fri, 28 Sep 2018 12:23:37 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 03/21] soc: renesas: identify RZ/A2 Date: Fri, 28 Sep 2018 12:23:18 +0200 Message-Id: <175f435f44b724e389f23c154d94fda45870c1f6.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_041732_596870_1107EC5C X-CRM114-Status: GOOD ( 16.29 ) 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 , Chris Brandt , 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: Chris Brandt Add support for identifying the RZ/A2M (R7S9210) SoC. Also add support for reading the BSID register which is a different format than the PRR. Signed-off-by: Chris Brandt Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/soc/renesas/renesas-soc.c | 55 +++++++++++++++++++++++++++++++++------ 1 file changed, 47 insertions(+), 8 deletions(-) diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 56916183739b..ce19b2732433 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -46,8 +46,12 @@ static const struct renesas_family fam_rmobile __initconst __maybe_unused = { .reg = 0xe600101c, /* CCCR (Common Chip Code Register) */ }; -static const struct renesas_family fam_rza __initconst __maybe_unused = { - .name = "RZ/A", +static const struct renesas_family fam_rza1 __initconst __maybe_unused = { + .name = "RZ/A1", +}; + +static const struct renesas_family fam_rza2 __initconst __maybe_unused = { + .name = "RZ/A2", }; static const struct renesas_family fam_rzg1 __initconst __maybe_unused = { @@ -72,7 +76,12 @@ struct renesas_soc { }; static const struct renesas_soc soc_rz_a1h __initconst __maybe_unused = { - .family = &fam_rza, + .family = &fam_rza1, +}; + +static const struct renesas_soc soc_rz_a2m __initconst __maybe_unused = { + .family = &fam_rza2, + .id = 0x3b, }; static const struct renesas_soc soc_rmobile_ape6 __initconst __maybe_unused = { @@ -194,6 +203,9 @@ static const struct of_device_id renesas_socs[] __initconst = { #ifdef CONFIG_ARCH_R7S72100 { .compatible = "renesas,r7s72100", .data = &soc_rz_a1h }, #endif +#ifdef CONFIG_ARCH_R7S9210 + { .compatible = "renesas,r7s9210", .data = &soc_rz_a2m }, +#endif #ifdef CONFIG_ARCH_R8A73A4 { .compatible = "renesas,r8a73a4", .data = &soc_rmobile_ape6 }, #endif @@ -275,7 +287,7 @@ static int __init renesas_soc_init(void) void __iomem *chipid = NULL; struct soc_device *soc_dev; struct device_node *np; - unsigned int product; + unsigned int product, eshi = 0, eslo; match = of_match_node(renesas_socs, of_root); if (!match) @@ -284,6 +296,31 @@ static int __init renesas_soc_init(void) soc = match->data; family = soc->family; + np = of_find_compatible_node(NULL, NULL, "renesas,bsid"); + if (np) { + chipid = of_iomap(np, 0); + of_node_put(np); + + if (chipid) { + product = readl(chipid); + iounmap(chipid); + + if (soc->id && ((product >> 16) & 0xff) != soc->id) { + pr_warn("SoC mismatch (product = 0x%x)\n", + product); + return -ENODEV; + } + } + + /* + * TODO: Upper 4 bits of BSID are for chip version, but the + * format is not known at this time so we don't know how to + * specify eshi and eslo + */ + + goto done; + } + /* Try PRR first, then hardcoded fallback */ np = of_find_compatible_node(NULL, NULL, "renesas,prr"); if (np) { @@ -302,8 +339,11 @@ static int __init renesas_soc_init(void) pr_warn("SoC mismatch (product = 0x%x)\n", product); return -ENODEV; } + eshi = ((product >> 4) & 0x0f) + 1; + eslo = product & 0xf; } +done: soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); if (!soc_dev_attr) return -ENOMEM; @@ -315,10 +355,9 @@ static int __init renesas_soc_init(void) soc_dev_attr->family = kstrdup_const(family->name, GFP_KERNEL); soc_dev_attr->soc_id = kstrdup_const(strchr(match->compatible, ',') + 1, GFP_KERNEL); - if (chipid) - soc_dev_attr->revision = kasprintf(GFP_KERNEL, "ES%u.%u", - ((product >> 4) & 0x0f) + 1, - product & 0xf); + if (eshi) + soc_dev_attr->revision = kasprintf(GFP_KERNEL, "ES%u.%u", eshi, + eslo); pr_info("Detected Renesas %s %s %s\n", soc_dev_attr->family, soc_dev_attr->soc_id, soc_dev_attr->revision ?: ""); From patchwork Fri Sep 28 10:23:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619755 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 EF2056CB for ; Fri, 28 Sep 2018 11:21:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E39A22B0F2 for ; Fri, 28 Sep 2018 11:21:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7CDF2B107; Fri, 28 Sep 2018 11:21:55 +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 80C772B0F2 for ; Fri, 28 Sep 2018 11:21:54 +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=aHCJa+TWtQMQGgMRj2DtPUobQmHZOw+DGTL8hXNIgOw=; b=QnkjLR4UxBG4h8sYy7ksY/ng6z BpeDaRl5nK2sLEQIs7BdVbNXnWHARaEFYtU8gBnNdlqbTrbG2eN5nP5NKc0JIuhIVHvncQOBoWDgh tbF6ATzKQxs+0RMKiCYCyI5ZkR4uZgnKd17IOsCFUnjel4b7KA6fYbAFjn1fWkEsWwmaxIfnN2bAO lnd38nEXmv7IxUBMJrNPJkNxX/sGyhsNeA84KRWfNo29NCbK/oEonlCDnFdivp5xhVN+LgcTGCbgX 3S1JlNXY9Iz/+Xo5EQnCmKwYee4u+NkaoPmSN+7DQoB3cw9z2cyqPeogNnMCWrTTTd7tAedSX6ERf DaUGlOwA==; 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 1g5qqD-0002VQ-Eq; Fri, 28 Sep 2018 11:21:49 +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 1g5qoC-0000fo-TE for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:21:45 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id A872F25BF12; Fri, 28 Sep 2018 20:23:39 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130220; bh=Wp/st6pnTj2ItkqMDTHXiyT6FDFNSFTwscfv4HkuZIk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EesQGme6c6BYsmbQS+RBP8K6Yuy+GzsUbV0ZyvEsZGo9EbS9XCip3wZ0r+Q7dSh30 8fclNL6Pzoq0k+YLSaew4z86pqKgs+gmEXoxzzxQmtNYf5oa6X674fJST7I4a+mMxk ggjbthh/AkcCWItiV/+ZcX7oWGsV8hE1ev3Slj5I= Received: by reginn.horms.nl (Postfix, from userid 7100) id 8ED8D9403CA; Fri, 28 Sep 2018 12:23:37 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 04/21] dt-bindings: power: Add r8a774a1 SYSC power domain definitions Date: Fri, 28 Sep 2018 12:23:19 +0200 Message-Id: <066f7e63b9ed0badffc32bcf135e59658b423999.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_041945_131576_024329A5 X-CRM114-Status: GOOD ( 11.19 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das This patch adds power domain indices for RZ/G2M. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- include/dt-bindings/power/r8a774a1-sysc.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 include/dt-bindings/power/r8a774a1-sysc.h diff --git a/include/dt-bindings/power/r8a774a1-sysc.h b/include/dt-bindings/power/r8a774a1-sysc.h new file mode 100644 index 000000000000..580f431cd32e --- /dev/null +++ b/include/dt-bindings/power/r8a774a1-sysc.h @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2018 Renesas Electronics Corp. + */ +#ifndef __DT_BINDINGS_POWER_R8A774A1_SYSC_H__ +#define __DT_BINDINGS_POWER_R8A774A1_SYSC_H__ + +/* + * These power domain indices match the numbers of the interrupt bits + * representing the power areas in the various Interrupt Registers + * (e.g. SYSCISR, Interrupt Status Register) + */ + +#define R8A774A1_PD_CA57_CPU0 0 +#define R8A774A1_PD_CA57_CPU1 1 +#define R8A774A1_PD_CA53_CPU0 5 +#define R8A774A1_PD_CA53_CPU1 6 +#define R8A774A1_PD_CA53_CPU2 7 +#define R8A774A1_PD_CA53_CPU3 8 +#define R8A774A1_PD_CA57_SCU 12 +#define R8A774A1_PD_A3VC 14 +#define R8A774A1_PD_3DG_A 17 +#define R8A774A1_PD_3DG_B 18 +#define R8A774A1_PD_CA53_SCU 21 +#define R8A774A1_PD_A2VC0 25 +#define R8A774A1_PD_A2VC1 26 + +/* Always-on power area */ +#define R8A774A1_PD_ALWAYS_ON 32 + +#endif /* __DT_BINDINGS_POWER_R8A774A1_SYSC_H__ */ From patchwork Fri Sep 28 10:23:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619757 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 7A5546CB for ; Fri, 28 Sep 2018 11:23:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E25E2B121 for ; Fri, 28 Sep 2018 11:23:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 605762B270; Fri, 28 Sep 2018 11:23:42 +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=unavailable 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 A69FB2B121 for ; Fri, 28 Sep 2018 11:23:41 +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=H6f+AE9Cgi6avqi2ANuaHdySKd/jAtyfaRqXfnujsXs=; b=dtjBdNVRe9VauuUjzkFfrvasV8 pMHPwmlDYEJUEIsgOZQ+c22v2zPMlctO/RI/yvvHwcLMTRx5wBcATd0XqPHduw6RhLwrt3cC6N//A jT8SaWw1OUjZsXeP1rBFYiEoR4zjwHIn7njn+Ku20L5C33Dk2IL7q3YyEWCHh+HMTYwWnduSqJqN2 vWTPZxPFhOaInb0DKlhGCALUJ7rH+qy3/TMJrxoB8dAYk26TTLdPKJ+KSNFmgj5dV+owGDnnU+JH8 8vdAvS3qekZPcm+n95gw7ocHyd16gRe6uylXxeYUh3Ag68qG3HaC7mk32qW7GzY3txS3QULv3NiOf 6SmZgPhg==; 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 1g5qrq-0002o4-1P; Fri, 28 Sep 2018 11:23:30 +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 1g5qq9-0000fo-KJ for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:23:25 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 3750F25BF20; Fri, 28 Sep 2018 20:23:40 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130220; bh=8Xt2jOryQdpXIMYPm7iTbT91inkuUCjHhsCSRmbpGMw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sT0rDWuM3Pa5HriT5G8MIB+3vu9dADiNAP+VMiwKxYWMWNRo3yYMBLt7DpVR+W6IS 1FT7ivhXEQCHQoFj1/WI0H4R26LY5vJ6D8HxBBMLvq98eBK+m7xXwKch1+3MHLauA6 RLuYeDO9eSbpAod3CcMO172Bdw+Rs4iq+GKoNHtE= Received: by reginn.horms.nl (Postfix, from userid 7100) id B015F940456; Fri, 28 Sep 2018 12:23:37 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 05/21] soc: renesas: rcar-sysc: Add r8a774a1 support Date: Fri, 28 Sep 2018 12:23:20 +0200 Message-Id: <7f0e99cc916933ecd7fd407e2eb42448198e0404.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_042145_852721_4712FDA8 X-CRM114-Status: GOOD ( 15.06 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das Add support for RZ/G2M (R8A774A1) SoC power areas to the R-Car SYSC driver. Signed-off-by: Biju Das Reviewed-by: Chris Paterson Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- .../bindings/power/renesas,rcar-sysc.txt | 1 + drivers/soc/renesas/Kconfig | 5 +++ drivers/soc/renesas/Makefile | 1 + drivers/soc/renesas/r8a774a1-sysc.c | 45 ++++++++++++++++++++++ drivers/soc/renesas/rcar-sysc.c | 3 ++ drivers/soc/renesas/rcar-sysc.h | 1 + 6 files changed, 56 insertions(+) create mode 100644 drivers/soc/renesas/r8a774a1-sysc.c diff --git a/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt b/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt index 180ae65be753..4e3ec6ac6345 100644 --- a/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt +++ b/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt @@ -10,6 +10,7 @@ Required properties: - "renesas,r8a7743-sysc" (RZ/G1M) - "renesas,r8a7745-sysc" (RZ/G1E) - "renesas,r8a77470-sysc" (RZ/G1C) + - "renesas,r8a774a1-sysc" (RZ/G2M) - "renesas,r8a7779-sysc" (R-Car H1) - "renesas,r8a7790-sysc" (R-Car H2) - "renesas,r8a7791-sysc" (R-Car M2-W) diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index 1d824cbd462d..d769330b640e 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -9,6 +9,7 @@ config SOC_RENESAS select SYSC_R8A7743 if ARCH_R8A7743 select SYSC_R8A7745 if ARCH_R8A7745 select SYSC_R8A77470 if ARCH_R8A77470 + select SYSC_R8A774A1 if ARCH_R8A774A1 select SYSC_R8A7779 if ARCH_R8A7779 select SYSC_R8A7790 if ARCH_R8A7790 select SYSC_R8A7791 if ARCH_R8A7791 || ARCH_R8A7793 @@ -37,6 +38,10 @@ config SYSC_R8A77470 bool "RZ/G1C System Controller support" if COMPILE_TEST select SYSC_RCAR +config SYSC_R8A774A1 + bool "RZ/G2M System Controller support" if COMPILE_TEST + select SYSC_RCAR + config SYSC_R8A7779 bool "R-Car H1 System Controller support" if COMPILE_TEST select SYSC_RCAR diff --git a/drivers/soc/renesas/Makefile b/drivers/soc/renesas/Makefile index c37b0803c1b6..6adb9d6964a0 100644 --- a/drivers/soc/renesas/Makefile +++ b/drivers/soc/renesas/Makefile @@ -6,6 +6,7 @@ obj-$(CONFIG_SOC_RENESAS) += renesas-soc.o obj-$(CONFIG_SYSC_R8A7743) += r8a7743-sysc.o obj-$(CONFIG_SYSC_R8A7745) += r8a7745-sysc.o obj-$(CONFIG_SYSC_R8A77470) += r8a77470-sysc.o +obj-$(CONFIG_SYSC_R8A774A1) += r8a774a1-sysc.o obj-$(CONFIG_SYSC_R8A7779) += r8a7779-sysc.o obj-$(CONFIG_SYSC_R8A7790) += r8a7790-sysc.o obj-$(CONFIG_SYSC_R8A7791) += r8a7791-sysc.o diff --git a/drivers/soc/renesas/r8a774a1-sysc.c b/drivers/soc/renesas/r8a774a1-sysc.c new file mode 100644 index 000000000000..9db51ff6f5ed --- /dev/null +++ b/drivers/soc/renesas/r8a774a1-sysc.c @@ -0,0 +1,45 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Renesas RZ/G2M System Controller + * Copyright (C) 2018 Renesas Electronics Corp. + * + * Based on Renesas R-Car M3-W System Controller + * Copyright (C) 2016 Glider bvba + */ + +#include +#include + +#include + +#include "rcar-sysc.h" + +static const struct rcar_sysc_area r8a774a1_areas[] __initconst = { + { "always-on", 0, 0, R8A774A1_PD_ALWAYS_ON, -1, PD_ALWAYS_ON }, + { "ca57-scu", 0x1c0, 0, R8A774A1_PD_CA57_SCU, R8A774A1_PD_ALWAYS_ON, + PD_SCU }, + { "ca57-cpu0", 0x80, 0, R8A774A1_PD_CA57_CPU0, R8A774A1_PD_CA57_SCU, + PD_CPU_NOCR }, + { "ca57-cpu1", 0x80, 1, R8A774A1_PD_CA57_CPU1, R8A774A1_PD_CA57_SCU, + PD_CPU_NOCR }, + { "ca53-scu", 0x140, 0, R8A774A1_PD_CA53_SCU, R8A774A1_PD_ALWAYS_ON, + PD_SCU }, + { "ca53-cpu0", 0x200, 0, R8A774A1_PD_CA53_CPU0, R8A774A1_PD_CA53_SCU, + PD_CPU_NOCR }, + { "ca53-cpu1", 0x200, 1, R8A774A1_PD_CA53_CPU1, R8A774A1_PD_CA53_SCU, + PD_CPU_NOCR }, + { "ca53-cpu2", 0x200, 2, R8A774A1_PD_CA53_CPU2, R8A774A1_PD_CA53_SCU, + PD_CPU_NOCR }, + { "ca53-cpu3", 0x200, 3, R8A774A1_PD_CA53_CPU3, R8A774A1_PD_CA53_SCU, + PD_CPU_NOCR }, + { "a3vc", 0x380, 0, R8A774A1_PD_A3VC, R8A774A1_PD_ALWAYS_ON }, + { "a2vc0", 0x3c0, 0, R8A774A1_PD_A2VC0, R8A774A1_PD_A3VC }, + { "a2vc1", 0x3c0, 1, R8A774A1_PD_A2VC1, R8A774A1_PD_A3VC }, + { "3dg-a", 0x100, 0, R8A774A1_PD_3DG_A, R8A774A1_PD_ALWAYS_ON }, + { "3dg-b", 0x100, 1, R8A774A1_PD_3DG_B, R8A774A1_PD_3DG_A }, +}; + +const struct rcar_sysc_info r8a774a1_sysc_info __initconst = { + .areas = r8a774a1_areas, + .num_areas = ARRAY_SIZE(r8a774a1_areas), +}; diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c index 029188e8be6e..fe32f7a3b215 100644 --- a/drivers/soc/renesas/rcar-sysc.c +++ b/drivers/soc/renesas/rcar-sysc.c @@ -275,6 +275,9 @@ static const struct of_device_id rcar_sysc_matches[] __initconst = { #ifdef CONFIG_SYSC_R8A77470 { .compatible = "renesas,r8a77470-sysc", .data = &r8a77470_sysc_info }, #endif +#ifdef CONFIG_SYSC_R8A774A1 + { .compatible = "renesas,r8a774a1-sysc", .data = &r8a774a1_sysc_info }, +#endif #ifdef CONFIG_SYSC_R8A7779 { .compatible = "renesas,r8a7779-sysc", .data = &r8a7779_sysc_info }, #endif diff --git a/drivers/soc/renesas/rcar-sysc.h b/drivers/soc/renesas/rcar-sysc.h index a22e7cf25e30..33defe624a8c 100644 --- a/drivers/soc/renesas/rcar-sysc.h +++ b/drivers/soc/renesas/rcar-sysc.h @@ -52,6 +52,7 @@ struct rcar_sysc_info { extern const struct rcar_sysc_info r8a7743_sysc_info; extern const struct rcar_sysc_info r8a7745_sysc_info; extern const struct rcar_sysc_info r8a77470_sysc_info; +extern const struct rcar_sysc_info r8a774a1_sysc_info; extern const struct rcar_sysc_info r8a7779_sysc_info; extern const struct rcar_sysc_info r8a7790_sysc_info; extern const struct rcar_sysc_info r8a7791_sysc_info; From patchwork Fri Sep 28 10:23:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619761 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 2D8FA15A6 for ; Fri, 28 Sep 2018 11:24:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F8142B1A8 for ; Fri, 28 Sep 2018 11:24:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10DCB2B121; Fri, 28 Sep 2018 11:24:55 +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=unavailable 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 97BF32B121 for ; Fri, 28 Sep 2018 11:24:54 +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=Joz7gc4aV8gnjYiUQDkvz+7C7p786FFYuo5X5fONVYI=; b=kl23y6an4T6f2MBe2oUarmZP7B CW4aJXpQQlg4wQiUhjOsZQigl0x5c8kB24nsbNOVhyDtu++RnnQVNJrm77xQUWIETUishTiKHZ9b+ CZSlogS0XIAZX2Xz81iGdh74ruCR+2iJrJICAnwOE8V6REYbjCnFFaIUkxnQ5kavIEBxGOLqq/qOj tieQ94z7Awvc9D8Cq8s1F1PCBHVUBidg3CA66Ci2v3x/NiEzrZObJpzT/rQTbhtXa9d8EFmp87zm2 aa3T1DLHlSn6YrG+OaMfi0NNoZ8Kor3CqXHzWVR27zwJCHPCEwzfp2DhRnqYwKfRPT1jW5/J6Ki4G HNYxX7ow==; 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 1g5qsz-0003RI-Tj; Fri, 28 Sep 2018 11:24:42 +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 1g5qrl-0000fo-Cm for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:23:41 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 4BF8C25BF22; Fri, 28 Sep 2018 20:23:40 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130220; bh=ef7GMRemZZWnj+LOGBZIIvmvx7O598QlBEbMZgBD1NA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E356HKupQrku411RlfoHwaHKZZuDnwu1N5XEP+aMrWS9f4lwj9QsG9GyH758Pmbzj NJDWaqTicrW9yoy++lzM3W2FrJCDUgMn7AZ3QLQk5w6T9zmGUw40RbFC8AvmxhASKn 2dFYdLZeFkMMxhMbL4Gh/GzjSl31plVJ5mXxR7P4= Received: by reginn.horms.nl (Postfix, from userid 7100) id BA6539403E0; Fri, 28 Sep 2018 12:23:37 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 06/21] soc: renesas: rcar-rst: Add support for RZ/G2M Date: Fri, 28 Sep 2018 12:23:21 +0200 Message-Id: <3116d859e7b15d3740afd44c975cdb34a4c1246e.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_042325_620078_7C8E2F24 X-CRM114-Status: GOOD ( 12.27 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das Signed-off-by: Biju Das Reviewed-by: Chris Paterson Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/reset/renesas,rst.txt | 1 + drivers/soc/renesas/Kconfig | 6 +++--- drivers/soc/renesas/rcar-rst.c | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/renesas,rst.txt b/Documentation/devicetree/bindings/reset/renesas,rst.txt index 67e83b02e10b..e4fe0ab294bf 100644 --- a/Documentation/devicetree/bindings/reset/renesas,rst.txt +++ b/Documentation/devicetree/bindings/reset/renesas,rst.txt @@ -18,6 +18,7 @@ Required properties: - "renesas,r8a7743-rst" (RZ/G1M) - "renesas,r8a7745-rst" (RZ/G1E) - "renesas,r8a77470-rst" (RZ/G1C) + - "renesas,r8a774a1-rst" (RZ/G2M) - "renesas,r8a7778-reset-wdt" (R-Car M1A) - "renesas,r8a7779-reset-wdt" (R-Car H1) - "renesas,r8a7790-rst" (R-Car H2) diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index d769330b640e..00d4c9db1981 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -3,9 +3,9 @@ config SOC_RENESAS default y if ARCH_RENESAS select SOC_BUS select RST_RCAR if ARCH_RCAR_GEN1 || ARCH_RCAR_GEN2 || \ - ARCH_R8A7795 || ARCH_R8A7796 || ARCH_R8A77965 || \ - ARCH_R8A77970 || ARCH_R8A77980 || ARCH_R8A77990 || \ - ARCH_R8A77995 + ARCH_R8A774A1 || ARCH_R8A7795 || ARCH_R8A7796 || \ + ARCH_R8A77965 || ARCH_R8A77970 || ARCH_R8A77980 || \ + ARCH_R8A77990 || ARCH_R8A77995 select SYSC_R8A7743 if ARCH_R8A7743 select SYSC_R8A7745 if ARCH_R8A7745 select SYSC_R8A77470 if ARCH_R8A77470 diff --git a/drivers/soc/renesas/rcar-rst.c b/drivers/soc/renesas/rcar-rst.c index d9c1034e70e9..a447873ce182 100644 --- a/drivers/soc/renesas/rcar-rst.c +++ b/drivers/soc/renesas/rcar-rst.c @@ -41,10 +41,12 @@ static const struct rst_config rcar_rst_gen3 __initconst = { }; static const struct of_device_id rcar_rst_matches[] __initconst = { - /* RZ/G is handled like R-Car Gen2 */ + /* RZ/G1 is handled like R-Car Gen2 */ { .compatible = "renesas,r8a7743-rst", .data = &rcar_rst_gen2 }, { .compatible = "renesas,r8a7745-rst", .data = &rcar_rst_gen2 }, { .compatible = "renesas,r8a77470-rst", .data = &rcar_rst_gen2 }, + /* RZ/G2 is handled like R-Car Gen3 */ + { .compatible = "renesas,r8a774a1-rst", .data = &rcar_rst_gen3 }, /* R-Car Gen1 */ { .compatible = "renesas,r8a7778-reset-wdt", .data = &rcar_rst_gen1 }, { .compatible = "renesas,r8a7779-reset-wdt", .data = &rcar_rst_gen1 }, From patchwork Fri Sep 28 10:23:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619887 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 8CC2D417B for ; Fri, 28 Sep 2018 12:40:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B0BE2B2E2 for ; Fri, 28 Sep 2018 12:40:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 796712B317; Fri, 28 Sep 2018 12:40:12 +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=unavailable 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 890B52B2E2 for ; Fri, 28 Sep 2018 12:40:11 +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=lbVRxJkOMLsLwf2nWWLoZFNzHlNWRncQhNdcVnVfurc=; b=hqrF5f+ciS30HqapLNau/13PY8 /xuyPPx7B0Zr7xSracamOpMmweWGGi62VyCDIOxrxovw6pjxqJN+5RfmHtD0ZFmk+EJ9BGP/3Z04H 80CGJ0KvgJ2uQrv8ZTSq55o4xxwwq6d4+8OHeG7qZMD9yHYuF69ndWV4BsFo2yzQAxjlrNnvzAjRb qECLYcH6AEvH78eLw+rARgZmteamr4BEJyh9kjnYUvKLd4koqWbcC0I35aG+24lHfh/yIahed2BMr 54St/err6F7LeJ20yMAqMX2CvJec8CYb2HeYmtQSqBzkovqGQ9XiG5F5v3g/iXpIV7FhJugdjGu59 7lWmNKkQ==; 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 1g5s3p-0004nT-Pw; Fri, 28 Sep 2018 12:39:57 +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 1g5rrD-0005At-AW for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:55 +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=WEB9CVELHyWWTVV9yGB58H6WHP4TpomrNJCnGQ2Zy1g=; b=GevLr9GDyeEAHCeQHZZZncNKO AMXiq/zOwu8/T+er2ZSVUDl7Zt6eiVhO5NKdP59z+1u8F+NqxGaYI1V48h9IiO8W5T6soY6CQlXl/ v+KxRvesC43F509OL1HoaYhOiG0pIoSyQIx6JuqZef/OBv/eMbhPkw/lO40aoM769yhE8fWP5kari Hw0Y7+RbW3EHvIw/9QKYp4/xbEFd8TswqyOTPsAzDNXNmiG+e635bgSF1iiOJCBJZ4lzAqfpkYZYe 7d53Lw7No5SLksnua0xbTdk4aImUTKPwZY6TcVhDu6MNklKWnK4KlyvkLupIvXDNc0L23n4jI+oXn RN6g2hHvA==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5quq-0005rD-WF for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:38 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id D5F9625BF34; 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=FapgCaBDLccwvSR0PiuK+oeVk/IvWsSgj53n4BPXfAw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LGtNs9gq6aJE0qSbEpex11mvTkJh/2WueByzMOlGPgGKmBnrPREJky2d/CFsAfnaU 6XXj9mJjoSyRmxj8ru7or1qZVNE97NZaxLLHruvN3gYQtv10Tta/uqJ1eNJS6jw7qQ q2Pzl43rhOoO8zn7D5FPjVHvhr//5DVO/H1DJm6I= Received: by reginn.horms.nl (Postfix, from userid 7100) id DB61A9404E1; Fri, 28 Sep 2018 12:23:37 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 07/21] soc: renesas: convert to SPDX identifiers Date: Fri, 28 Sep 2018 12:23:22 +0200 Message-Id: <41c4567ce2610b7a87952398756d662e979621fa.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_072637_672268_19EF4E46 X-CRM114-Status: GOOD ( 15.86 ) 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 , Kuninori Morimoto , 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: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/soc/renesas/Kconfig | 1 + drivers/soc/renesas/r8a7743-sysc.c | 5 +---- drivers/soc/renesas/r8a7745-sysc.c | 5 +---- drivers/soc/renesas/r8a7779-sysc.c | 5 +---- drivers/soc/renesas/r8a7790-sysc.c | 5 +---- drivers/soc/renesas/r8a7791-sysc.c | 5 +---- drivers/soc/renesas/r8a7792-sysc.c | 5 +---- drivers/soc/renesas/r8a7794-sysc.c | 5 +---- drivers/soc/renesas/r8a7795-sysc.c | 5 +---- drivers/soc/renesas/r8a7796-sysc.c | 5 +---- drivers/soc/renesas/r8a77970-sysc.c | 5 +---- drivers/soc/renesas/r8a77995-sysc.c | 5 +---- drivers/soc/renesas/rcar-rst.c | 5 +---- drivers/soc/renesas/rcar-sysc.c | 5 +---- drivers/soc/renesas/rcar-sysc.h | 7 ++----- drivers/soc/renesas/renesas-soc.c | 10 +--------- 16 files changed, 17 insertions(+), 66 deletions(-) diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index 00d4c9db1981..4ba59783e607 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config SOC_RENESAS bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS default y if ARCH_RENESAS diff --git a/drivers/soc/renesas/r8a7743-sysc.c b/drivers/soc/renesas/r8a7743-sysc.c index 9583a327d90c..edf6436e879f 100644 --- a/drivers/soc/renesas/r8a7743-sysc.c +++ b/drivers/soc/renesas/r8a7743-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas RZ/G1M System Controller * * Copyright (C) 2016 Cogent Embedded Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation; of the License. */ #include diff --git a/drivers/soc/renesas/r8a7745-sysc.c b/drivers/soc/renesas/r8a7745-sysc.c index d17887c08aa1..65dc6b09cc85 100644 --- a/drivers/soc/renesas/r8a7745-sysc.c +++ b/drivers/soc/renesas/r8a7745-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas RZ/G1E System Controller * * Copyright (C) 2016 Cogent Embedded Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation; of the License. */ #include diff --git a/drivers/soc/renesas/r8a7779-sysc.c b/drivers/soc/renesas/r8a7779-sysc.c index 9e8e6b7faa04..517aa40fa6e6 100644 --- a/drivers/soc/renesas/r8a7779-sysc.c +++ b/drivers/soc/renesas/r8a7779-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas R-Car H1 System Controller * * Copyright (C) 2016 Glider bvba - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. */ #include diff --git a/drivers/soc/renesas/r8a7790-sysc.c b/drivers/soc/renesas/r8a7790-sysc.c index 7a567ad0ff73..9b5a6bb62152 100644 --- a/drivers/soc/renesas/r8a7790-sysc.c +++ b/drivers/soc/renesas/r8a7790-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas R-Car H2 System Controller * * Copyright (C) 2016 Glider bvba - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. */ #include diff --git a/drivers/soc/renesas/r8a7791-sysc.c b/drivers/soc/renesas/r8a7791-sysc.c index 03b9f41a34e6..acf545cdebfb 100644 --- a/drivers/soc/renesas/r8a7791-sysc.c +++ b/drivers/soc/renesas/r8a7791-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas R-Car M2-W/N System Controller * * Copyright (C) 2016 Glider bvba - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. */ #include diff --git a/drivers/soc/renesas/r8a7792-sysc.c b/drivers/soc/renesas/r8a7792-sysc.c index ca7467d7b7ec..05b78525cc43 100644 --- a/drivers/soc/renesas/r8a7792-sysc.c +++ b/drivers/soc/renesas/r8a7792-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas R-Car V2H (R8A7792) System Controller * * Copyright (C) 2016 Cogent Embedded Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. */ #include diff --git a/drivers/soc/renesas/r8a7794-sysc.c b/drivers/soc/renesas/r8a7794-sysc.c index c4da2941e06c..0d42637fa662 100644 --- a/drivers/soc/renesas/r8a7794-sysc.c +++ b/drivers/soc/renesas/r8a7794-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas R-Car E2 System Controller * * Copyright (C) 2016 Glider bvba - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. */ #include diff --git a/drivers/soc/renesas/r8a7795-sysc.c b/drivers/soc/renesas/r8a7795-sysc.c index 7412666187b3..cda27a67de98 100644 --- a/drivers/soc/renesas/r8a7795-sysc.c +++ b/drivers/soc/renesas/r8a7795-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas R-Car H3 System Controller * * Copyright (C) 2016-2017 Glider bvba - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. */ #include diff --git a/drivers/soc/renesas/r8a7796-sysc.c b/drivers/soc/renesas/r8a7796-sysc.c index f700c842b9e1..1b06f868b6e8 100644 --- a/drivers/soc/renesas/r8a7796-sysc.c +++ b/drivers/soc/renesas/r8a7796-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas R-Car M3-W System Controller * * Copyright (C) 2016 Glider bvba - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. */ #include diff --git a/drivers/soc/renesas/r8a77970-sysc.c b/drivers/soc/renesas/r8a77970-sysc.c index caf894f193ed..35b30d6a8958 100644 --- a/drivers/soc/renesas/r8a77970-sysc.c +++ b/drivers/soc/renesas/r8a77970-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas R-Car V3M System Controller * * Copyright (C) 2017 Cogent Embedded Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include diff --git a/drivers/soc/renesas/r8a77995-sysc.c b/drivers/soc/renesas/r8a77995-sysc.c index 1b2ef415bbe1..6243aaaf60fb 100644 --- a/drivers/soc/renesas/r8a77995-sysc.c +++ b/drivers/soc/renesas/r8a77995-sysc.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas R-Car D3 System Controller * * Copyright (C) 2017 Glider bvba - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. */ #include diff --git a/drivers/soc/renesas/rcar-rst.c b/drivers/soc/renesas/rcar-rst.c index a447873ce182..0f9f487ca6e2 100644 --- a/drivers/soc/renesas/rcar-rst.c +++ b/drivers/soc/renesas/rcar-rst.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R-Car Gen1 RESET/WDT, R-Car Gen2, Gen3, and RZ/G RST Driver * * Copyright (C) 2016 Glider bvba - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. */ #include diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c index fe32f7a3b215..93b473debc12 100644 --- a/drivers/soc/renesas/rcar-sysc.c +++ b/drivers/soc/renesas/rcar-sysc.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R-Car SYSC Power management support * * Copyright (C) 2014 Magnus Damm * Copyright (C) 2015-2017 Glider bvba - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. */ #include diff --git a/drivers/soc/renesas/rcar-sysc.h b/drivers/soc/renesas/rcar-sysc.h index 33defe624a8c..d64037b0b828 100644 --- a/drivers/soc/renesas/rcar-sysc.h +++ b/drivers/soc/renesas/rcar-sysc.h @@ -1,11 +1,8 @@ -/* +/* SPDX-License-Identifier: GPL-2.0 + * * Renesas R-Car System Controller * * Copyright (C) 2016 Glider bvba - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. */ #ifndef __SOC_RENESAS_RCAR_SYSC_H__ #define __SOC_RENESAS_RCAR_SYSC_H__ diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index ce19b2732433..9e244206d2dd 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Renesas SoC Identification * * Copyright (C) 2014-2016 Glider bvba - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include 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 From patchwork Fri Sep 28 10:23:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619877 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 B17826CB for ; Fri, 28 Sep 2018 12:37:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A028F2AFE0 for ; Fri, 28 Sep 2018 12:37:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9443F2B337; Fri, 28 Sep 2018 12:37:02 +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 DD3422AFE0 for ; Fri, 28 Sep 2018 12:37:01 +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=UCLqY0xiKGkcuOtJLIZAXqWDm4Mz1amJFEWt1MCwZqg=; b=TJfrPtLeDcbX0cINyqjDcHaQdl f4adUOlCMgG2KfAKqYWcIKOEKfnLFOHjfCKpG5wQenuPzZRCvnbpYUvmtWDsiM3g2p/lpi26mIVWk TqKSU4Z8iaSrvqa+MhdOMvNcIdevKMCRne1loXcfpfha4ijHXMTe+xse2UyfqEGRNAKEsZptIky+L NpyQiw9/QGL5TqK+i+4nEqXCNCbFJ4WQzFtusH9jtwpZLc9M/QTSBQT29wDiegtyH7hamQVUJ/ucy ZdvXmZxnr4N80K7FesTCo8FxhozfOOZDOtTgM9IFL9zSAK8nytrirrsKN0f4OmTn+b19C+mUZDdQY bpb9KG9A==; 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 1g5s0p-0003RL-A7; Fri, 28 Sep 2018 12:36:51 +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 1g5rr5-0005At-4u for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:47 +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=KT1FWRfW9WatTBN2/lAW4LntOEQ5AYTApehA7PRHrvg=; b=nlgXFujSamh4sJaapLlZi6UL/ 3F7RiQBHs9nGLo01fUyDiN7wDlRMnBdg83mRLKSnKRhsiZWG22gLXgJw3SByvAXu4TlS0VWI6WmuH 1rEnZJhiL8JaYRCsjtnCKb4fShjMNIP+volP1Kbbp6f2YpVwUmSKd94rZ2sMx0vIOyyTgu+zCM1sI 8sTNQjwrOVe6J27boxreFnl660JKAMaSZIlBaTBWxL17F3ljvQ9RQhmlnW7z1uH7VuCchlPo55U3p yqxR43xybHqRuYFy0xVAhshiLgdUH+GbvfNtP4E9JYhl9IXYhEb3sZ9AHXcGzKgHOO2QL8popWKmY Rm+bCo3sQ==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5quy-0005rD-FD for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:45 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 0D12525BF3A; Fri, 28 Sep 2018 20:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130222; bh=3pOGLNx4rRH0OsrGb7VYdSD7aeiG7kRBMbj30xd5ekc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lLB29ECWEQ4Lcy1LZdqXrsbwUVJZNrxavPHJ8e3GLxkLQxJfSdc448dfCggKWIk1Z 4ctgL0BCcZwBMd5TkJ9p9lsQadBHks7b6usKeQWQZxQbcFr/GP+pZdJtGiIGaGhBg2 5ZP628ZQnWEfwjYakxpbuQw/DmjpgIZbrhUDp7rI= Received: by reginn.horms.nl (Postfix, from userid 7100) id 13780940796; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 09/21] dt-bindings: power: Add r8a774c0 SYSC power domain definitions Date: Fri, 28 Sep 2018 12:23:24 +0200 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-20180928_072644_745670_C9516F14 X-CRM114-Status: GOOD ( 15.51 ) 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 This patch adds power domain indices for RZ/G2E. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Signed-off-by: Simon Horman --- include/dt-bindings/power/r8a774c0-sysc.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 include/dt-bindings/power/r8a774c0-sysc.h diff --git a/include/dt-bindings/power/r8a774c0-sysc.h b/include/dt-bindings/power/r8a774c0-sysc.h new file mode 100644 index 000000000000..9922d4c6f87d --- /dev/null +++ b/include/dt-bindings/power/r8a774c0-sysc.h @@ -0,0 +1,25 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2018 Renesas Electronics Corp. + */ +#ifndef __DT_BINDINGS_POWER_R8A774C0_SYSC_H__ +#define __DT_BINDINGS_POWER_R8A774C0_SYSC_H__ + +/* + * These power domain indices match the numbers of the interrupt bits + * representing the power areas in the various Interrupt Registers + * (e.g. SYSCISR, Interrupt Status Register) + */ + +#define R8A774C0_PD_CA53_CPU0 5 +#define R8A774C0_PD_CA53_CPU1 6 +#define R8A774C0_PD_A3VC 14 +#define R8A774C0_PD_3DG_A 17 +#define R8A774C0_PD_3DG_B 18 +#define R8A774C0_PD_CA53_SCU 21 +#define R8A774C0_PD_A2VC1 26 + +/* Always-on power area */ +#define R8A774C0_PD_ALWAYS_ON 32 + +#endif /* __DT_BINDINGS_POWER_R8A774C0_SYSC_H__ */ From patchwork Fri Sep 28 10:23:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619879 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 4F558174A for ; Fri, 28 Sep 2018 12:37:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C3B02B102 for ; Fri, 28 Sep 2018 12:37:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E9BF2B337; Fri, 28 Sep 2018 12:37:40 +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 A5BB12B102 for ; Fri, 28 Sep 2018 12:37:39 +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=L1wZrBi10kV28gHLmCdGFRF2SgV2huYRVSmf/mJJl4s=; b=SAaFL/gZ9q9+NBrYj1BOAOSdTE oNJEdvxeZPOVdGLcOdg61FpMLLYwIE9ImLv4xfbyqfq5hVk8RETuHLIYpR/qjMkSge72S2eLY8kdg TPo6P0dqRwjCbdwyKNK2O2WIzTLoL0vbPtIyNxlfZl36fpCjlYoXkaxC+9qI6QXtdl3S7ktY1n7tA GgLMZl0NizojKXg9wP6GWQY4b4rkZ6BOHZelZJ63nCn2ik5QaU5UG7AYHduxA8CUuMm/3XqY4UBI3 hdMe7HJOnR+us/zykv5PnZbMlQc3QezSq/C25wp2xHkdcXOKEEHAtnkYJSNE0p6Aag50ilQHyHFDY JYborTSw==; 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 1g5s1Q-0003hF-2u; Fri, 28 Sep 2018 12:37:28 +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 1g5rr8-0005At-LT for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:50 +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=X/K2q++ohDNProw2Uye+g2OVW8V3tUA5b+6eU/MrWP4=; b=1Ge9MJauODDZvRQ7rSi7f1RxK tf6+Sle/Wx+/sDUtg2SHMi6g8+9pBy1/jPAEBg3IyzQQ5e1KMSXrBMdBtbuiZgtxjUVjzrtP0alJ/ PTNeAXLXPndv3fEP9rueuNrOb9F0RMae4l5P2tsl0TSqjlrGUNm/3Tf8YOD8M3YbAttIU6hlT3zUt FbAwKpTpcg0HM9GBy1xWKbbqLvzFX7eOPfmIjbpSt88CgDofqnhdMDN9xsATAULH1Y7avBdoppgHG dgs30mZAkoYiC0p0IL7iQT7Mp0L1b76d2nZNzy0b9lOFslylGtE0f5DbG/Aqzt3AIHQT0cc2+NIza hBW1u9+9g==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5quv-0005rD-Ti for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:42 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 0D9E425BF42; Fri, 28 Sep 2018 20:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130222; bh=kuZOqev0/OFwjbeU8Avf7ArLVVmcB3jpJzLk5kLr1DU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WgaFxpnPfj31uJ99KcuMGb207ABgtH/wACzEd/kDiM5pN6zq9nOFvlVBbuuENVHqs KxxvY2uPq9BXrjZ14EL0uVlwMRGYUlfDBeHZf8EXydCxeqakUiRhNMRkzdXBVWGnPS uzfS1VCHgyPuYxkw0552aFz+knyImv+DHKUnUBX4= Received: by reginn.horms.nl (Postfix, from userid 7100) id 21DB994069B; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 10/21] dt-bindings: power: rcar-sysc: Document r8a774c0 sysc Date: Fri, 28 Sep 2018 12:23:25 +0200 Message-Id: <39dc9a103bc587d32a0416c5a47483a6e9ef88e2.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_072642_235200_7E2120F0 X-CRM114-Status: GOOD ( 12.37 ) 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 Document bindings for the RZ/G2E (a.k.a. R8A774C0) system controller. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt b/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt index 4e3ec6ac6345..4cb97d48bf66 100644 --- a/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt +++ b/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt @@ -11,6 +11,7 @@ Required properties: - "renesas,r8a7745-sysc" (RZ/G1E) - "renesas,r8a77470-sysc" (RZ/G1C) - "renesas,r8a774a1-sysc" (RZ/G2M) + - "renesas,r8a774c0-sysc" (RZ/G2E) - "renesas,r8a7779-sysc" (R-Car H1) - "renesas,r8a7790-sysc" (R-Car H2) - "renesas,r8a7791-sysc" (R-Car M2-W) From patchwork Fri Sep 28 10:23:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619881 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 A0AF9174A for ; Fri, 28 Sep 2018 12:38:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1E0C92AB2A for ; Fri, 28 Sep 2018 12:38:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0F5572AB42; Fri, 28 Sep 2018 12:38:10 +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=unavailable 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 6D7E82AB2A for ; Fri, 28 Sep 2018 12:38:09 +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=I615l/wfl9egwdBYBqyh+eAoPZrGLr+GHzZIozxL9B0=; b=uxB9e614CgpGkMc5Er9BJu5aTm 2VAPbea1ZXuQsWETm8l0SrW7OcoT7ggsIDqECGdwYVv4XCXl4hHVSsNXXbTT1iFElsozrxkGwYwli dmzcQ3n/piX+LcRgDeRWcRC0pj7rXFl5D+yKKYml+e9S6O1HwC+EaYWZQ3W8A2NVTHEclerNDYqqi cdiM7hwzUuXQHev6Ier+hu/zqF4lAc7XanCtOIjafYgDaD86I0liXp0L6UUEH+OcZXJ+GVGlp6YEd 7JcmOq+3BOzPiDWd8x2VIL9H1pxrjGVc4l1AgznQARw+uuIeKppXhaOWYCwodlKIxNUYwMAoD2RFO mSo76Beg==; 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 1g5s1z-0003xE-NU; Fri, 28 Sep 2018 12:38:03 +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 1g5rr6-0005At-Pl for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:49 +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=mzh8FsAQULNwcePK8PhEwVoaNTte4WyDckoheAd1G2E=; b=M6f54c3OwLxavWsUxM4oYuH0x 43pxmLdK2L657PpTgbw2g+RvDOndItmS/G0e6hNOTmDosbrQXvlZUTV8P1afspqiY2HTUFFA2KSwY WAtMwbwQ195eZWh5I0JJ1BMJCFhBQIoPYX9bCD/VPYCzbCCxeyM1QyNjWfSYQx45kSMGJTJu9o8yD ziBBl8NF1tsO8ZbhpCunQYRbxUk1bIEeXb25vzdA9/lAkkepXA7ZTdoc5D3N/Aly5ZwzNcEEK6Wb1 Lc3Ct6AkgOI6m81FrpGOkcBECudsk7bptwoOuNnL6CSIuRHYfKANXfA8UueqHDkQNkQKfxHSySY00 sdTbj/q6g==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5qux-0005rD-7U for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:43 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 0C28E25BF37; Fri, 28 Sep 2018 20:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130222; bh=Bc2r31hfdOs45AKTG/fY0ulUsRvqmX49LPJrJTAkKI0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SL6H6ebVLhjoaTnAbIBGO1OeQ3LAvZW7dd+pkMEnyyphNSxi5+h1HyS8BZvC9mubZ 7pJkaRZo4qvlCvUkq+lhmxIMA7tkbRVH4C7jH1/pZgG0+K/TzpSu6eZL+gvS20CNPB IQbaojf/CEJJF/yJJ3QjtRsIugHTUgLGTYjwzBE0= Received: by reginn.horms.nl (Postfix, from userid 7100) id 3D80A940151; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 11/21] soc: renesas: rcar-sysc: Add r8a774c0 support Date: Fri, 28 Sep 2018 12:23:26 +0200 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-20180928_072643_514352_E32D32FD X-CRM114-Status: GOOD ( 24.17 ) 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 the RZ/G2E (R8A774C0) SoC power areas to the R-Car SYSC driver. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Signed-off-by: Simon Horman --- drivers/soc/renesas/Kconfig | 5 +++ drivers/soc/renesas/Makefile | 1 + drivers/soc/renesas/r8a774c0-sysc.c | 68 +++++++++++++++++++++++++++++++++++++ drivers/soc/renesas/rcar-sysc.c | 3 ++ drivers/soc/renesas/rcar-sysc.h | 1 + 5 files changed, 78 insertions(+) create mode 100644 drivers/soc/renesas/r8a774c0-sysc.c diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index 4ba59783e607..e7b7d9fcbc76 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -11,6 +11,7 @@ config SOC_RENESAS select SYSC_R8A7745 if ARCH_R8A7745 select SYSC_R8A77470 if ARCH_R8A77470 select SYSC_R8A774A1 if ARCH_R8A774A1 + select SYSC_R8A774C0 if ARCH_R8A774C0 select SYSC_R8A7779 if ARCH_R8A7779 select SYSC_R8A7790 if ARCH_R8A7790 select SYSC_R8A7791 if ARCH_R8A7791 || ARCH_R8A7793 @@ -43,6 +44,10 @@ config SYSC_R8A774A1 bool "RZ/G2M System Controller support" if COMPILE_TEST select SYSC_RCAR +config SYSC_R8A774C0 + bool "RZ/G2E System Controller support" if COMPILE_TEST + select SYSC_RCAR + config SYSC_R8A7779 bool "R-Car H1 System Controller support" if COMPILE_TEST select SYSC_RCAR diff --git a/drivers/soc/renesas/Makefile b/drivers/soc/renesas/Makefile index 6adb9d6964a0..3bdd7dbc38a9 100644 --- a/drivers/soc/renesas/Makefile +++ b/drivers/soc/renesas/Makefile @@ -7,6 +7,7 @@ obj-$(CONFIG_SYSC_R8A7743) += r8a7743-sysc.o obj-$(CONFIG_SYSC_R8A7745) += r8a7745-sysc.o obj-$(CONFIG_SYSC_R8A77470) += r8a77470-sysc.o obj-$(CONFIG_SYSC_R8A774A1) += r8a774a1-sysc.o +obj-$(CONFIG_SYSC_R8A774C0) += r8a774c0-sysc.o obj-$(CONFIG_SYSC_R8A7779) += r8a7779-sysc.o obj-$(CONFIG_SYSC_R8A7790) += r8a7790-sysc.o obj-$(CONFIG_SYSC_R8A7791) += r8a7791-sysc.o diff --git a/drivers/soc/renesas/r8a774c0-sysc.c b/drivers/soc/renesas/r8a774c0-sysc.c new file mode 100644 index 000000000000..e1ac4c0f6640 --- /dev/null +++ b/drivers/soc/renesas/r8a774c0-sysc.c @@ -0,0 +1,68 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Renesas RZ/G2E System Controller + * Copyright (C) 2018 Renesas Electronics Corp. + * + * Based on Renesas R-Car E3 System Controller + */ + +#include +#include +#include + +#include + +#include "rcar-sysc.h" + +static struct rcar_sysc_area r8a774c0_areas[] __initdata = { + { "always-on", 0, 0, R8A774C0_PD_ALWAYS_ON, -1, PD_ALWAYS_ON }, + { "ca53-scu", 0x140, 0, R8A774C0_PD_CA53_SCU, R8A774C0_PD_ALWAYS_ON, + PD_SCU }, + { "ca53-cpu0", 0x200, 0, R8A774C0_PD_CA53_CPU0, R8A774C0_PD_CA53_SCU, + PD_CPU_NOCR }, + { "ca53-cpu1", 0x200, 1, R8A774C0_PD_CA53_CPU1, R8A774C0_PD_CA53_SCU, + PD_CPU_NOCR }, + { "a3vc", 0x380, 0, R8A774C0_PD_A3VC, R8A774C0_PD_ALWAYS_ON }, + { "a2vc1", 0x3c0, 1, R8A774C0_PD_A2VC1, R8A774C0_PD_A3VC }, + { "3dg-a", 0x100, 0, R8A774C0_PD_3DG_A, R8A774C0_PD_ALWAYS_ON }, + { "3dg-b", 0x100, 1, R8A774C0_PD_3DG_B, R8A774C0_PD_3DG_A }, +}; + +static void __init rcar_sysc_fix_parent(struct rcar_sysc_area *areas, + unsigned int num_areas, u8 id, + int new_parent) +{ + unsigned int i; + + for (i = 0; i < num_areas; i++) + if (areas[i].isr_bit == id) { + areas[i].parent = new_parent; + return; + } +} + +/* Fixups for RZ/G2E ES1.0 revision */ +static const struct soc_device_attribute r8a774c0[] __initconst = { + { .soc_id = "r8a774c0", .revision = "ES1.0" }, + { /* sentinel */ } +}; + +static int __init r8a774c0_sysc_init(void) +{ + if (soc_device_match(r8a774c0)) { + rcar_sysc_fix_parent(r8a774c0_areas, + ARRAY_SIZE(r8a774c0_areas), + R8A774C0_PD_3DG_A, R8A774C0_PD_3DG_B); + rcar_sysc_fix_parent(r8a774c0_areas, + ARRAY_SIZE(r8a774c0_areas), + R8A774C0_PD_3DG_B, R8A774C0_PD_ALWAYS_ON); + } + + return 0; +} + +const struct rcar_sysc_info r8a774c0_sysc_info __initconst = { + .init = r8a774c0_sysc_init, + .areas = r8a774c0_areas, + .num_areas = ARRAY_SIZE(r8a774c0_areas), +}; diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c index 93b473debc12..08c8b62896b7 100644 --- a/drivers/soc/renesas/rcar-sysc.c +++ b/drivers/soc/renesas/rcar-sysc.c @@ -275,6 +275,9 @@ static const struct of_device_id rcar_sysc_matches[] __initconst = { #ifdef CONFIG_SYSC_R8A774A1 { .compatible = "renesas,r8a774a1-sysc", .data = &r8a774a1_sysc_info }, #endif +#ifdef CONFIG_SYSC_R8A774C0 + { .compatible = "renesas,r8a774c0-sysc", .data = &r8a774c0_sysc_info }, +#endif #ifdef CONFIG_SYSC_R8A7779 { .compatible = "renesas,r8a7779-sysc", .data = &r8a7779_sysc_info }, #endif diff --git a/drivers/soc/renesas/rcar-sysc.h b/drivers/soc/renesas/rcar-sysc.h index d64037b0b828..485520a5b295 100644 --- a/drivers/soc/renesas/rcar-sysc.h +++ b/drivers/soc/renesas/rcar-sysc.h @@ -50,6 +50,7 @@ extern const struct rcar_sysc_info r8a7743_sysc_info; extern const struct rcar_sysc_info r8a7745_sysc_info; extern const struct rcar_sysc_info r8a77470_sysc_info; extern const struct rcar_sysc_info r8a774a1_sysc_info; +extern const struct rcar_sysc_info r8a774c0_sysc_info; extern const struct rcar_sysc_info r8a7779_sysc_info; extern const struct rcar_sysc_info r8a7790_sysc_info; extern const struct rcar_sysc_info r8a7791_sysc_info; From patchwork Fri Sep 28 10:23: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: 10619885 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 3F06F6CB for ; Fri, 28 Sep 2018 12:39:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DF3F2AD4B for ; Fri, 28 Sep 2018 12:39:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21CBC2ADD4; Fri, 28 Sep 2018 12:39:27 +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 DB68B2AD4B for ; Fri, 28 Sep 2018 12:39:25 +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=p6piTAE7Wym77jmJulsqzXSpJ6E2M16nHb1hTIXbwUE=; b=rdAkJOBcGg9SVpZmUD3smbu1yL vNLlZxIIsUlYyUVu8CSgFB81GpzsZfZwBfHn/VpOu7AVYC2lbcZwEZz0EZA6l0C4/vI/mEXOZrn9D bkoLSD5jeqjUQkspiRNAHXqlO4NOafXjLORUSEH02vJ6+8qkt4l3Eo50Ga3mAKVTE/knlNId+2M0L UdHCbsh6iqq6PFrO3bkudnUuwECaUB1zVTajymH/UWW+xLF+wJ47FGJd7JP1lwb76qpevOwbExwih 12Nvu4NA4N8fY+gK4RREul/34XupZjJ7V/7KPLKOn7gwhYSEGLMw+pIkZYMZrDAyP7uxupzK3tc/h HDWeZD0g==; 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 1g5s3E-0004XJ-Gl; Fri, 28 Sep 2018 12:39:20 +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 1g5rrA-0005At-5y for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:52 +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=nRIDX97T8Tmw7PRdBtS9yh//uBrqoTgXTBz8xc3Yk2w=; b=hTG0KTscQpbdtlJpT+3RkTrY3 mwDBkJO5hT5eMr+kUnvVIUjX+XUpOEYRU8QylFdtmbjQnzn6/OJL57NFg7MRJGensXWtojeLePe5p 2lVQCgcgr/gj9+jECCuj2T8zTsG4iJZILDj9Ek8Xepsu+hp9BdPfii7txEmFlSd3eYOtKkJZGzyWu c6ZV4a8zq20dJ75pdhI5ixlUR/qed4hwKQ/DjmbND8BbvJUK6H8u18jQ51vEnXIGIhHYCiDBnSnyM 0nvnjLC2zvhy/JNOZpXMhZmu7hXcf/vl9MiHnv/iAddPgFNH0RxXGKCmq8A8S3Bzc+qYWzWJ4b/Hf aw6xgRxGQ==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5quu-0005rD-4d for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:41 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 0D51525BF40; Fri, 28 Sep 2018 20:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130222; bh=UaudhM1h7M/f72l7r5vIhHFD9qyEQi4Nt2wWNtOaDxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dDMH/hATFSiTDqH98W8rcnGCm9XubcY/1PYyt2URBtrp5bUfmst8Q94lVX12IRFi+ SQb7eyzDiNghOsK0Y8H1PD9llH6jkpUMM6aMMHKQhkjiSDm3uu3XGhdcufUs+D1q7I K8HrpOkTdfz1olUILhRK4V1z+0Gcswue01H/oIDI= Received: by reginn.horms.nl (Postfix, from userid 7100) id 5071B94085B; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 12/21] dt-bindings: reset: rcar-rst: Document r8a774c0 rst Date: Fri, 28 Sep 2018 12:23:27 +0200 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-20180928_072640_413045_6211B89F X-CRM114-Status: GOOD ( 11.83 ) 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 Document bindings for the RZ/G2E (a.k.a. R8A774C0) reset module. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Acked-by: Philipp Zabel Reviewed-by: Rob Herring Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/reset/renesas,rst.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/reset/renesas,rst.txt b/Documentation/devicetree/bindings/reset/renesas,rst.txt index e4fe0ab294bf..25e6db546215 100644 --- a/Documentation/devicetree/bindings/reset/renesas,rst.txt +++ b/Documentation/devicetree/bindings/reset/renesas,rst.txt @@ -19,6 +19,7 @@ Required properties: - "renesas,r8a7745-rst" (RZ/G1E) - "renesas,r8a77470-rst" (RZ/G1C) - "renesas,r8a774a1-rst" (RZ/G2M) + - "renesas,r8a774c0-rst" (RZ/G2E) - "renesas,r8a7778-reset-wdt" (R-Car M1A) - "renesas,r8a7779-reset-wdt" (R-Car H1) - "renesas,r8a7790-rst" (R-Car H2) From patchwork Fri Sep 28 10:23:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619873 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 536876CB for ; Fri, 28 Sep 2018 12:35:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 410492AFE0 for ; Fri, 28 Sep 2018 12:35:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 357662B337; Fri, 28 Sep 2018 12:35:51 +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 BF0CB2AFE0 for ; Fri, 28 Sep 2018 12:35:50 +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=hmjVQJdji/aF9xyENLeNP/2p+Et7Sus7qI6+0eWiGuo=; b=SObriZ6yc9ck0iVw91w8QPt/fi No3PO+OmPjGJP/8Cz/s8hwrrGBKFUf7WUlhrvR0F7KgNeR8dKFiXJAc/LWgoE9J4lrJEsm/69t32g AAKUrMD05OrnGcYDayV170l8A0PUn+C7pFwNg0M8Ma4M81r1NqMfdbRv/JBoGhCWgfuFh+KiMdfxZ JtPIa5z65vyTWCsF5qpkRtFfSA/Pd2QvYuJ/7u7aoCKf3MkxXSuyWwkL6UZ6BL4tWNedFNylV2wru mcViV08oLcqXLWRgMXtChOqmYfV33Op2w2ZnpuhMaLN1jygMGxse22DTBToSAiEpKP7bLtpOHRbgE Dcw1tuCA==; 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 1g5rzd-0002s5-D6; Fri, 28 Sep 2018 12:35:37 +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 1g5rr3-0005At-IT for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:45 +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=1T/k6vW17eFHYEgdK8Csq3K8WYHeEp+J2GgIRLdt5fM=; b=BHWWVw6GvmHMAWkobJbHiMNoh GAewNCbssm3ulPFRuKOpVfecvbLxJOw9/LHZkLDemY6RK1CVzVY798XLCIB3BJUObphsTKvUYRlYL 4aXqdnd2yrwCRuVlfNWG+c0UC9cJYRBndk0VITcKrtwBrQb6nDtU9+qRH5UniViAD0sdw2ekV7D2y TpZSs8K/q6ilkFBVeXU0dsqKVbW3PFQLRSq0Sn1SSvNoZt2U+5B+dhcM54g1RwNrEn1Axv0QVC2yq bfLFKc3ciLwUfpDWH5Row2jOmEaEWvfG5ly57v8sp8Jhs8MsbFISMNc70GMZ0YMN2JE3WE/ZRJgpx OC7DK6UmA==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5quz-0005rD-Kt for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:46 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 2AB9D25BF14; Fri, 28 Sep 2018 20:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130222; bh=BtiyzDTvAFaiV378ViGTMBRAgp1xdSRTmxNEu7paCAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NTs9mZX9iin/Geni+QH5NgGERH7cNHpF2x9oUlnyTkqZRnz8u+oZWv8BXpTe6dvR2 5pZ/os6cHuCqbFAOKwcpwlREAA87HzEYv9HzPt1L6fweecaSvAajvn2O7+KEHU9/N1 cvJpaahrtICRjsyxiUJlNpAisyaNoppsWrK8qPfU= Received: by reginn.horms.nl (Postfix, from userid 7100) id 635CA9407DF; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 13/21] soc: renesas: rcar-rst: Add support for RZ/G2E Date: Fri, 28 Sep 2018 12:23:28 +0200 Message-Id: <91e95ecd4b4ff35624ac48bdf6dcf2d855f0b63e.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_072645_933051_36FEC347 X-CRM114-Status: GOOD ( 14.68 ) 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 Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Signed-off-by: Simon Horman --- drivers/soc/renesas/Kconfig | 6 +++--- drivers/soc/renesas/rcar-rst.c | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index e7b7d9fcbc76..05086ac2108b 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -4,9 +4,9 @@ config SOC_RENESAS default y if ARCH_RENESAS select SOC_BUS select RST_RCAR if ARCH_RCAR_GEN1 || ARCH_RCAR_GEN2 || \ - ARCH_R8A774A1 || ARCH_R8A7795 || ARCH_R8A7796 || \ - ARCH_R8A77965 || ARCH_R8A77970 || ARCH_R8A77980 || \ - ARCH_R8A77990 || ARCH_R8A77995 + ARCH_R8A774A1 || ARCH_R8A774C0 || ARCH_R8A7795 || \ + ARCH_R8A7796 || ARCH_R8A77965 || ARCH_R8A77970 || \ + ARCH_R8A77980 || ARCH_R8A77990 || ARCH_R8A77995 select SYSC_R8A7743 if ARCH_R8A7743 select SYSC_R8A7745 if ARCH_R8A7745 select SYSC_R8A77470 if ARCH_R8A77470 diff --git a/drivers/soc/renesas/rcar-rst.c b/drivers/soc/renesas/rcar-rst.c index 0f9f487ca6e2..69a3125ceaad 100644 --- a/drivers/soc/renesas/rcar-rst.c +++ b/drivers/soc/renesas/rcar-rst.c @@ -44,6 +44,7 @@ static const struct of_device_id rcar_rst_matches[] __initconst = { { .compatible = "renesas,r8a77470-rst", .data = &rcar_rst_gen2 }, /* RZ/G2 is handled like R-Car Gen3 */ { .compatible = "renesas,r8a774a1-rst", .data = &rcar_rst_gen3 }, + { .compatible = "renesas,r8a774c0-rst", .data = &rcar_rst_gen3 }, /* R-Car Gen1 */ { .compatible = "renesas,r8a7778-reset-wdt", .data = &rcar_rst_gen1 }, { .compatible = "renesas,r8a7779-reset-wdt", .data = &rcar_rst_gen1 }, From patchwork Fri Sep 28 10:23: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: 10619869 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 9096D6CB for ; Fri, 28 Sep 2018 12:34:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EFA12B102 for ; Fri, 28 Sep 2018 12:34:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72A1B2B337; Fri, 28 Sep 2018 12:34:24 +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 EF7862B102 for ; Fri, 28 Sep 2018 12:34:23 +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=YLlECHnmL9On1VBpM7Zz0f2kZBbmecr+Rok26b2PipQ=; b=Q1yGEe/phOUaEmyr0nOIkkHriD R2UUWIwuUkCUMi30/hfotx1jhQy1lQWbL9r8sfLb4vlYKxDxRAdSbh0Byz1Dflj4+1W+oxvHes9Nw u9akad8XKI0t71RGxcp45f4nkgizTTvYcM2Q8dTf+NjKVTFTpCgKTs7ceAzjbLJaEZWs89w7yXFF+ yAouknAq6sZVWqRAr7HOtILEuOP9nZgmD2w+aCpLTsIsWbWsBV1lOMWqGwkgimuhVhWToFCpDN24z FaOU8o/kCPNpxGJr8qsKYBV/B14MzeWeRdLv3L8SNT2xx3YJsbgb8/DXdHsvNfZZadsKtgmQQCYtl Pt3jADXQ==; 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 1g5ryB-0000qO-B9; Fri, 28 Sep 2018 12:34:07 +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 1g5rr0-0005At-Dk for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:42 +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=UrQDLwUQl2LUvQfNBM7QKMpVDJKzJqaIe7JQnGCeb8A=; b=MxoEOOCo0oXwHpr0Qrk9UVQ4p xyOpgWu10iL1u/zellkDR+qcNh2k+jRLIRIIUmuBshn+PbbPgmeG9UfORLs0jxPPTiTHswACeoolI iP5l5VjXLM8gNdwiN8Ongr89wZZ5NmQz8Al63Q/w2EUlUXrjYsz788x3j2BlNHrUo6NE3cZm0WyND ImzxBwlfA8AymWLkqr855ME2yebSuUteTIJocVGtLg238r3xt2yw6K+jE7JTytG/cz+qDDuLzHNDI M5CWSBgI/eyZ693kaAa3cLWSqm9dbFIpPZjRkswS04m+jAYpA2+caO7Q8oxZCko0IPavKhZ18sduN Jpe0j7ltQ==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5qv2-0005rD-2h for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:48 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 3F67925BF44; Fri, 28 Sep 2018 20:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130222; bh=DuS2UNzCZxdTSRa0MsGrVRpO/Jh5SPNL/xxGcQY5jVw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mot6SUnSoewkuccdn/WdMXcAdXo0wIqgoXczqW5u/8dJyrg+a10IzxLS0L1w05k4+ LUuW5H4VEvGqYqHzsclwf/aWgBRinCFHFSMkZEQIs5sGxxK+627A4R/VtaGcW1EhRm B20AnDMEg8kcAzRDKEvPvzLZoDeWT657PctwT4vI= Received: by reginn.horms.nl (Postfix, from userid 7100) id 7E23D94091B; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 14/21] dt-bindings: power: rcar-sysc: Document r8a7744 SYSC binding Date: Fri, 28 Sep 2018 12:23:29 +0200 Message-Id: <08ea4a3004da9dfbf361f6791934af58a35ec350.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_072648_352929_37209266 X-CRM114-Status: GOOD ( 11.74 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das Add binding documentation for the RZ/G1N (R8A7744) SYSC block. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Reviewed-by: Rob Herring Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt b/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt index 4cb97d48bf66..eae2a880155a 100644 --- a/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt +++ b/Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt @@ -8,6 +8,7 @@ and various coprocessors. Required properties: - compatible: Must contain exactly one of the following: - "renesas,r8a7743-sysc" (RZ/G1M) + - "renesas,r8a7744-sysc" (RZ/G1N) - "renesas,r8a7745-sysc" (RZ/G1E) - "renesas,r8a77470-sysc" (RZ/G1C) - "renesas,r8a774a1-sysc" (RZ/G2M) From patchwork Fri Sep 28 10:23:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619763 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 E044F6CB for ; Fri, 28 Sep 2018 11:25:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D23452B0F2 for ; Fri, 28 Sep 2018 11:25:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C41452B1A8; Fri, 28 Sep 2018 11:25:57 +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 431C62B0F2 for ; Fri, 28 Sep 2018 11:25: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=vTMgiloTHcm2QjGcYzKzHmPvw+TbF+7BmjoYyNr7jFs=; b=RPRapXw/6toZhuvQw5ApcN8Ljj z4Ndku6eiCkGGZXbc269iDmHkeFINDfuAoul+BtqGFOBLwTW4BKowHTfXuKvsrUSm/l6ew/LCbH2s m4W5XBTV6WTqgFuwef0tyJoYVA9wmAnk8iQa9/0Sjy3y/bsYakoQhK/D7QVdKafiPKyeeI0KSK9/S 4FGP13sd5vZTgv1hi57/slpVuSNO5kbFbYyFEq+zk8kbj07Q1BZJ3FVosPR+8rtg2AkXxwfluGKN1 t37c1iIHy/rKLa66GAdLpWrC2FpSNCI5mbwHmB8qQzQNYh8GxuPrcY36RMAoEi4pcTDeb5E/wBygy dyEQM/Jw==; 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 1g5qtx-000588-EF; Fri, 28 Sep 2018 11:25:41 +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 1g5qs2-0000fo-6q for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:24:21 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 308A325BEE1; 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=1538130221; bh=XS1jQe9/bthp6MLGlFqS3M6BrFcdiCO9ReAPPY4vTrw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wk80Hk7ZLdFTpiZpxq68SlCRZr/NbeJHMo3VqnZKOoXQidfrBr6lnPKDJRIUBsPw+ yd6EhP+rASX50gtRc+qq/K8SIcDUd7kUGQiKPOmZf0Ly7wAOFkYSvaapnMHjFPn1gL uDeuanbLBTT/xj+lWYszIOQ/npdlAA2cCe8rSFbM= Received: by reginn.horms.nl (Postfix, from userid 7100) id 888199408A2; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 15/21] dt-bindings: power: rcar-sysc: Add r8a7744 power domain index macros Date: Fri, 28 Sep 2018 12:23:30 +0200 Message-Id: <841e37a5cad3976a15b531e512076a05b6045b4b.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_042342_428375_A0CD3F04 X-CRM114-Status: GOOD ( 11.61 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das Add power domain indices for RZ/G1N (R8A7744) SoC. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Reviewed-by: Rob Herring Signed-off-by: Simon Horman --- include/dt-bindings/power/r8a7744-sysc.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/dt-bindings/power/r8a7744-sysc.h diff --git a/include/dt-bindings/power/r8a7744-sysc.h b/include/dt-bindings/power/r8a7744-sysc.h new file mode 100644 index 000000000000..8b6529778f98 --- /dev/null +++ b/include/dt-bindings/power/r8a7744-sysc.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2018 Renesas Electronics Corp. + */ +#ifndef __DT_BINDINGS_POWER_R8A7744_SYSC_H__ +#define __DT_BINDINGS_POWER_R8A7744_SYSC_H__ + +/* + * These power domain indices match the numbers of the interrupt bits + * representing the power areas in the various Interrupt Registers + * (e.g. SYSCISR, Interrupt Status Register) + * + * Note that RZ/G1N is identical to RZ/G2M w.r.t. power domains. + */ + +#define R8A7744_PD_CA15_CPU0 0 +#define R8A7744_PD_CA15_CPU1 1 +#define R8A7744_PD_CA15_SCU 12 +#define R8A7744_PD_SGX 20 + +/* Always-on power area */ +#define R8A7744_PD_ALWAYS_ON 32 + +#endif /* __DT_BINDINGS_POWER_R8A7744_SYSC_H__ */ From patchwork Fri Sep 28 10:23:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619867 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 EF4CA174A for ; Fri, 28 Sep 2018 12:32:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE2BF2B33A for ; Fri, 28 Sep 2018 12:32:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D14642B348; Fri, 28 Sep 2018 12:32:49 +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 555442B33A for ; Fri, 28 Sep 2018 12:32:49 +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=Usu/gP2X9rnI/iWjjDAjOzYmonqThDNRvVrEYheZd6Q=; b=GPUpX60B5upxrWEfpC/GDMC4f4 dVK4yqIcOIctXarvDmxqwmT+PTG/JpuVozbBrPM9QilqtdzIR9euwD/8avOx/KleROxsm4O+POQ+x nkTvsfVBTsa8BfxBqaP7h5Ri3GD/RvVcMx2wOv2ZYgHymM7146gwpci0lmjpaYw1SRD0HJfQKp87u SsYfndwt0cWd7T1mcYn1lgMw3fELvPogMo9PWS80WCchyWpT/935cMKXEVnesIL9Yuxhkb5VlEOBy YFNHeu4AgmBPTdn68OaM/V42IeMQuEz2zRJsj1Ifplia/hFjM5jY6WoYLCMdzk15tpXhVZblvCamb JdeMv+/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 1g5rwq-0000Ec-1u; Fri, 28 Sep 2018 12:32:44 +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 1g5rqx-0005At-Bu for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:39 +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=Nd441NfLYGKkzte2RIlR0ONd4jh5mujLqXRooQ06w38=; b=I6Q5MqmhT6vwEozD63Egs2eOB A0QMT8nVBS6fgeFrB7u4DnFLl1iOHTucDH2aNGShQXKeuEvVrdeT7vEzleHJ3RnyI8nDoBySLOfFt FuxLsnVmg/ZDeyGCf/ytLuH/nn5uy6PFzAGEAqnSrRLVzwFq+OwULzyOkol+QQvxUbJZdCwdRyfk0 tDMqUuAGGyMI7kZWTJAc0F27qqTQAKN0h28I5e6A7k1zgtxqutRfty3Df4IRuLkRPhpqVHCAhZPVq 1Al7VQK+7ZOCtnd+KF7/GGsrbVdyhvzEAzbHfyY4WhHUZ7l3cCoGxvRHmcIqyhj0ddjqieFwAmdhg kOOPTmnxA==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5qv4-0005rD-F2 for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:51 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id BCCF725BF49; Fri, 28 Sep 2018 20:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130223; bh=fXzOtqvnpSnwFqxKBOq3OOizip+U8deuRndCQAaJfOM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fdCYzLqtYsT53AfioFE64ErnEFzT861kFsSBv7YIA61tVKZ1fWASK6Mv32qax9JQn lspY5gyAHtdgSCDr6XIzK/ATvasJEYhscvpYQLEBIq5If4x/LJtsTM2neh2UYoWRj1 IYByonyqJmVisZtYI4lLadeVVwGlx5T/SBKSaNNg= Received: by reginn.horms.nl (Postfix, from userid 7100) id A764694096E; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 16/21] soc: renesas: rcar-sysc: Add r8a7744 support Date: Fri, 28 Sep 2018 12:23:31 +0200 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-20180928_072650_746139_F3966448 X-CRM114-Status: GOOD ( 15.18 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das Add support for RZ/G1N (R8A7744) SoC power areas to the R-Car SYSC driver. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/soc/renesas/Kconfig | 2 +- drivers/soc/renesas/rcar-sysc.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index 05086ac2108b..407f02c80e8b 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -7,7 +7,7 @@ config SOC_RENESAS ARCH_R8A774A1 || ARCH_R8A774C0 || ARCH_R8A7795 || \ ARCH_R8A7796 || ARCH_R8A77965 || ARCH_R8A77970 || \ ARCH_R8A77980 || ARCH_R8A77990 || ARCH_R8A77995 - select SYSC_R8A7743 if ARCH_R8A7743 + select SYSC_R8A7743 if ARCH_R8A7743 || ARCH_R8A7744 select SYSC_R8A7745 if ARCH_R8A7745 select SYSC_R8A77470 if ARCH_R8A77470 select SYSC_R8A774A1 if ARCH_R8A774A1 diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c index 08c8b62896b7..af53363eda03 100644 --- a/drivers/soc/renesas/rcar-sysc.c +++ b/drivers/soc/renesas/rcar-sysc.c @@ -265,6 +265,8 @@ static int __init rcar_sysc_pd_setup(struct rcar_sysc_pd *pd) static const struct of_device_id rcar_sysc_matches[] __initconst = { #ifdef CONFIG_SYSC_R8A7743 { .compatible = "renesas,r8a7743-sysc", .data = &r8a7743_sysc_info }, + /* RZ/G1N is identical to RZ/G2M w.r.t. power domains. */ + { .compatible = "renesas,r8a7744-sysc", .data = &r8a7743_sysc_info }, #endif #ifdef CONFIG_SYSC_R8A7745 { .compatible = "renesas,r8a7745-sysc", .data = &r8a7745_sysc_info }, From patchwork Fri Sep 28 10:23:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619765 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 F399B15A6 for ; Fri, 28 Sep 2018 11:26:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E642A2B0F2 for ; Fri, 28 Sep 2018 11:26:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8E512B1A8; Fri, 28 Sep 2018 11:26:37 +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 7E6062B0F2 for ; Fri, 28 Sep 2018 11:26:37 +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=CanoHogROilGpUEcb3+dh9HF4GuqSkgta2FjdW07JNw=; b=rEenjJupvH5E/p6M15mgmSD3hE 8XPIqJlUpaWO9aKadE6L1MRlOjyz6Hn37108LbAnIomKMNsztYHtAYhi13WQcI15YvwX/cHUFfeh0 9s+41CeV8C0NQxy+sH9AujZ2qxHi+ybB2PvtxOXKkaxR6KD6ZOxLvRhCybahK0HcJ4Ujko8og/LfK 4VNa4Hv2MAtJZx4/LYHxH0AwhrxThyfoVsICsuo7DTlkRmFp+CCqEs0uiMtMJE5yP94cHeos92S6d ZsIaHjG0nd5Z18bpT5ajJnxc5EPJcX7dwGgHjc3sOVLo6BRTLB0q1f99g7mEy0kcoe2EpX2IDOrDe PDEC6OJA==; 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 1g5qui-0005Zc-CX; Fri, 28 Sep 2018 11:26:29 +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 1g5qsf-0000fo-MO for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:22 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 5362325BF28; 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=1538130221; bh=gWpzxpR6RGxtYMMmSS8eHG5DS9ijzmf1djzCnzbB5mQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PPvdg/BcbjJZskAtxnopp7pyiYlC15pNPfvN/wGaV/gq5r02x3TgJq1HuWnH0COSF /okADQXJZ7UAkeS32gabu83NHq+Dd0fFFXsh+384AcG8ePejybMQrBtRh0KRomK1jt FW4P+Co9Zuj7Lgsg8urUbTreKSatZnOzcqUVrxvQ= Received: by reginn.horms.nl (Postfix, from userid 7100) id B5DA494093E; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 17/21] dt-bindings: reset: rcar-rst: Document r8a7744 reset module Date: Fri, 28 Sep 2018 12:23:32 +0200 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-20180928_042421_885675_F5F447AE X-CRM114-Status: GOOD ( 10.18 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das Document bindings for the RZ/G1N (R8A7744) reset module. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Reviewed-by: Rob Herring Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/reset/renesas,rst.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/reset/renesas,rst.txt b/Documentation/devicetree/bindings/reset/renesas,rst.txt index 25e6db546215..b03c48a1150e 100644 --- a/Documentation/devicetree/bindings/reset/renesas,rst.txt +++ b/Documentation/devicetree/bindings/reset/renesas,rst.txt @@ -16,6 +16,7 @@ Required properties: - "renesas,-rst" for R-Car Gen2 and Gen3, and RZ/G Examples with soctypes are: - "renesas,r8a7743-rst" (RZ/G1M) + - "renesas,r8a7744-rst" (RZ/G1N) - "renesas,r8a7745-rst" (RZ/G1E) - "renesas,r8a77470-rst" (RZ/G1C) - "renesas,r8a774a1-rst" (RZ/G2M) From patchwork Fri Sep 28 10:23:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619889 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 1D2C316B1 for ; Fri, 28 Sep 2018 12:41:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09AA62AE97 for ; Fri, 28 Sep 2018 12:41:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF4C82B209; Fri, 28 Sep 2018 12:41:47 +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 F0AD52AE97 for ; Fri, 28 Sep 2018 12:41:46 +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=R6IwASS49PmzzY4LUeV/BrwG5VQTeD9Tuan79JFtbKU=; b=MeSI6tg/QJ5EAVMu3bpsnWgMTy fa2k4PM14hj6muZ1CcHytdyqfkyU/mUT8B83fVEe25zDzdBa54gleBTEywoKVVWl1mWjCowE7KBuv eFgF9Ub122yFaJsd+ddTWoaxEcxBcY80iwaQnSC6GLdVZuvLkKOOUQMKP857fTaFXGH0RHZpKakju tgz45FOyjGcaPfPAWSm+4In2YcpXStUXfC+ZxzvBNNwdGKV5CHmOjHNG74f7MY3Oksp7PGzFnWIUV A+iI6wdsacsozpJ5yk5H3upCBZeI4jB3f3cf3SrtLGAbDXwmMDYdW831M+kPkDCccHFSBPfNz5laB 644JnPTA==; 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 1g5s5V-0006j4-Qq; Fri, 28 Sep 2018 12:41:41 +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 1g5rqv-0005At-Qy for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:37 +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=Io1iQQJlyrcKLsWrLMDKQxqcGaguIKXy2vqFGwvSKNA=; b=vZAfPBfDknzSf+gYTuohPu81G Lp8BSY3JlSCGxfPMQzucdHF5kyyKhXUcN3mK01gRDoMjLb+iXU09D4rYedlamaMeifmpsq0Jat9/t me3NgHrBiAGIoEt1T8z5Z3FQprQESYolFPhKQbpCLNguNaDbEkQ8QpCboBspXic2vwtEld+tzufd1 F4aW421r0ey8tzZ/vRNBIeewd9JVCMC97tD7LLXgKzpxPEq4+/iZwZcQKhklkt3+jhRtRXMeqiqu2 0Aygd/Nxw2jbEdeZI9sn4C5WOymnVckkjjdKXKAN8owAlO6GK/MMS5OhL+3SZCG6KYGc/R38CbvLc 4sHR5wy1Q==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5qv5-0005rD-JC for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:52 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id D28B025BF4B; Fri, 28 Sep 2018 20:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130223; bh=lhCmtO0Dy8NNkavV24zthMq6qz3HlcKZaD2hp1n9x9k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SXCb1g1PYznSsFViLx+fz2fEiQx8smAPBD+zk4k8ZYcbpDPoeRGHUbACVoEo3smEZ m8Q/1GgpcaZfriwhgpwq414acaRd5g8Ss44VoVegHwlK7HLutNgjQk0plA5h5Cf1Td tTblgQ5KBXF9dhWCby5u+D/Px/qGYxjIjzv+4n0Q= Received: by reginn.horms.nl (Postfix, from userid 7100) id CEA5B940991; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 18/21] soc: renesas: rcar-rst: Add support for RZ/G1N Date: Fri, 28 Sep 2018 12:23:33 +0200 Message-Id: <547276c6799913898550a9c4806310d590a3cb9e.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_072651_865875_265076F9 X-CRM114-Status: GOOD ( 13.95 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/soc/renesas/rcar-rst.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/renesas/rcar-rst.c b/drivers/soc/renesas/rcar-rst.c index 69a3125ceaad..d183c381e8db 100644 --- a/drivers/soc/renesas/rcar-rst.c +++ b/drivers/soc/renesas/rcar-rst.c @@ -40,6 +40,7 @@ static const struct rst_config rcar_rst_gen3 __initconst = { static const struct of_device_id rcar_rst_matches[] __initconst = { /* RZ/G1 is handled like R-Car Gen2 */ { .compatible = "renesas,r8a7743-rst", .data = &rcar_rst_gen2 }, + { .compatible = "renesas,r8a7744-rst", .data = &rcar_rst_gen2 }, { .compatible = "renesas,r8a7745-rst", .data = &rcar_rst_gen2 }, { .compatible = "renesas,r8a77470-rst", .data = &rcar_rst_gen2 }, /* RZ/G2 is handled like R-Car Gen3 */ From patchwork Fri Sep 28 10:23:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619875 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 C1940174A for ; Fri, 28 Sep 2018 12:36:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC2812AFE0 for ; Fri, 28 Sep 2018 12:36:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E7042B337; Fri, 28 Sep 2018 12:36:19 +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 2848A2AFE0 for ; Fri, 28 Sep 2018 12:36:19 +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=zxBDPXLQuFmFGLZx81SldsfI9OoQn2D2yRJ2MsU70vM=; b=EhkIdM20x4vT6W0oHA1cX/iLWv q9UhJ3SXhgAUMvJG8gsyY0BWZcGoeOLllSAi4WvM5aEbPg03zooW5blHqF0+ifDz2ZhZIrl8tbMMt sT2Qt8462qxcP2b0+BS6budtwidhS0MBxVcQrHyTgfXRy0q78rSj+t+Lx1k25Llvd4wozAdyAxuQB DfR28P9TvwG0xenlvhgtDoiJZp9WOY5Mc0U5H3ZrRytvs+suk1wuY6cHQ9bdQIViRavl8knKvhIqx JeQsLJ1EHF5f6FntUYAUcZmkvf/v1OmJg0gMJQ5vUnPrgRasho40wyZsdoREUQ21gVAvn3AdAtzZP iVIvM1Lw==; 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 1g5s0E-0003Am-Cz; Fri, 28 Sep 2018 12:36:14 +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 1g5rr2-0005At-1N for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:44 +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=Qy82iR6++sEn2lmYSbxfpk4c8FI+dNj2JwFJwTDa36I=; b=P7qMEZUUh7UOr5FBqN0osNa6m uSffg7KdrPZemd4c78hpbZv0UZnG+TKBfgJpus/1NWWXw2LPOkVz/EcRzOsgAwHOfa+aHJU7Lens4 zaDkM+TiDu4xmINVV4iu2w8CYG97myFEZALmxfzw+aWNb0FraJkmydldj6UgyXDXs4ewKQVxD4Q+7 CYEEentRE2dCEa8FvuJM4F4E4GhLA/QY6zMOI0X83BkVO/YWGWL9XeHgQQ649bd5IY4dua9A6mOgr 4yZUjF8BqvzeVOyCmI6FnnbEWcAqir7MluScGVXTSsFX4VtwoPo2oAfToSWmcbdFz2ttjgcyRIwUB xMdtqwyDg==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5qv0-0005rD-R7 for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:47 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 2C73725BF43; Fri, 28 Sep 2018 20:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130222; bh=zSora6gIwJwManjV3U340PxK6F1ZU5mWljP9TnEs+Zk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aUguNbUyT+mRn9Ew3z3gVpQjgHHrKM+RKDYn/3fiDNZUn+JTR+SNNMKTLuSsosOKV cc7/IQiDiZSOTVSwvzdFeTYaOl3ISBqHrhc4VLK7ntlgaEBJEbCze/g8eMGssqXd9v Py8+AaXKlEOmxPU+iUPeuXPhbLBs1cO68deNgcNc= Received: by reginn.horms.nl (Postfix, from userid 7100) id 013B59409E4; Fri, 28 Sep 2018 12:23:38 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 19/21] dt-bindings: apmu: Document r8a77470 support Date: Fri, 28 Sep 2018 12:23:34 +0200 Message-Id: <4619ef4747c23818063c4e8480d63966a40297c6.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_072647_125190_C3C84CE0 X-CRM114-Status: GOOD ( 12.42 ) 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 Document APMU and SMP enable method for RZ/G1C (also known as r8a77470) SoC. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/power/renesas,apmu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/renesas,apmu.txt b/Documentation/devicetree/bindings/power/renesas,apmu.txt index f747f95eee58..e6f47c9b3d0e 100644 --- a/Documentation/devicetree/bindings/power/renesas,apmu.txt +++ b/Documentation/devicetree/bindings/power/renesas,apmu.txt @@ -9,6 +9,7 @@ Required properties: Examples with soctypes are: - "renesas,r8a7743-apmu" (RZ/G1M) - "renesas,r8a7745-apmu" (RZ/G1E) + - "renesas,r8a77470-apmu" (RZ/G1C) - "renesas,r8a7790-apmu" (R-Car H2) - "renesas,r8a7791-apmu" (R-Car M2-W) - "renesas,r8a7792-apmu" (R-Car V2H) From patchwork Fri Sep 28 10:23:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619863 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 402C26CB for ; Fri, 28 Sep 2018 12:31:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D16D2B32D for ; Fri, 28 Sep 2018 12:31:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EDD32B33C; Fri, 28 Sep 2018 12:31:30 +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 812392B32D for ; Fri, 28 Sep 2018 12:31:29 +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=Y174idij1zKh9ziJXllNI9tHx0z3e1lUN6b0th1Sv1Q=; b=ASM55tHa7w8jy2WExuroxfnHfI fLI/z+XuXizGA4D6ouVMKBn9ompvT1HxpRdxzdb1741TlSwPtQaab2UpHHM1pEhzO79PeIxKkSKH5 gvNIGXfSbwCIJnu/ukKmvCdFfuqV7tH7TraBoyQEGLHLHsocHKJUerX0coPi//qOLE0o422vvV84f r8M2pY0mRgQabUtkYHQFiOVYQyTdXlFpcUn1hIQodxajh/U75tyycLvNbAe39816Giad6/DlkY6rF ZruLDDnnuJmm4QPlNPyXJalTVFGCTOW+R89lLKIpl5Kn9uaHYxOTLoUbZDxsxP45QHh8cG/g5zRZ7 rpixvfcw==; 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 1g5rvZ-00089T-9n; Fri, 28 Sep 2018 12:31:25 +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 1g5rqu-0005At-9z for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:36 +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=B5fdeLivQSO8b5fYqr1QSlHEs6pQVG5rHw0MLSZR+bk=; b=zNX/HJDUe6tR6hEUsgkHBf7CI Uamq2ZZ3ENqY8i+/XKZvkWqV7SjVqQxL8vPlHd0Po0onUbytcEKyActIn7iWu1AKH+XaGTmiU8RIg gyuvxJQiMlWfz+5GCBy4ZH2tKpFiJpZWfBV8hnxpRkDk5wEi9p0nxQ5Hhnzwqf4HvgFhdNX6e03ud l6V+TNgUTgmu68Eh3Cz6qHB39B7pKLZSJWTX3BivN0Ln4ONsTcrj2R+E/eF5oJNc//CuDhGPfTZnF MukAzEwDaPK+I3sz8CMYOA4gk736EtgTOnBi6S1plCygsOeyQl8qWbdhQ5Kon//9VzMxXUC7TPeb3 wv86L9BBA==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5qv6-0005rD-St for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:53 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id ACA8825BE0B; Fri, 28 Sep 2018 20:23:43 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130224; bh=aszvru0fa0l2aYg/1SElZimotwBD8Jbdp1XtQCquTkM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j2G5NpIWyRZaQPyvPIjVcx1SHTJfizL6O5qCe/V6MSJF4ZQPHt9ns/FQcEAAUVGsk 01atAonM2MqQScttsSUvvRZjSqSNifq7gJOcIiG1QhiSTfV3lpvjI2ZSJZbAJIDEMR Q/46cdWCEHOSU28ZDuUUH1qatuCI8knqlIuo0lZc= Received: by reginn.horms.nl (Postfix, from userid 7100) id 0E7B69409C1; Fri, 28 Sep 2018 12:23:39 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 20/21] dt-bindings: timer: renesas: tmu: document R8A779{7|8}0 bindings Date: Fri, 28 Sep 2018 12:23:35 +0200 Message-Id: <5851fa4d088747af4a141110541594a2a4479b12.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_072653_174688_4B1FC1C5 X-CRM114-Status: GOOD ( 12.07 ) 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 , Sergei Shtylyov , 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: Sergei Shtylyov Document the R-Car V3{M|H} (R8A779{7|8}0) SoC in the Renesas TMU bindings; the TMU hardware in those is the Renesas standard 3-channel timer unit. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/timer/renesas,tmu.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/renesas,tmu.txt b/Documentation/devicetree/bindings/timer/renesas,tmu.txt index cd5f20bf2582..4ddff85837da 100644 --- a/Documentation/devicetree/bindings/timer/renesas,tmu.txt +++ b/Documentation/devicetree/bindings/timer/renesas,tmu.txt @@ -12,6 +12,8 @@ Required Properties: - "renesas,tmu-r8a7740" for the r8a7740 TMU - "renesas,tmu-r8a7778" for the r8a7778 TMU - "renesas,tmu-r8a7779" for the r8a7779 TMU + - "renesas,tmu-r8a77970" for the r8a77970 TMU + - "renesas,tmu-r8a77980" for the r8a77980 TMU - "renesas,tmu" for any TMU. This is a fallback for the above renesas,tmu-* entries From patchwork Fri Sep 28 10:23:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10619871 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 4517D174A for ; Fri, 28 Sep 2018 12:35:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 314FF2B102 for ; Fri, 28 Sep 2018 12:35:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22D722B337; Fri, 28 Sep 2018 12:35:08 +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 9A8B02B102 for ; Fri, 28 Sep 2018 12:35:07 +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=sg9HfX6WawuIbywteUSsTLG6Xoxyzrq94RwJEBnFULg=; b=VOFJ4Ux9aom3DGGsnUeneZI6A1 /HstCFFH5lCLupBqsQI4uSTvrzIHEf4V2qabfdZVb2m3a9gN4icIZ/5ekl8uiyQOv9FeM3RxlJoxf Mby8gUBrhO8s3l8w5BgKZOCEhKxXoG83B9nRrmtvOY77vKI84xIDXoSvjK5zQ8Rg2s5abQn2o+6RI fLiW+ZG2nvRRViNnS8rNldTOuZQ2Bmliv45ZKfZF9GbbNQEntctvnzAaYXGyCT/TNk/sCC1GufYnZ ktfg8l3RimmdvdExBlEMuYNiwT0Dm7RRitW/CG50f9648h/1qGNPltDY/UOXtO5zp8nO1WZN3jc0J hQBzhN7w==; 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 1g5ryu-0001E9-Mz; Fri, 28 Sep 2018 12:34:52 +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 1g5rqy-0005At-Tg for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Sep 2018 12:26:40 +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=Ig4nnJe95WGYFw4QtF3gT7duIOcvqiiU1rfk4AsVIcc=; b=FkMkUd5Q/vgQahhRIY+/9urdE aIgCB+D6tRHo8yAxVHI/8gcS1cPczPVIIrzx4y7iHJ2kB+GVSn0lThlApR89l0disaB9wlPe/7Anj nF8zeu4Xt+sheK9m8tmbTthMOUb6aF2FMvIcDIYInCVeDp0fy1yv8S0vyV8UT8YjWGKKPqZu0xiO2 zjeVumWQ7h5hAasC6PuCPHGt2H0lORWYH0XQd89rVDlafQRidxtSMkGGtCXCPgMFlw4JZFhCofkwO nLqSuHlGXsv7N5GsUZfnYnlD+woblBrnjoS35b8Ag+fWD5UvinOGH+aduJiuzYQiRJZCLZGujbMEY xjik1yLww==; Received: from kirsty.vergenet.net ([202.4.237.240]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5qv3-0005rD-7Y for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 11:26:49 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 5632325BF45; Fri, 28 Sep 2018 20:23:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1538130222; bh=jAJUeX7S+ieurojvZPaUZ+vert0LPTcVQ+OUMBZiZDI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f/EgnihpawWaHAP971E83Jo9hfL97QfaL6gmqJSNEzd19rsRwJ4s2MIivgF8l+JRg 5XpBRthSkaETvAqf9rJUfjbdveNAp/zIX6uxeH4nOASJITRFT6eCv8S7KA6op+Nsjs 0e5USolG9FcgWdu8XguP4uqHoLIR9jt42/JXBwcw= Received: by reginn.horms.nl (Postfix, from userid 7100) id 20F349409FC; Fri, 28 Sep 2018 12:23:39 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 21/21] dt-bindings: apmu: Document r8a7744 support Date: Fri, 28 Sep 2018 12:23:36 +0200 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-20180928_072649_516060_2BB71D5E X-CRM114-Status: GOOD ( 11.99 ) 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 , linux-arm-kernel@lists.infradead.org, Biju Das 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: Biju Das Document APMU and SMP enable method for RZ/G1N (R8A7744) SoC. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- Documentation/devicetree/bindings/power/renesas,apmu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/renesas,apmu.txt b/Documentation/devicetree/bindings/power/renesas,apmu.txt index e6f47c9b3d0e..5f24586c8cf3 100644 --- a/Documentation/devicetree/bindings/power/renesas,apmu.txt +++ b/Documentation/devicetree/bindings/power/renesas,apmu.txt @@ -8,6 +8,7 @@ Required properties: - compatible: Should be "renesas,-apmu", "renesas,apmu" as fallback. Examples with soctypes are: - "renesas,r8a7743-apmu" (RZ/G1M) + - "renesas,r8a7744-apmu" (RZ/G1N) - "renesas,r8a7745-apmu" (RZ/G1E) - "renesas,r8a77470-apmu" (RZ/G1C) - "renesas,r8a7790-apmu" (R-Car H2)