Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5113131pxj; Wed, 9 Jun 2021 09:24:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgXGuvwjUzG7hEf4dckWZ/mNDXQZvi5RSFk8DrTRy01louEqq+Y7A/RCX38g0mzGmFuNoU X-Received: by 2002:a17:906:5211:: with SMTP id g17mr672943ejm.281.1623255874020; Wed, 09 Jun 2021 09:24:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623255874; cv=none; d=google.com; s=arc-20160816; b=OauAwt77n5S6/mzHk7wgKTDrERof4P5yFhx+dDORfHusf9eZYU8Y6SAlZ70o14G0NX VW46QYtQ27VE8O/yb321dqBXyIPCTygCR5loH7X6x1XUeLJiqnZpNPXjSbDUl1sgzVjP V0A/SWCcXBpnzr7nY5y4e9maKPLHHMm7BaisC/NvMjkoBKciGjfDq7zJd5I7WqiIJwOa fd02d5740H+T/+CGYi4nWFHXwFtgSG1+7pZ8XKuwZFNMYHRAVf+1540JfsWr+I8Iu3sA 28Qe4tBMqQZDD9Mdeqh/uw5ZCefKVaN5qAFSTlq8wToVQT2xMdyWwGbLe7E/J0rJ3wRE X7bg== 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=yzmpYtlTIDQV/m1Z79QH0RZmzRy6Kf6ZKUQA+7kPdRI=; b=WJ5eZDhmHgh9uWw6iUY5VlOtKCSRssAUmxAz4cttb4MafElV1swnJT/3g8A0D5HkTM Ht72kCzUBAyJB8SkfAveUFo90C66La8gyIZAIvKn7VK2XF2epVtZZNdgWQZgrtAiTqTC mjEv03msfNfEmjlJ0Xnn61S3AaeWhoc2eZsRe8Y9lA82iaB+/Cfs+mWrczq95tfHDOlv 20nQWf5xVsMiW9ayvTPgqodhopg/PJgba3+H8bJx/oJYSiBf5JWWlNGZcct+zVrHo5oo MgLXzdNGI/aW4OxHwr95ux+K+XbYTjEED4FU7P+0nROvpx4rDrlWfheHIZbVlczRQphc dEPw== 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 kl25si233795ejc.370.2021.06.09.09.24.09; Wed, 09 Jun 2021 09:24:34 -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 S232292AbhFIPex (ORCPT + 99 others); Wed, 9 Jun 2021 11:34:53 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:53196 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231691AbhFIPev (ORCPT ); Wed, 9 Jun 2021 11:34:51 -0400 X-IronPort-AV: E=Sophos;i="5.83,261,1616425200"; d="scan'208";a="83886951" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 10 Jun 2021 00:32:54 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 4DD6040090FB; Thu, 10 Jun 2021 00:32:51 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Michael Turquette , Stephen Boyd , Catalin Marinas , Will Deacon , 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 Cc: Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v3 00/11] Add new Renesas RZ/G2L SoC and Renesas RZ/G2L SMARC EVK support Date: Wed, 9 Jun 2021 16:32:19 +0100 Message-Id: <20210609153230.6967-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 v3: * Updated tag from Rob for CPG binding doc * Included RB tags from Geert * Added description for clock-names property in CPG binding doc * Dropped serial driver patch (already merged) * Fixed CPG core issues for USB/ADC IP * Added r9a07g044l2.dtsi 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 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 | 83 ++ arch/arm64/boot/dts/renesas/Makefile | 2 + arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 120 +++ arch/arm64/boot/dts/renesas/r9a07g044l1.dtsi | 25 + .../boot/dts/renesas/r9a07g044l2-smarc.dts | 21 + arch/arm64/boot/dts/renesas/r9a07g044l2.dtsi | 13 + arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi | 27 + arch/arm64/configs/defconfig | 1 + drivers/clk/renesas/Kconfig | 10 + drivers/clk/renesas/Makefile | 2 + drivers/clk/renesas/r9a07g044-cpg.c | 127 +++ drivers/clk/renesas/renesas-rzg2l-cpg.c | 750 ++++++++++++++++++ drivers/clk/renesas/renesas-rzg2l-cpg.h | 136 ++++ drivers/soc/renesas/Kconfig | 5 + include/dt-bindings/clock/r9a07g044-cpg.h | 89 +++ 16 files changed, 1429 insertions(+) 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/r9a07g044l2.dtsi 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