From patchwork Wed Dec 18 09:05:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13913184 X-Patchwork-Delegate: geert@linux-m68k.org Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF15A1925A2; Wed, 18 Dec 2024 09:05:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734512761; cv=none; b=RfdsnF601Tyy6tK1oXboZQ6/KusWGacCjUNVWkY6FvpLqFtk5qOdndavAndPY/dviUYUxvK5nIOwlS8kXlzdxorvACyPob355OqtpUUcH/7ZIYMUvR3Y5nP9+6BL9gN1KCr62suITRDJ/L0RYS3Nh/rVVLOqVEWzQ1CAd+2rEXA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734512761; c=relaxed/simple; bh=X7dD+47RW/5fw+4S4JDkRtTjSiwVV7DJ9NYZ/ZcaJUs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=G+jFhBJyZtMS/xFaNrSm2lC6P7oraPSWw8SpICOmrolaNlA9tNFCkmEO1tVQdx6/xTUt8j6reTFb/RaDdhDDc8aSqygPZWviz/4QCsrlc8LUa211c3J3j/BQq5V8URTtqH9UjhAlqObCmQSGfJkPCgjM5qxxXDZ3PWyeYpdIBZY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=fl2G+Eoo; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="fl2G+Eoo" Received: from [192.168.1.104] (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E16DC34D; Wed, 18 Dec 2024 10:05:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734512720; bh=X7dD+47RW/5fw+4S4JDkRtTjSiwVV7DJ9NYZ/ZcaJUs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=fl2G+EooRYoPcITlQVxcUCEHzJXcMuDS9PF2kbpUrrf142z6dEh8XCPVHJjA+S/a4 tTPj4fONWOHqGvMyola5XydA9ujmwiD+wrizDIPcEt3dpAT1yz1tpDX+4bbTjoLkFF YdskTh8/BnPow7RMXX3tkh4OLbFGOW3PazX8ifR0= From: Jacopo Mondi Date: Wed, 18 Dec 2024 10:05:34 +0100 Subject: [PATCH v2 1/4] clk: renesas: r8a779g0: Add FCPVX clocks Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241218-rcar-v4h-vspx-v2-1-c673647d96e1@ideasonboard.com> References: <20241218-rcar-v4h-vspx-v2-0-c673647d96e1@ideasonboard.com> In-Reply-To: <20241218-rcar-v4h-vspx-v2-0-c673647d96e1@ideasonboard.com> To: Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jacopo Mondi , Laurent Pinchart X-Mailer: b4 0.15-dev-1b0d6 X-Developer-Signature: v=1; a=openpgp-sha256; l=1068; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=X7dD+47RW/5fw+4S4JDkRtTjSiwVV7DJ9NYZ/ZcaJUs=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnYpB0lxtCe3lPVpUyUhv9VG7JhjD4FNmnPDEEr 2wOMr6Q8DCJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2KQdAAKCRByNAaPFqFW POdwD/9wYAv4NJmYu3yqpT/mXXIAvzv3ysNB9iQmByisyemK4oPU8cUIvOfduGQcpHH9151De9F g+Ep1Lr6SmBoir8qNG2Ht+5w/+Dp844YqeoIwAPJcy4Y13zcl9YzI4OjyXmhfTwyCAJjYaTj39A mK9Unod4Yc0o7V4EoIl2Q/jiPxl07ZDJqojR18KaEkX4jJrZs/HId3FitlIcK3M4GHcp3uP0b6C v4BTsp5+tuYMDCIgo9B2h/Qx1q7285+eBKE7yOg4WtmONHnGmd/DwBxDSlHiVRYqFJcZbc1Uv8Z yHZrqBIwvJGrxexnU8TobKyu0qof7Z6yvdXc1RNUz4phDGSVe4NN4g8UHPwM0DeU6qO0wPKjIii VundKHoZH0M78a2BCJm7OO+onIXexOtDYTFwUdfbTOnLB/th39fwR8Z2JGCqoSGAZ/BmYqveDX3 TFpqHl1ueWpZdClWaiWPLHzGu4zBPx8B2GfIyWZmVAoQEukmL7Kz7qd+ZQZmJvrmXaqkeNJeiIm OnBz0d9GKF27kEiya9OjTs7yFwaFrKAnfvw4SxxB/9cESLLUmlFr5fBD3IIUeYbEk44UlspVxi8 /CaCZi5CVwpyNZMQ8nOj0KGZxykiqN657drW2/MerJm41OPZuOCx59WHcj1qXYMDQtdsVBT06e2 d+xAlQH7oG2OCnA== X-Developer-Key: i=jacopo.mondi@ideasonboard.com; a=openpgp; fpr=72392EDC88144A65C701EA9BA5826A2587AD026B Add the FCPVX modules clock for Renesas R-Car V4H (R8A779G0) SoC. Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a779g0-cpg-mssr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/renesas/r8a779g0-cpg-mssr.c b/drivers/clk/renesas/r8a779g0-cpg-mssr.c index 55c8dd032fc325c63727f21dc4d38b8e08ce0ca0..dc9ac2839ad9bb6c222db015de72fe8d9e7fe208 100644 --- a/drivers/clk/renesas/r8a779g0-cpg-mssr.c +++ b/drivers/clk/renesas/r8a779g0-cpg-mssr.c @@ -238,6 +238,8 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = { DEF_MOD("pfc2", 917, R8A779G0_CLK_CP), DEF_MOD("pfc3", 918, R8A779G0_CLK_CP), DEF_MOD("tsc", 919, R8A779G0_CLK_CL16M), + DEF_MOD("fcpvx0", 1100, R8A779G0_CLK_S0D4_VIO), + DEF_MOD("fcpvx1", 1101, R8A779G0_CLK_S0D4_VIO), DEF_MOD("tsn", 2723, R8A779G0_CLK_S0D4_HSC), DEF_MOD("ssiu", 2926, R8A779G0_CLK_S0D6_PER), DEF_MOD("ssi", 2927, R8A779G0_CLK_S0D6_PER), From patchwork Wed Dec 18 09:05:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13913186 X-Patchwork-Delegate: geert@linux-m68k.org Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9E011991DA; Wed, 18 Dec 2024 09:06:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734512768; cv=none; b=e7SNhMsiae+mS7G+HX3LoscJrpzRGMEMMYx/AyO6eUJDMX/Vbymeggq9+94PnX2HJM7zg7jXW/n35ovg4uyBmo6OhHmrHbGnDVb0oTZbvtvnYcIvisYB9Gca86DV0AzwQNdc6KrZKhw1/5CJ5fwIQFqN9UJJRMu329yWtKYtg24= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734512768; c=relaxed/simple; bh=5BbhOPRrDW7SqUts5g+/KtHAiF/OLk8XENF/z1CcFF0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jjhUA86JqSbp4X0iIJxM9hESWm3y1MjQ5lCCZQefxCSGoHD6bT9JIb31pn+fNziZJN5I63fOCpg/i/Gl/JuUxwounNHylJAKr0EdYyxsgUVUVgVKkXrr5XtziVo3M6qNNx7ftyke7Ta2QI0lc44Fh/BgKrTdnCwHmY/YE4NddHA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=wHxANcqg; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="wHxANcqg" Received: from [192.168.1.104] (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B926E827; Wed, 18 Dec 2024 10:05:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734512721; bh=5BbhOPRrDW7SqUts5g+/KtHAiF/OLk8XENF/z1CcFF0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=wHxANcqgWmqPX00bMqTGojv52kwyf0V7uo+m/TSqoWbrlailBn+XkckB0sjv+js7p Z39jdVTZfm794cyWhXOoN2VpuO3sbX893p200GxMK/wdXbL3eRWeaptTOxVX7YIPMN E8njxspLPjaghGhq2xP6G1hnhsNfPwHnyCUPugTY= From: Jacopo Mondi Date: Wed, 18 Dec 2024 10:05:35 +0100 Subject: [PATCH v2 2/4] arm64: dts: renesas: r8a779g0: Add FCPVX instances Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241218-rcar-v4h-vspx-v2-2-c673647d96e1@ideasonboard.com> References: <20241218-rcar-v4h-vspx-v2-0-c673647d96e1@ideasonboard.com> In-Reply-To: <20241218-rcar-v4h-vspx-v2-0-c673647d96e1@ideasonboard.com> To: Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jacopo Mondi , Laurent Pinchart X-Mailer: b4 0.15-dev-1b0d6 X-Developer-Signature: v=1; a=openpgp-sha256; l=1322; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=5BbhOPRrDW7SqUts5g+/KtHAiF/OLk8XENF/z1CcFF0=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnYpB0863Qxw5cFiry5k/hHwCSZJuvv3AlfrG4o SrmSC5lPDeJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2KQdAAKCRByNAaPFqFW PP8ED/0YrzNxpEiccA2hct3xvsWhRFT5K2B90QuvhF4lOq9PeAgav6YEgRkNzsVib1JOPlvdERz d4AnVaqdgK57L07ncGUxEou6EQvEH9XcZ8X5BxxyNB0Lzn6a+VOXLFI62lTVpKuKgXfneMbl4vl 2ocLx4ck4tNX07H/u6rWOZO4CJFttD9vmHHHlCwsHodZndGGnGXmHPwg9d3gCie2znFvnRDkmfF FN3wcYcZb/Gbow+Z+8rGdXE1EQlDfczclqSrljBlsDre1LQC8n97astmx2Q+jvITrNwynwbqLz8 +d5TeQqL9X6S1cTnhIRdkGqQpQ9xyeAAasEbVIyhrKxYEJjfFUIPi0SCu3e2ABkdDLEJf4KxnpT fusz8z8d2TlDohqlRKqPiB0yauKE3pAYXZ4wyYTVa06Ow3hR8jzYV6HJMGlrdbJ+qdPuN5TNaFA mFNDNkJ4rho9YTUq3T+Zh4QB3YCghujHpWhD0uvv1ln0VSIWNYqhc/A2LwjK5jKQFe8Yovmhqi4 Zb4o+TNCjEqHcsOob2fyaoF1UM07epZKvHVZ85RK+eH6EwFK8Hmekw96qRmbvfhwThBW+HD5oYb IFdYwe73Ig/nTXrSYa+goCo0gM+oFm9IY6xBqFBpTGI9Q3xlBFb8onJMBQ3r1nDCaGEyGsDC9IV cGf5rL3SdQS3Dog== X-Developer-Key: i=jacopo.mondi@ideasonboard.com; a=openpgp; fpr=72392EDC88144A65C701EA9BA5826A2587AD026B Add device nodes for the FCPVX instances on R-Car V4H (R8A779G0) SoC. Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- v1->v2: - Re-sort nodes by unit address --- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi index 61c6b8022ffdc3b22444fb13e748b4aaebe454a4..3eb53deecb63cf1aacf4a2ed663fe5402aa1199d 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi @@ -2453,6 +2453,24 @@ port@1 { }; }; + fcpvx0: fcp@fedb0000 { + compatible = "renesas,fcpv"; + reg = <0 0xfedb0000 0 0x200>; + clocks = <&cpg CPG_MOD 1100>; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 1100>; + iommus = <&ipmmu_vi1 24>; + }; + + fcpvx1: fcp@fedb8000 { + compatible = "renesas,fcpv"; + reg = <0 0xfedb8000 0 0x200>; + clocks = <&cpg CPG_MOD 1101>; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 1101>; + iommus = <&ipmmu_vi1 25>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>; From patchwork Wed Dec 18 09:05:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13913185 X-Patchwork-Delegate: geert@linux-m68k.org Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5EAFF199254; Wed, 18 Dec 2024 09:06:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734512767; cv=none; b=iCNp8sIO/ka+xCfMvjfQxpQRGnOOSlkjPnIp8cYUY+kd+jEAPG8nyjWZecwD09X1ISdvSAchdOdWLc6WePx5lU5gy0ZmsnKBfRSaROqh0PiUXTy40kpP54gbxA6A/hKYRgwyg5hLIECEN2mfvBc6I5uYWfRKUQ3vDYEU2XdwgvM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734512767; c=relaxed/simple; bh=aOPB+FrGhFD17xP8GQSDhN5TK2aj72WoS4Yxi/mW2A8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TEuhnADtFxVit8trtZdIh5wd0UIzznq+CKRDZNgi1Gaf0l307ObOMU4snpuCjN2OntlL1/7qDZy7rysIW5Rhh8f3kWO1kU/KQbvsm0cYp2SE+f6YPX3ZC2hSB0SwebBogSPrmteOvyB+hrgC1tCx03Zn2Yhn+asETukeNkaycNw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=GERVyiSX; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="GERVyiSX" Received: from [192.168.1.104] (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 93408D04; Wed, 18 Dec 2024 10:05:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734512722; bh=aOPB+FrGhFD17xP8GQSDhN5TK2aj72WoS4Yxi/mW2A8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=GERVyiSXfWnK/hVi3c4dCLvv+59S8U/ExblMI6CSO+8oKpzuBtvzV/kQ8s2cANGk4 KuaC+VVjR6k6sOadGb5AirZRPKHmToxYwwn0PkDa2PWe+MOhOGZKk4XtYEa9h0oVIW /nPOUDs1fDkjLdlnEJzOAjnvs8eO0hnH26TBig2k= From: Jacopo Mondi Date: Wed, 18 Dec 2024 10:05:36 +0100 Subject: [PATCH v2 3/4] clk: renesas: r8a779g0: Add VSPX clocks Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241218-rcar-v4h-vspx-v2-3-c673647d96e1@ideasonboard.com> References: <20241218-rcar-v4h-vspx-v2-0-c673647d96e1@ideasonboard.com> In-Reply-To: <20241218-rcar-v4h-vspx-v2-0-c673647d96e1@ideasonboard.com> To: Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jacopo Mondi , Laurent Pinchart X-Mailer: b4 0.15-dev-1b0d6 X-Developer-Signature: v=1; a=openpgp-sha256; l=1068; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=aOPB+FrGhFD17xP8GQSDhN5TK2aj72WoS4Yxi/mW2A8=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnYpB00r3wIIpGot5NQ81uWKpekwb8yMKFXdiXL B3QmLF0U/6JAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2KQdAAKCRByNAaPFqFW PP2YEAC4MQcgKPBIcj8XaKmQXMSWdMm18wF2rEyttQvHCaV8QAUQClY2BYisX4ZhxiIdxpP/E4p Am8d2xQYCZtHYiQ58pW5b2DGg+ipLXJXgAFPJMJisjDzx3Vd99p334s2lqVK3lkESaX1Oj73LnI fRiaAHDGfQxvd/WNp96mZX0SHS4+7CzCWgH3XUK7plJoPqFVnrvTm8Z9PcXLmRomQHHOlkGhM5R gZdkTRzWhL0xF7phWOgDAffICBzZS3Nkc52N3OelK88tXqPHslJF/GW6pScZx5fePqjwVIC3IPq XwcNhsTbiVxIIyAT+wkBTjuZOeD9IpOsP88K8sW7d6A8vx9Ljceo3mwWIFMBhE1vVErU4wbwTwO 7QFOhta9LuBO0R9vdsSr2IhWjslNZYoXzlpyRF6GeEwB9zwchMSriZmh5WGQyq6vNsUrDQfwWdR YuP1DBv8NOZGWLLNf90xW4n5NUs0mC100R4HRPGaOlvg7o1Z9eACYcI9pRHYqw3t7Kx1Ylgda3y kbSewBuyJVEMZfhnO8Q+R2mwT6Mw6H8CjI2Ezfc7Kd1UlqoSJZC/kVOfjdPUrCNu9kYXNWS7U2H mIiOT2286QNy6fnNtSFiiHMLeCazzLpcTNczD2a4D9DiRbl1Pojm+pmRAaQyqSTXqehHrN+SNEG CLjYVDhVmXQVQVg== X-Developer-Key: i=jacopo.mondi@ideasonboard.com; a=openpgp; fpr=72392EDC88144A65C701EA9BA5826A2587AD026B Add the VSPX modules clock for Renesas R-Car V4H (R8A779G0) SoC. Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a779g0-cpg-mssr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/renesas/r8a779g0-cpg-mssr.c b/drivers/clk/renesas/r8a779g0-cpg-mssr.c index dc9ac2839ad9bb6c222db015de72fe8d9e7fe208..4e88096f8c4583d60debc3989fb22a51b41762a6 100644 --- a/drivers/clk/renesas/r8a779g0-cpg-mssr.c +++ b/drivers/clk/renesas/r8a779g0-cpg-mssr.c @@ -238,6 +238,8 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = { DEF_MOD("pfc2", 917, R8A779G0_CLK_CP), DEF_MOD("pfc3", 918, R8A779G0_CLK_CP), DEF_MOD("tsc", 919, R8A779G0_CLK_CL16M), + DEF_MOD("vspx0", 1028, R8A779G0_CLK_S0D4_VIO), + DEF_MOD("vspx1", 1029, R8A779G0_CLK_S0D4_VIO), DEF_MOD("fcpvx0", 1100, R8A779G0_CLK_S0D4_VIO), DEF_MOD("fcpvx1", 1101, R8A779G0_CLK_S0D4_VIO), DEF_MOD("tsn", 2723, R8A779G0_CLK_S0D4_HSC), From patchwork Wed Dec 18 09:05:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13913187 X-Patchwork-Delegate: geert@linux-m68k.org Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7736919F422; Wed, 18 Dec 2024 09:06:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734512771; cv=none; b=HRV5/rVJD3Hcn9kVFGeLxaGgFbe4jy4R5k01yOQ29byABcFo4IMJ04V6Bd+uYbTQTgDuLTCctMedJf9BBbYWJhGNzKOnb79d17RhUv36KNgooXgqhVkHqTLXLn3y5htBQavtmmzzk4zg9U778xPy+M8e/sdlYNSr3oTWa3Sd2lc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734512771; c=relaxed/simple; bh=uq8TgpIgbcMe1O9uiKHRrNcGZAdZvgl2WksQo0PqQHE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IQZP4OJIH6AsF9+JbUtaD0o/EZGd2SAuflk+3hCY9DEjqKbVDyrUI+SAurKkCKvevlQn8d7ZPMyHMGECbJaTcNRrZT+aHxWjmi6MC20l7O//plTW8wEndopxF89eo+w3CRgMFc5urQ0feako+VIPtS2pX7hSpfkpqRjOMNCfqcY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=SONlG9Fs; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="SONlG9Fs" Received: from [192.168.1.104] (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6B3DEDEE; Wed, 18 Dec 2024 10:05:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734512723; bh=uq8TgpIgbcMe1O9uiKHRrNcGZAdZvgl2WksQo0PqQHE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=SONlG9Fsz/HhqSfLvLDG+zXHY5phBTn98shqJEOd09Y6tWD2MxK9V8Q8I/qPbICkF EQyuTdvOya7BGDbCDlvsPJplJtZsj4qvccA8TEXieM0NkwmDfvIJw1ag0zaFsHSkLW 8HpW2YAPBStL9XZdwSHKQQyBew6rvLwDQfXjz4+U= From: Jacopo Mondi Date: Wed, 18 Dec 2024 10:05:37 +0100 Subject: [PATCH v2 4/4] arm64: dts: renesas: r8a779g0: Add VSPX instances Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241218-rcar-v4h-vspx-v2-4-c673647d96e1@ideasonboard.com> References: <20241218-rcar-v4h-vspx-v2-0-c673647d96e1@ideasonboard.com> In-Reply-To: <20241218-rcar-v4h-vspx-v2-0-c673647d96e1@ideasonboard.com> To: Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jacopo Mondi , Laurent Pinchart X-Mailer: b4 0.15-dev-1b0d6 X-Developer-Signature: v=1; a=openpgp-sha256; l=1472; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=uq8TgpIgbcMe1O9uiKHRrNcGZAdZvgl2WksQo0PqQHE=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnYpB09OPRnO37Z5k1jBs4HlqXsD+YQdJ0MHio/ vSUWlZhIFmJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2KQdAAKCRByNAaPFqFW PN/PEACw72ECzjMUpoyDKUQqyovUuyTIIzuStVghAJPpJ67JYQ6BNzEa0UGvdbZEzt1+ytEJtDp F4nOtzmRasnv+ssBIfa9JoaNuYOSlU1qUoJEPtO/tiW6rk73PlQJ2X+m9hxHNO6lctluv5CFVTZ fyNYSga+GfNV7UuCT+txUlC62GJr/QmzAka1P+3iB7o8AloPIbNYCtz1Peczylr5OJS6mZis+Vn UpzR+MTA63e5Hf9TGMjZVHGzGucYu8eQ4qPzr+MkJjBV8U6vNqBf8LF8BMnWIviFWA53dswoZDB FxWCohYytjEl0pJVSCFVtAkQfZxGVkcNB1NgYxSqu/tNXi+jfX7+ZNUZyoP7kVJQ0qn/jhjbMwr hjTRTjVdH4Pp9ciXUYHCUwfRxR7kp/Ouckp9F+gmDoYKn1aBpGvVZVj4tbtrwQaonWPNnt5DhVn kMSrtai4kN8owxFAPO960/sJq5VefxZaV31ymsCN8ZWdVvv4XctgVB7tG8dqnmvhe83hMyUSyim dlJGanZADzj1gwYetJjjeW1qoBiLm+oe09jJ6VssCEFhQnD9fpjHet7R0tbqiamR6JKBATwicP+ 0SODoqxL7cd1BTSMMss5Xqh7BGxHfPaEqO2w19rzMIV9cBpm2TZ7ZR+YdiLq1lYJroT2iiwCWSA I0BJNVCNmWd0NKA== X-Developer-Key: i=jacopo.mondi@ideasonboard.com; a=openpgp; fpr=72392EDC88144A65C701EA9BA5826A2587AD026B Add device nodes for the VSPX instances on R-Car V4H (R8A779G0) SoC. Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- v1->v2: - Re-sort nodes by unit address --- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi index 3eb53deecb63cf1aacf4a2ed663fe5402aa1199d..cf2550abc58620c453e312d6fd3f46fa1a58c1a1 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi @@ -2471,6 +2471,28 @@ fcpvx1: fcp@fedb8000 { iommus = <&ipmmu_vi1 25>; }; + vspx0: vsp@fedd0000 { + compatible = "renesas,vsp2"; + reg = <0 0xfedd0000 0 0x8000>; + interrupts = ; + clocks = <&cpg CPG_MOD 1028>; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 1028>; + + renesas,fcp = <&fcpvx0>; + }; + + vspx1: vsp@fedd8000 { + compatible = "renesas,vsp2"; + reg = <0 0xfedd8000 0 0x8000>; + interrupts = ; + clocks = <&cpg CPG_MOD 1029>; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 1029>; + + renesas,fcp = <&fcpvx1>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>;