From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FB50C43470 for ; Fri, 14 May 2021 19:28:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 708C36145A for ; Fri, 14 May 2021 19:28:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231339AbhENT32 (ORCPT ); Fri, 14 May 2021 15:29:28 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:15521 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229524AbhENT3Z (ORCPT ); Fri, 14 May 2021 15:29:25 -0400 X-Greylist: delayed 303 seconds by postgrey-1.27 at vger.kernel.org; Fri, 14 May 2021 15:29:24 EDT X-IronPort-AV: E=Sophos;i="5.82,300,1613401200"; d="scan'208";a="81147945" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 15 May 2021 04:23:07 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id D8EC34010906; Sat, 15 May 2021 04:23:03 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Rob Herring , Magnus Damm , Michael Turquette , Stephen Boyd , Greg Kroah-Hartman , Catalin Marinas , Will Deacon , Jiri Slaby , Philipp Zabel , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Biju Das , Lad Prabhakar , Prabhakar Subject: [PATCH 00/16] Add new Renesas RZ/G2L SoC and Renesas RZ/G2L SMARC EVK support Date: Fri, 14 May 2021 20:22:02 +0100 Message-Id: <20210514192218.13022-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, This patch series adds initial support for Renesas RZ/G2L SoC and Renesas RZ/G2L SMARC EVK. The RZ/G2L SoC includes a single/dual Cortex-A55 CPU including below list of IP's: * Cortex-M33 * 3D Graphics engine (Arm Mali-G31) * Video Codec (H.264) * Camera interface (MIPI-CSI or Parallel-IF) * Display interface (MIPI-DSI or Parallel-IF) * USB2.0 interface 2ch, SD interface 2ch * CAN interface (CAN-FD) * Giga bit Ethernet 2ch Initial patches enables minimal peripherals on Renesas RZ/G2L SMARC EVK and booted via initramfs. * Documentation for RZ/G2{L,LC,UL} SoC variants * SoC identification support * CPG core support * Minimal SoC DTSi * Minimal DTS for SMARC EVK Patches are based on top of [1] master branch. [1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/ Links for SoC and EVK: [*] https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ rz-arm-based-high-end-32-64-bit-mpus/rzg2l-general-purpose-microprocessors- dual-core-arm-cortex-a55-12-ghz-cpus-3d-graphics-and-video-codec [*] https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ rz-arm-based-high-end-32-64-bit-mpus/rzg2lc-general-purpose-microprocessors- dual-core-arm-cortex-a55-12-ghz-cpus-3d-graphics [*] https://renesas.info/wiki/RZ-G/RZ-G2L_SMARC Cheers, Prabhakar Biju Das (1): serial: sh-sci: Add support for RZ/G2L SoC Lad Prabhakar (15): dt-bindings: arm: renesas: Document Renesas RZ/G2UL SoC dt-bindings: arm: renesas: Document Renesas RZ/G2{L,LC} SoC variants dt-bindings: arm: renesas: Document SMARC EVK soc: renesas: Add ARCH_R9A07G044{L,LC} for the new RZ/G2{L,LC} SoC's arm64: defconfig: Enable ARCH_R9A07G044{L,LC} dt-bindings: arm: renesas,prr: Add new compatible string for RZ/G{L,LC,UL} soc: renesas: Add support to read LSI DEVID register soc: renesas: Add support to identify RZ/G2{L,LC} SoC's dt-bindings: serial: renesas,scif: Document r9a07g044 bindings dt-bindings: clock: renesas: Document RZ/G2L SoC CPG driver clk: renesas: Define RZ/G2L CPG Clock Definitions clk: renesas: Add CPG core wrapper for RZ/G2L SoC clk: renesas: Add support for R9A07G044L SoC arm64: dts: renesas: Add initial DTSI for RZ/G2{L,LC} SoC's arm64: dts: renesas: Add initial device tree for RZ/G2L SMARC EVK .../devicetree/bindings/arm/renesas,prr.yaml | 6 +- .../devicetree/bindings/arm/renesas.yaml | 18 + .../bindings/clock/renesas,rzg2l-cpg.yaml | 80 ++ .../bindings/serial/renesas,scif.yaml | 4 + arch/arm64/boot/dts/renesas/Makefile | 2 + arch/arm64/boot/dts/renesas/g2l-smarc.dtsi | 27 + arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 70 ++ arch/arm64/boot/dts/renesas/r9a07g044l.dtsi | 21 + arch/arm64/boot/dts/renesas/r9a07g044l1.dtsi | 43 + .../boot/dts/renesas/r9a07g044l2-smarc.dts | 21 + arch/arm64/boot/dts/renesas/r9a07g044l2.dtsi | 62 ++ arch/arm64/configs/defconfig | 2 + drivers/clk/renesas/Kconfig | 12 + drivers/clk/renesas/Makefile | 2 + drivers/clk/renesas/r9a07g044l-cpg.c | 372 +++++++ drivers/clk/renesas/renesas-rzg2l-cpg.c | 964 ++++++++++++++++++ drivers/clk/renesas/renesas-rzg2l-cpg.h | 223 ++++ drivers/soc/renesas/Kconfig | 10 + drivers/soc/renesas/renesas-soc.c | 33 +- drivers/tty/serial/sh-sci.c | 11 + drivers/tty/serial/sh-sci.h | 1 + include/dt-bindings/clock/r9a07g044l-cpg.h | 89 ++ 22 files changed, 2070 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/renesas,rzg2l-cpg.yaml create mode 100644 arch/arm64/boot/dts/renesas/g2l-smarc.dtsi create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044.dtsi create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044l.dtsi create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044l1.dtsi create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044l2-smarc.dts create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044l2.dtsi create mode 100644 drivers/clk/renesas/r9a07g044l-cpg.c create mode 100644 drivers/clk/renesas/renesas-rzg2l-cpg.c create mode 100644 drivers/clk/renesas/renesas-rzg2l-cpg.h create mode 100644 include/dt-bindings/clock/r9a07g044l-cpg.h -- 2.17.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D05AC433ED for ; Fri, 14 May 2021 19:25:34 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A8EC46145B for ; Fri, 14 May 2021 19:25:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A8EC46145B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc: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=0Edi8PA2PV73jKT/V1brBmYwxxGzyZlbeL7/aRfu1VY=; b=T2soQWXXASKkmgkjx9oOi8Wbe1 8V05j9Tu5/AM7+S69lrlnv06ShW/zDJKkJufOthQCiehOPUW/Bc/oL7l4vPvtOkeNuEjw+Cm5GyzU afhMWC//X2E0kYzpqmdtKTzDZRVHQAyM1OUtDcBcLmd25SZTyG5iJVridDSwj7sqeUGeC3Mpi5Gva 3qwg9nga2ED8EW+6XYgRD7b9a8Z8P4TRKJtLo1Pyzidg2eLnln4K8sEIzUl37y6jKfo4YOgxpv72i zgku6HYozKURKXyYFerDwewiLGiyxFn9G2LpDy1Uhh26N23dfWYiZ4LmGbNpU8v7Cd0xMUXOFMhgh 1pTwDuDA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhdPF-008n5a-Cv; Fri, 14 May 2021 19:23:29 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhdP1-008n4E-3k for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 19:23:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=ANB1oHoXZpTUwoI0foSQ+5R5NdTp1uj35G1rhdL/fz0=; b=NUONJX6RM9xkagf5MOZxWwNmd6 c/knL9vMVokHfkA/U2xqpgcU18rm6H55a6yAUnZvfNPAHwxNpOG+BUxrzk0TNTLK2Fc+dcAHouqst Z96urIjxia0xJvaWZZFi26gBjjgPHDsc19w0i9p+O7qDJk6QWnVxgurrG6AWBRkXtUvTV9FqUoqAL uGlHJmKP4cZysuSE4YhvJC+vJmURdjyj4c/6pLQT/JmewncKXoYkWuCmB6pCl1CfKlsfAb7cjFSaH ogUOJ/wPY2amcMfhZx7Xn8KyPTUI3vbWoFsKPxJmH4zYBJPqL1QijkJPqnnn2fnpDv0xeGvvSD7qE tblKGcOA==; Received: from relmlor2.renesas.com ([210.160.252.172] helo=relmlie6.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhdOx-00CCZj-MS for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 19:23:13 +0000 X-IronPort-AV: E=Sophos;i="5.82,300,1613401200"; d="scan'208";a="81147945" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 15 May 2021 04:23:07 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id D8EC34010906; Sat, 15 May 2021 04:23:03 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Rob Herring , Magnus Damm , Michael Turquette , Stephen Boyd , Greg Kroah-Hartman , Catalin Marinas , Will Deacon , Jiri Slaby , Philipp Zabel , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Biju Das , Lad Prabhakar , Prabhakar Subject: [PATCH 00/16] Add new Renesas RZ/G2L SoC and Renesas RZ/G2L SMARC EVK support Date: Fri, 14 May 2021 20:22:02 +0100 Message-Id: <20210514192218.13022-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210514_122311_889730_6AB3E383 X-CRM114-Status: GOOD ( 12.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi All, This patch series adds initial support for Renesas RZ/G2L SoC and Renesas RZ/G2L SMARC EVK. The RZ/G2L SoC includes a single/dual Cortex-A55 CPU including below list of IP's: * Cortex-M33 * 3D Graphics engine (Arm Mali-G31) * Video Codec (H.264) * Camera interface (MIPI-CSI or Parallel-IF) * Display interface (MIPI-DSI or Parallel-IF) * USB2.0 interface 2ch, SD interface 2ch * CAN interface (CAN-FD) * Giga bit Ethernet 2ch Initial patches enables minimal peripherals on Renesas RZ/G2L SMARC EVK and booted via initramfs. * Documentation for RZ/G2{L,LC,UL} SoC variants * SoC identification support * CPG core support * Minimal SoC DTSi * Minimal DTS for SMARC EVK Patches are based on top of [1] master branch. [1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/ Links for SoC and EVK: [*] https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ rz-arm-based-high-end-32-64-bit-mpus/rzg2l-general-purpose-microprocessors- dual-core-arm-cortex-a55-12-ghz-cpus-3d-graphics-and-video-codec [*] https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ rz-arm-based-high-end-32-64-bit-mpus/rzg2lc-general-purpose-microprocessors- dual-core-arm-cortex-a55-12-ghz-cpus-3d-graphics [*] https://renesas.info/wiki/RZ-G/RZ-G2L_SMARC Cheers, Prabhakar Biju Das (1): serial: sh-sci: Add support for RZ/G2L SoC Lad Prabhakar (15): dt-bindings: arm: renesas: Document Renesas RZ/G2UL SoC dt-bindings: arm: renesas: Document Renesas RZ/G2{L,LC} SoC variants dt-bindings: arm: renesas: Document SMARC EVK soc: renesas: Add ARCH_R9A07G044{L,LC} for the new RZ/G2{L,LC} SoC's arm64: defconfig: Enable ARCH_R9A07G044{L,LC} dt-bindings: arm: renesas,prr: Add new compatible string for RZ/G{L,LC,UL} soc: renesas: Add support to read LSI DEVID register soc: renesas: Add support to identify RZ/G2{L,LC} SoC's dt-bindings: serial: renesas,scif: Document r9a07g044 bindings dt-bindings: clock: renesas: Document RZ/G2L SoC CPG driver clk: renesas: Define RZ/G2L CPG Clock Definitions clk: renesas: Add CPG core wrapper for RZ/G2L SoC clk: renesas: Add support for R9A07G044L SoC arm64: dts: renesas: Add initial DTSI for RZ/G2{L,LC} SoC's arm64: dts: renesas: Add initial device tree for RZ/G2L SMARC EVK .../devicetree/bindings/arm/renesas,prr.yaml | 6 +- .../devicetree/bindings/arm/renesas.yaml | 18 + .../bindings/clock/renesas,rzg2l-cpg.yaml | 80 ++ .../bindings/serial/renesas,scif.yaml | 4 + arch/arm64/boot/dts/renesas/Makefile | 2 + arch/arm64/boot/dts/renesas/g2l-smarc.dtsi | 27 + arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 70 ++ arch/arm64/boot/dts/renesas/r9a07g044l.dtsi | 21 + arch/arm64/boot/dts/renesas/r9a07g044l1.dtsi | 43 + .../boot/dts/renesas/r9a07g044l2-smarc.dts | 21 + arch/arm64/boot/dts/renesas/r9a07g044l2.dtsi | 62 ++ arch/arm64/configs/defconfig | 2 + drivers/clk/renesas/Kconfig | 12 + drivers/clk/renesas/Makefile | 2 + drivers/clk/renesas/r9a07g044l-cpg.c | 372 +++++++ drivers/clk/renesas/renesas-rzg2l-cpg.c | 964 ++++++++++++++++++ drivers/clk/renesas/renesas-rzg2l-cpg.h | 223 ++++ drivers/soc/renesas/Kconfig | 10 + drivers/soc/renesas/renesas-soc.c | 33 +- drivers/tty/serial/sh-sci.c | 11 + drivers/tty/serial/sh-sci.h | 1 + include/dt-bindings/clock/r9a07g044l-cpg.h | 89 ++ 22 files changed, 2070 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/renesas,rzg2l-cpg.yaml create mode 100644 arch/arm64/boot/dts/renesas/g2l-smarc.dtsi create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044.dtsi create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044l.dtsi create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044l1.dtsi create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044l2-smarc.dts create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044l2.dtsi create mode 100644 drivers/clk/renesas/r9a07g044l-cpg.c create mode 100644 drivers/clk/renesas/renesas-rzg2l-cpg.c create mode 100644 drivers/clk/renesas/renesas-rzg2l-cpg.h create mode 100644 include/dt-bindings/clock/r9a07g044l-cpg.h -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel