Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp622198pxj; Thu, 3 Jun 2021 15:20:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOH+Z53iJa5y93wm7rpe+LapW49zdnrPfgPc7PlA5/VVjta1Us9AJEFr5PPdHdM+zZ2vyP X-Received: by 2002:a50:bec1:: with SMTP id e1mr1555024edk.116.1622758822581; Thu, 03 Jun 2021 15:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622758822; cv=none; d=google.com; s=arc-20160816; b=anEpRyHvUHDHRRRysndR736SQ6e+R8aCzZkkgVablSyTykpRY2yq4qce2KWlGkV4pF M3/gkbDgSKfdpUNnv47KcVX2ytLC/fKFr1nUTAH32V66H2w236Na5Lbb6QSY9MZccYzQ rc+SJ7Jo4+U5mGD/USv9n4Vjjdoq8cj3lNJOAKfBf7KzTB1rsEYHA+cfwd516hmwWFtd 3bUDn+Mkx8HW97Nhm0UponwUshG4Ej9n5QaZ6Fos4OtdSfOWnhJhCAwCMUow/WBUq0z+ tK0Dl/lxyC6lMc20iX/2+1F7VKfn9ozjgSzGvPAJ7F+cXgbrMXV/6jUU7wVRb9C2xqMK Ajmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=gHkPl+0kjEM1nb9uKgRBmShgcg3R2mlxYGyUIOyI8mo=; b=VpbDFxow0H5gA+ji/a6KIVlT4tOCN/sywUoEVZEt1E8+KuzO1+0t4BTrprhxSnA+Dl HExM3EnkmpsBpRWcPye8uHkpFfyUZfHRvCC2k5OW7/bdrTUgaiybjn9g0+EA7pATWh21 kJqMWInlKym3nruyisKgogAUV2u5NjTFixthKDmbpJ50Tmx+sbYgY9XTjpG9ylGY6AFP bSfjxJtoOSxU6VkuwVtl7+17lMGhWypPRmrT7Z1rZD4YvhruYM4JA3hkjImn7UkBrwzz CTO+aGb9drIgG5lbZ31WOLvVDTlLSNzo3XVCa4BTPPLLZUfaxeN4A6hihxHwD9DaY20b 02Aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fh1si2901089ejc.91.2021.06.03.15.19.58; Thu, 03 Jun 2021 15:20:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230453AbhFCWT6 (ORCPT + 99 others); Thu, 3 Jun 2021 18:19:58 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:11651 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230265AbhFCWT4 (ORCPT ); Thu, 3 Jun 2021 18:19:56 -0400 X-IronPort-AV: E=Sophos;i="5.83,246,1616425200"; d="scan'208";a="83343527" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 04 Jun 2021 07:18:09 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id D3E93410B534; Fri, 4 Jun 2021 07:18:05 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Michael Turquette , Stephen Boyd , Catalin Marinas , Will Deacon , Greg Kroah-Hartman , Jiri Slaby , Philipp Zabel , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org Cc: Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v2 00/12] Add new Renesas RZ/G2L SoC and Renesas RZ/G2L SMARC EVK support Date: Thu, 3 Jun 2021 23:17:46 +0100 Message-Id: <20210603221758.10305-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. 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 Changes for v2: * Included type-2 RZ/G2Ul SoC in binding doc * Added single entry for SMARC EVK "renesas,smarc-evk" * Renamed ARCH_R9A07G044L to ARCH_R9A07G044 and dropped ARCH_R9A07G044LC config * Dropped SoC identification changes will post them as separate patch. * Updated comment in sh-sci.c * Binding documentation patch for serial driver has been accepted so dropped the patch from this series * Incorporated changes requested by Geert for CPG core * Fixed dtbs_check errors * Dropped 'clock-names'/'clocks'/'power-domains'/'resets' properties from GIC node and will include them in a separate patch along with arm,gic-v3.yaml binding updates * Included ACK's from Rob Patches are based on top of [1] master branch. [1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/ Cheers, Prabhakar Biju Das (1): serial: sh-sci: Add support for RZ/G2L SoC Lad Prabhakar (11): 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 for the new RZ/G2L SoC's arm64: defconfig: Enable ARCH_R9A07G044 clk: renesas: Define RZ/G2L CPG Clock Definitions dt-bindings: clock: renesas: Document RZ/G2L SoC CPG driver clk: renesas: Add CPG core wrapper for RZ/G2L SoC clk: renesas: Add support for R9A07G044 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.yaml | 18 + .../bindings/clock/renesas,rzg2l-cpg.yaml | 80 ++ arch/arm64/boot/dts/renesas/Makefile | 2 + arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 119 +++ arch/arm64/boot/dts/renesas/r9a07g044l1.dtsi | 25 + .../boot/dts/renesas/r9a07g044l2-smarc.dts | 21 + arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi | 27 + arch/arm64/configs/defconfig | 1 + drivers/clk/renesas/Kconfig | 9 + drivers/clk/renesas/Makefile | 2 + drivers/clk/renesas/r9a07g044-cpg.c | 372 +++++++ drivers/clk/renesas/renesas-rzg2l-cpg.c | 979 ++++++++++++++++++ drivers/clk/renesas/renesas-rzg2l-cpg.h | 217 ++++ drivers/soc/renesas/Kconfig | 5 + drivers/tty/serial/sh-sci.c | 12 +- drivers/tty/serial/sh-sci.h | 1 + include/dt-bindings/clock/r9a07g044-cpg.h | 89 ++ 17 files changed, 1978 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/clock/renesas,rzg2l-cpg.yaml create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044.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/rzg2l-smarc.dtsi create mode 100644 drivers/clk/renesas/r9a07g044-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/r9a07g044-cpg.h -- 2.17.1