From patchwork Thu Aug 2 14:48:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 10553781 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 3860813BB for ; Thu, 2 Aug 2018 14:54:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28A2D2BB25 for ; Thu, 2 Aug 2018 14:54:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C6CE2BC39; Thu, 2 Aug 2018 14:54: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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C21E22BB50 for ; Thu, 2 Aug 2018 14:54:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732551AbeHBQpo (ORCPT ); Thu, 2 Aug 2018 12:45:44 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:29250 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732531AbeHBQpo (ORCPT ); Thu, 2 Aug 2018 12:45:44 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 02 Aug 2018 23:54:10 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id EE6EC8B0FF; Thu, 2 Aug 2018 23:54:10 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.51,436,1526310000"; d="scan'208";a="287125063" Received: from unknown (HELO be1yocto.ree.adwin.renesas.com) ([172.29.43.62]) by relmlii1.idc.renesas.com with ESMTP; 02 Aug 2018 23:54:08 +0900 From: Biju Das To: Rob Herring , Mark Rutland Cc: Biju Das , Simon Horman , Magnus Damm , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Geert Uytterhoeven , Chris Paterson , Fabrizio Castro Subject: [PATCH v2 0/5] Add RZ/G2M SYSC/RST/Clock support Date: Thu, 2 Aug 2018 15:48:17 +0100 Message-Id: <1533221302-44598-1-git-send-email-biju.das@bp.renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch series aims to add SYSC/RST/Clock support for for RZ/G2M SoC. RZ/G2M SoC is similar to R-Car Gen3 M3-W SoC. ---- V1-->V2 * Incorporated review comments ---- Biju Das (5): 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 clk: renesas: Add r8a774a1 CPG Core Clock Definitions clk: renesas: cpg-mssr: Add r8a774a1 support .../devicetree/bindings/clock/renesas,cpg-mssr.txt | 9 +- .../bindings/power/renesas,rcar-sysc.txt | 1 + .../devicetree/bindings/reset/renesas,rst.txt | 1 + drivers/clk/renesas/Kconfig | 5 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/r8a774a1-cpg-mssr.c | 323 +++++++++++++++++++++ drivers/clk/renesas/renesas-cpg-mssr.c | 6 + drivers/clk/renesas/renesas-cpg-mssr.h | 1 + drivers/soc/renesas/Kconfig | 11 +- drivers/soc/renesas/Makefile | 1 + drivers/soc/renesas/r8a774a1-sysc.c | 45 +++ drivers/soc/renesas/rcar-rst.c | 4 +- drivers/soc/renesas/rcar-sysc.c | 3 + drivers/soc/renesas/rcar-sysc.h | 1 + include/dt-bindings/clock/r8a774a1-cpg-mssr.h | 58 ++++ include/dt-bindings/power/r8a774a1-sysc.h | 31 ++ 16 files changed, 493 insertions(+), 8 deletions(-) create mode 100644 drivers/clk/renesas/r8a774a1-cpg-mssr.c create mode 100644 drivers/soc/renesas/r8a774a1-sysc.c create mode 100644 include/dt-bindings/clock/r8a774a1-cpg-mssr.h create mode 100644 include/dt-bindings/power/r8a774a1-sysc.h