From patchwork Thu Mar 21 14:23:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 10863677 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 A04A71390 for ; Thu, 21 Mar 2019 14:35:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34DBB2A207 for ; Thu, 21 Mar 2019 14:35:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 331742A2B3; Thu, 21 Mar 2019 14:35:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9FCE62A2B9 for ; Thu, 21 Mar 2019 14:35:27 +0000 (UTC) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 79C9C25B5; Thu, 21 Mar 2019 14:35:27 +0000 (UTC) X-Original-To: cip-dev@lists.cip-project.org Delivered-To: cip-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E8A6B25B5 for ; Thu, 21 Mar 2019 14:35:25 +0000 (UTC) X-Greylist: delayed 00:05:03 by SQLgrey-1.7.6 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 4A8E7888 for ; Thu, 21 Mar 2019 14:35:24 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,253,1549897200"; d="scan'208";a="10976927" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 21 Mar 2019 23:30:21 +0900 Received: from be1yocto.ree.adwin.renesas.com (unknown [172.29.43.62]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 9A09F43B9F20; Thu, 21 Mar 2019 23:30:20 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org Date: Thu, 21 Mar 2019 14:23:58 +0000 Message-Id: <1553178256-6293-1-git-send-email-biju.das@bp.renesas.com> X-Mailer: git-send-email 2.7.4 Cc: Biju Das Subject: [cip-dev] [PATCH 00/18] Add RZ/G2[ME] SoC Identification/SYSC/RST support X-BeenThere: cip-dev@lists.cip-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: cip-dev-bounces@lists.cip-project.org Errors-To: cip-dev-bounces@lists.cip-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patch series aims to add SoC identification/SYSC/RST support for RZ/G2[ME] SoCs. This patch series is based on linux-4.19.y-cip and all the patches in this series are cherry-picked from linux rc tree. Biju Das (8): dt-bindings: arm: Document RZ/G2M SoC DT bindings soc: renesas: Identify RZ/G2M arm64: Add Renesas R8A774A1 support arm64: defconfig: enable R8A774A1 SoC dt-bindings: power: Add r8a774a1 SYSC power domain definitions soc: renesas: rcar-sysc: Add r8a774a1 support soc: renesas: r8a774c0-sysc: Fix initialization order of 3DG-{A,B} soc: renesas: rcar-rst: Add support for RZ/G2M Fabrizio Castro (10): dt-bindings: arm: Document RZ/G2E SoC DT bindings dt-bindings: arm: Fix RZ/G2E part number soc: renesas: Identify RZ/G2E arm64: Add Renesas R8A774C0 support arm64: defconfig: enable R8A774C0 SoC 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 Documentation/devicetree/bindings/arm/shmobile.txt | 4 ++ .../bindings/power/renesas,rcar-sysc.txt | 2 + .../devicetree/bindings/reset/renesas,rst.txt | 2 + arch/arm64/Kconfig.platforms | 12 +++++ arch/arm64/configs/defconfig | 2 + drivers/soc/renesas/Kconfig | 16 +++++-- drivers/soc/renesas/Makefile | 2 + drivers/soc/renesas/r8a774a1-sysc.c | 45 ++++++++++++++++++ drivers/soc/renesas/r8a774c0-sysc.c | 53 ++++++++++++++++++++++ drivers/soc/renesas/rcar-rst.c | 5 +- drivers/soc/renesas/rcar-sysc.c | 6 +++ drivers/soc/renesas/rcar-sysc.h | 2 + drivers/soc/renesas/renesas-soc.c | 35 +++++++++++--- include/dt-bindings/power/r8a774a1-sysc.h | 31 +++++++++++++ include/dt-bindings/power/r8a774c0-sysc.h | 25 ++++++++++ 15 files changed, 231 insertions(+), 11 deletions(-) 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/r8a774a1-sysc.h create mode 100644 include/dt-bindings/power/r8a774c0-sysc.h