From patchwork Mon Jan 8 15:33:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13513627 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C189EC3DA6E for ; Mon, 8 Jan 2024 15:34:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=ynXvnM0iNC5DbmMtQs/gjZWtUgXgoyA4udDRLH0JI7I=; b=IYYUf9s92aB4zX T2kDKq0BCHBYWpBRmObnglgNnJT70qLv33XcOSWwdaSeldJr3R8SUp5NO/qOc3/LMpvjfV7G5bMtG pK58h6ZE5duE7oGmpz4FKJY+pTIu9i6O/Lo7VBDNoldM9Ql3yJHnZDNaKCerwd6XUwFteWL/yYdpM mFTcvD460QjcTvuQKAwC0Kwxy9tRuTRMPwxjnmHA5ZIw5gVouYTvy3VJiyXO035eW71JZDX12l2WT 1vm2zIPpXLgb8gkPrKqYas9fv/gdNE4QvP4WpBVeLz4um+CfRDR0bjJleF8whuAopkQRUM0zN+P2k iNxnZa472vktvWqwIw+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rMrdr-005UQe-0j; Mon, 08 Jan 2024 15:34:19 +0000 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rMrdm-005UN1-0O for linux-arm-kernel@lists.infradead.org; Mon, 08 Jan 2024 15:34:16 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:d323:2fd4:4f64:e281]) by laurent.telenet-ops.be with bizsmtp id YFZw2B00A0Qz0eJ01FZw4R; Mon, 08 Jan 2024 16:34:07 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rMrco-00EtLl-Vn; Mon, 08 Jan 2024 16:33:56 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rMrdU-00D7nm-4O; Mon, 08 Jan 2024 16:33:56 +0100 From: Geert Uytterhoeven To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Magnus Damm , Catalin Marinas , Will Deacon , Ulf Hansson Cc: Cong Dang , Duy Nguyen , Hai Pham , Linh Phung , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 00/15] arm64: renesas: Add R-Car V4M and Gray Hawk Single support Date: Mon, 8 Jan 2024 16:33:39 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_073414_308073_3B655863 X-CRM114-Status: GOOD ( 23.41 ) 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: , 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 the Renesas R-Car V4M (R8A779G0) SoC and the Renesas Gray Hawk Single development board. As both driver code and DTS have hard dependencies on DT binding definitions, all patches in this series are supposed to go in through the renesas-devel, renesas-clk, and/or renesas-pmdomain trees, using a shared branch for DT binding definitions, as usual. Note that this series does not include the DT binding update for the HSCIF serial ports, as Greg does not like receiving new patches during the merge window. For testing, this series can be found at https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/v4m-gray-hawk-single-v1 Thanks for your comments (especially about the naming of the compatible value and DTB for Gray Hawk Single :-)! Cong Dang (1): clk: renesas: cpg-mssr: Add support for R-Car V4M Duy Nguyen (6): dt-bindings: clock: Add R8A779H0 V4M CPG Core Clock Definitions dt-bindings: power: renesas,rcar-sysc: Document R-Car V4M support dt-bindings: power: Add r8a779h0 SYSC power domain definitions pmdomain: renesas: r8a779h0-sysc: Add r8a779h0 support soc: renesas: Identify R-Car V4M soc: renesas: rcar-rst: Add support for R-Car V4M Geert Uytterhoeven (6): dt-bindings: clock: renesas,cpg-mssr: Document R-Car V4M support dt-bindings: reset: renesas,rst: Document R-Car V4M support dt-bindings: soc: renesas: Document R-Car V4M Gray Hawk Single clk: renesas: rcar-gen4: Add support for FRQCRC1 soc: renesas: Introduce ARCH_RCAR_GEN4 arm64: dts: renesas: Add Gray Hawk Single board support Hai Pham (1): arm64: dts: renesas: Add Renesas R8A779H0 SoC support Linh Phung (1): arm64: defconfig: Enable R8A779H0 SoC .../bindings/clock/renesas,cpg-mssr.yaml | 1 + .../bindings/power/renesas,rcar-sysc.yaml | 1 + .../bindings/reset/renesas,rst.yaml | 1 + .../bindings/soc/renesas/renesas.yaml | 6 + arch/arm64/boot/dts/renesas/Makefile | 2 + .../dts/renesas/r8a779h0-gray-hawk-single.dts | 52 ++++ arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 121 +++++++++ arch/arm64/configs/defconfig | 1 + drivers/clk/renesas/Kconfig | 5 + drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/r8a779h0-cpg-mssr.c | 240 ++++++++++++++++++ drivers/clk/renesas/rcar-gen4-cpg.c | 10 +- drivers/clk/renesas/renesas-cpg-mssr.c | 6 + drivers/clk/renesas/renesas-cpg-mssr.h | 1 + drivers/pmdomain/renesas/Kconfig | 4 + drivers/pmdomain/renesas/Makefile | 1 + drivers/pmdomain/renesas/r8a779h0-sysc.c | 55 ++++ drivers/pmdomain/renesas/rcar-gen4-sysc.c | 3 + drivers/pmdomain/renesas/rcar-gen4-sysc.h | 1 + drivers/soc/renesas/Kconfig | 17 +- drivers/soc/renesas/rcar-rst.c | 1 + drivers/soc/renesas/renesas-soc.c | 8 + include/dt-bindings/clock/r8a779h0-cpg-mssr.h | 96 +++++++ include/dt-bindings/power/r8a779h0-sysc.h | 49 ++++ 24 files changed, 678 insertions(+), 5 deletions(-) create mode 100644 arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts create mode 100644 arch/arm64/boot/dts/renesas/r8a779h0.dtsi create mode 100644 drivers/clk/renesas/r8a779h0-cpg-mssr.c create mode 100644 drivers/pmdomain/renesas/r8a779h0-sysc.c create mode 100644 include/dt-bindings/clock/r8a779h0-cpg-mssr.h create mode 100644 include/dt-bindings/power/r8a779h0-sysc.h