From patchwork Thu Dec 19 15:24:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13915153 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 5FEBC223C49; Thu, 19 Dec 2024 15:25:18 +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=1734621920; cv=none; b=gOJ2LaU2jTJej5v5QRxHJsSRIHsDEtLS3SqtlX8OMtN4AUjxrkf3UVEDqxxX8+4XBMLIuythniSOrFpytFiMq2kbMyo9+t3WM1RzZLSm/m15sc5gbPzXCSbOB/NXTRWIO8wNoDtkiM+qKZZ+SuPOmsDTU4pTF3L0G01dbYbyNYo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734621920; c=relaxed/simple; bh=WUD2jPFOJ7K+9TghgBfHWQiv6ujh3Ii16RtoTY5mUhs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GYXlJpqVK2DlCs8UErWojUvPsd6l3huPD9K7qu02OVELjBeziuAvVMeMiJGgS0a0kM/PRJqeUwFAgEYqbZI+3fUvsaB7MftE6z0HMKFHD9voPvVT+9902qsJnHV1dExvp947ud77bMUww3cz97SOnD2Dlyjd7UV+4aratgOEnms= 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=AkpFECg/; 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="AkpFECg/" 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 31B646D6; Thu, 19 Dec 2024 16:24:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734621877; bh=WUD2jPFOJ7K+9TghgBfHWQiv6ujh3Ii16RtoTY5mUhs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=AkpFECg/CPMit4MVHYXevjoaMYUhEknQwbxddMoGYeAAJr+3aScgWOMuwMroZUi6X SEz8FoiPNmhpp2zEGma6o6HUXSLhIvFQ/Fk8s5/4PFQfF21A/3YNwakwxaFrJUXzuc /4jU3Org6PUmMxi/v+EUHvUzQ99esHRqbn06qWdQ= From: Jacopo Mondi Date: Thu, 19 Dec 2024 16:24:49 +0100 Subject: [PATCH v3 1/4] clk: renesas: r8a779g0: Add FCPVX clocks Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241219-rcar-v4h-vspx-v3-1-8fe8d2afb268@ideasonboard.com> References: <20241219-rcar-v4h-vspx-v3-0-8fe8d2afb268@ideasonboard.com> In-Reply-To: <20241219-rcar-v4h-vspx-v3-0-8fe8d2afb268@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=1202; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=WUD2jPFOJ7K+9TghgBfHWQiv6ujh3Ii16RtoTY5mUhs=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnZDra+JBwLRsTnF+QvFuoWFouvOl2CSKnc/BF2 4MufHwr0G6JAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2Q62gAKCRByNAaPFqFW PD/7D/94FAPTVhYBLpQ7jfQmc1Eu7tG4R7GFEXS1mhsqDZLToeC7kfLkwtCpsCOp0TIVwdg7HTw 87C38M1zr7E+f4CCW2KGxDj9ryndeyl35lrVGXHF7XVs0Sqn1HrUTuOVd1xOmTTFMqE1t5yAryJ wyMPVb5lsnnp2cMvVwJHFN0u5Dz3DbklL7aO5/la4h0PF4J0rAI10LSNDti2uaKZVEIV2Ls0Pim +kD8ZUk7dcaJGSDMioZnR5ppJN7vZqbBcfuv9UW+nn9+QpBj0IK72joXTp3xct7aCSDWgwSNy3d IZlB11T5xMY2epfqqYklWbcznkl1A2yZpSmSZ+gEG59D6SI80yAtGfp29ojY6zaHsJxnmBN48Tj uqUYYSMrb+eFVGJUUk8es4VtrkltircqpmiUBNWOwlTld3h48LHDwrp2rYZWtxy1DACmP6aqXjJ n1+WN5DEi0gG78oXst52nrqRIurTGhyi71PAjrqBF1O5TtkeWsQcj1JiPuLadMsxdc0EBnN4jDk lFeK2wSCWfjX2yDz4DN4YUEyDzUk0HYIH4PbQdRMaFe278ZY3bewETX2Y4sj/MSY1MUszrqjdkr m+IaD7n6qT/SbJ6hYC1dzT/1yJl+SINAD6+ki773RifZVIwiRnSpomB+l1eeNhp0/49PNAX4N8O TsrpoHTvfuWVGFA== 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: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- v2->v3: - Re-parent the clock to the 800MHz R8A779G0_CLK_S0D1_VIO --- 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..f41e7382a5e66ed15ce4e977691c8b4bdf18d255 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_S0D1_VIO), + DEF_MOD("fcpvx1", 1101, R8A779G0_CLK_S0D1_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 Thu Dec 19 15:24:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13915154 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 3AFD222654B; Thu, 19 Dec 2024 15:25:20 +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=1734621922; cv=none; b=aUMbZyS6wHR0SHZdbVN00oLE0tSNgosP5aC/2VxgCN40dF0OmLlHU548relh+3QtHta1YFGw6SDMPbXXUXYPv5Utdq/wWextCGJC5jOfGasTbGKf/afNgj0oG4Y0e1nF976DneGFxyfQ2NZqmV1OqtlrWbKdr9s+h58kn3k5QLY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734621922; c=relaxed/simple; bh=Gvfbqv3B3NzBfBKSwmYjobKjdbf2jPxzYKt/0gzx9SI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sMAQa/SY27WhC2FmjbWV/my7VE9a3Gx9Gljra9Ng8eXCsJTlPG1qfT1f67RYFwoFsl6yGwxxw9L92G8Yl40UrnWTW5cZGDJpoFCYXsOfqzYosf2R/mW4S425lTXH9BHj3tX/iP2aefQ1XZZ1Fc5fEuRxKg8TSSrfg41+xUy/rL0= 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=gkvpWdNo; 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="gkvpWdNo" 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 F422E6DE; Thu, 19 Dec 2024 16:24:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734621878; bh=Gvfbqv3B3NzBfBKSwmYjobKjdbf2jPxzYKt/0gzx9SI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=gkvpWdNojTpzACJRgFi5qcYp6txlxyLvJgwHj9+Pl95egpkiSEyTSZTnJXGIqbaqT vKH2Uhb1NIjf0C6kxq2ni1d2/Ve4exeuHxqq0zEpQXSAOpWCPRVgfyabJeDaQ/Uxdd iiG32IAIFXs8VrywBsAlEeXtHYFmFAOQFnCz3u7A= From: Jacopo Mondi Date: Thu, 19 Dec 2024 16:24:50 +0100 Subject: [PATCH v3 2/4] arm64: dts: renesas: r8a779g0: Add FCPVX instances Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241219-rcar-v4h-vspx-v3-2-8fe8d2afb268@ideasonboard.com> References: <20241219-rcar-v4h-vspx-v3-0-8fe8d2afb268@ideasonboard.com> In-Reply-To: <20241219-rcar-v4h-vspx-v3-0-8fe8d2afb268@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=1423; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=Gvfbqv3B3NzBfBKSwmYjobKjdbf2jPxzYKt/0gzx9SI=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnZDraiYLc7WZOogjh0OR+mxR6Mmr160AAXL0Nk R5SHNAdpUOJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2Q62gAKCRByNAaPFqFW PCl9EACccBVFOqN1brun8guSrEhwf9CC1tf9/3GTbndE7dBMTAKfEKbk1cV8TzwbkOI+MDgJ3c0 fsy9BufSyYBPjddeJ6GXUAGl/XqU86nxaCVk9sUWJRr+RUqylbg/VfLiSRNIWi8e8WTYas2FUT0 hYgNKaQr+1acFaPs9pkPc+AlEaxrYLJBrMXsoJbChL5JRmEbPsiAlCTlJ5VzEfuTilVnGps3J4A GoOIxQOWRpeEmA3RW46Vc1gg3x9v2LUHvX45/lJZqm8308wgcvI58slgSTEDz/bGp/UO0H59Mxa AcwpA+WDUcG/Cjxat2Q5iQtIKqsn1v1Ok4ZHWSc/XEP4u1qPozMJijkhJcFI783R/zYCfV0wtyG OH0xcgvrv2yxEY2ZankxNwhtYzAVMetQxa9MRfePso/5VtacsMFGqNz0Htd6io4bEe9dwzEEKX4 t+IWjTIBN1lZOEZFu7oNIxcGpGZCqIMkTZjSQwg/JZOfkHj5arnIVSMm3w1i7xj9U5m7Yfxqe1F s0Z1ClJs639a43GHfBp0SBV1pwZtL5ve+5JmOUVXZepIH3UdlimcKP6dU6lJHVmCKEBz9a4/TYk NRlHItRvpLt515ljgVE+8X+pArslDzah7q/BTQUIxSHkmGW80CocluZ+gaJi08CjVNjRypaSe+a tGg4aflaLnbiE2Q== 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: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- v2->v3: - Place FCPVX in the ISP power domain 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..13bc49a535f8655db2af0493779f2756317ec806 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_A3ISP0>; + 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_A3ISP1>; + resets = <&cpg 1101>; + iommus = <&ipmmu_vi1 25>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>; From patchwork Thu Dec 19 15:24:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13915155 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 2FE8B22616C; Thu, 19 Dec 2024 15:25:21 +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=1734621923; cv=none; b=Gisc8312/572cPZJBKipDofMwhsOiNUjQ3Ol+LZlQSn5BZ5oBqhYNPKOPSBoxCEJvdBi6dW8bySg0H0nodFOz2rq125wlJ7o8oJHUSt0qqQINa27VhQXm07I39Mh7Unfk/ngnvtupR82SAl/fwshuOt56vFaDYrgXbU84+qIiZU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734621923; c=relaxed/simple; bh=5GhY/njQFL7MQII0Jr324eXskY34hFLsy/SneCYDnnM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eiUcwDWQD3cVqjTy+/XTOZOhcywWKeNaPgTLPT7udysR6kg7kX2NchHXxlDSqQUT5UPAINjUfWOzpImA6qEcnxpSws6CFn6SaPLkJicJqZnFw6eiQJ3G+OEUlI7O0th5RHCrZsVGOJtzZCeCE82yU31Chqn0kF7w1KJPyvvuAog= 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=iW7Z/Aex; 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="iW7Z/Aex" 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 C14E7AD8; Thu, 19 Dec 2024 16:24:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734621879; bh=5GhY/njQFL7MQII0Jr324eXskY34hFLsy/SneCYDnnM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=iW7Z/Aex/8Vx94Vjl6Z/sZIrPecQ2JgHSPz7vRPAQ3+LwZWnsuKdfGxJFjjyEgiRg 8v2erHJjQmw8iTpEhWAA65NjBgRBfyiNUyBR7u/23eHtyjY9r3O1Yo4xvlBEJ0HI85 pKNx4W3li+k024NhqqNcjkcTiwnwGETpLKeSOSTw= From: Jacopo Mondi Date: Thu, 19 Dec 2024 16:24:51 +0100 Subject: [PATCH v3 3/4] clk: renesas: r8a779g0: Add VSPX clocks Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241219-rcar-v4h-vspx-v3-3-8fe8d2afb268@ideasonboard.com> References: <20241219-rcar-v4h-vspx-v3-0-8fe8d2afb268@ideasonboard.com> In-Reply-To: <20241219-rcar-v4h-vspx-v3-0-8fe8d2afb268@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=1202; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=5GhY/njQFL7MQII0Jr324eXskY34hFLsy/SneCYDnnM=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnZDrakr/9K5Ej6SfgVH64XqnMCTeWfsvDDvBrf Lw8iN9zSTqJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2Q62gAKCRByNAaPFqFW PLMDEACc2Hbjfq1YfbI01F+ogZ0/wpBJWnQEwdBzgFf5m1HCPZmebsu/KQXBRpY9PAi2kvwWwCW 9FI5L2fv3yXNn2HOaIo6KgbQDBtLUFL6+QWL96OxbyuJvh1TNdDhzNLDkEeo7P3m3EEcDXP05tz 4FuECJriYQGhs9mWJ/Ji7yd1i07Eh+iBudk2hEnUcUlYfxa8ZzMOk+7C4SBfmSTQecogCfKCTOR fH/b7XR80PXwvOZwyIo9gs++OBknu1+HYy+AMOu9Wscv/p9xU8u8m1QvsnVajscwY1/Gzcxe9QC HUXma0qNQ+QlS9W8sIS0ERKukmDsycRzq7DNuSfdygEYMmkkdj3xYMAvKs5LLcZIww+fYJPDW0q 5jrsZ4EtuGJzRw8MSuIzlZHM+70Dzreyx8ERKAJc0ejWiiG1mChEafpF9cFqFz3qgkhu/kQdM9h NG8T4k9t4/5YYmPj+J2pSzSNNCnAurbir+DaNoO/x3kbOVSdkupC6Fcf10OuTz3XtvL3Z8BAXeO J22EIVZEV1ARqAkp1GK2LPS2D/Kl2tTsnKseoX6RFWKAPvBP6Cln7wYKi10/VTrHctzczXoSirs LiuU672ZzFeZyZdL2kl5G+fDuTUqWublHQLy1BwjWueYe0g5hqh38t9juZWtZk06ob/cY0ukHq4 sa5Zu1sh+0ii6ng== 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: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- v2->v3: - Re-parent the clock to the 800MHz R8A779G0_CLK_S0D1_VIO --- 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 f41e7382a5e66ed15ce4e977691c8b4bdf18d255..d45571096b963b2e204e5d6b9426b664369cb942 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_S0D1_VIO), + DEF_MOD("vspx1", 1029, R8A779G0_CLK_S0D1_VIO), DEF_MOD("fcpvx0", 1100, R8A779G0_CLK_S0D1_VIO), DEF_MOD("fcpvx1", 1101, R8A779G0_CLK_S0D1_VIO), DEF_MOD("tsn", 2723, R8A779G0_CLK_S0D4_HSC), From patchwork Thu Dec 19 15:24:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13915156 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 63302227594; Thu, 19 Dec 2024 15:25:24 +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=1734621926; cv=none; b=Biboe+tUefAK4eNgvgUqdbwjgsbkoUWydUrRyS3tmV2Ua8ZipG8fFSRpXZi4OgdhJpwYccaGT+xtzClnPksurI7KRjorQWmbcrsDUmslF0j3Wd49/AARCchdbSFE/kje/q1LUghfPRRdMXXA4yVl1ftA1cgnFsPTfTOPJeOMZ+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734621926; c=relaxed/simple; bh=VTkLpaiH+VM6UokTmNQ9l0jXwGpqKfr0LWdoGEB/x24=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kyF2ts4VhxadR51nSEXYtn1BNPso4G+2VBoevGf/Yes/gDI9SXL0jfM4qZaCSW81DIo+HixjJWtdPvVARgCzu1kGf4pxa1II/eaJbboItnvBIiXGxxn6KcxA58pJBcJ18WLKvxVqJ6dzmYqHbxPL0aRcLwsdF7tWLJghdN6SbdM= 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=DsNY7IVg; 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="DsNY7IVg" 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 90787BEB; Thu, 19 Dec 2024 16:24:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734621880; bh=VTkLpaiH+VM6UokTmNQ9l0jXwGpqKfr0LWdoGEB/x24=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=DsNY7IVg7mL3HI8JOEuJw8FhoA8EbeTT6k6WLNMnGE6ISnaVuLq+a5No4NelXHWZC AfmF85OiMIpcfvswzPcPI6q9bPU3UAR8Ys4oEQZRlwYGFBO+HTVnroO6jPjxaI0egu tjtfxpHG8PQuebGAjEP5hv6rgYDO5OtBuI8QIWMI= From: Jacopo Mondi Date: Thu, 19 Dec 2024 16:24:52 +0100 Subject: [PATCH v3 4/4] arm64: dts: renesas: r8a779g0: Add VSPX instances Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241219-rcar-v4h-vspx-v3-4-8fe8d2afb268@ideasonboard.com> References: <20241219-rcar-v4h-vspx-v3-0-8fe8d2afb268@ideasonboard.com> In-Reply-To: <20241219-rcar-v4h-vspx-v3-0-8fe8d2afb268@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=1572; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=VTkLpaiH+VM6UokTmNQ9l0jXwGpqKfr0LWdoGEB/x24=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnZDraGlgRmWoS4x1AbfwY1jM6qpwiIGA0yaAKm 684rh30hF+JAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2Q62gAKCRByNAaPFqFW PNERD/94s/dpZpcG+EFAz403FgCP/bSTu89TjwR0cTm6YS7wblaEXUlWf6utZUL51I73w8rMir8 knn58ci+SJ/HnkJD+Aod1pfcYGj731eGeQr8aYEnLYYchBh1ew9SyeL04a1hKcd+D4syWtqvaCF Ub4BMaLFfjHyu2EmwF9GBgFYRXETNJoeS+zEzJCvpDiOF4JXq4Fq9rAFZfiPsXv7ohAYFr/kgJJ zYyweNRSuvIH9BpcST2DeZdNP1bjqL071yv8ntG2XZ/mnRqmW11ljVYyAq30P/LnJx1Vrns18pM 2q2j8WijHQKwAEcbkqsFOS6wnP+pgoln79BHsseuCjmksd560BW/PMy+bsTH6neVRaELIh7uhGe jZmPcb3w9T2a+9waPw7h9CUQsGj/eJtT3pp5lkAhHGT4OifNbPV5mf6AQqRHO9Kx4bHPXBu4Gkr BjppmxfKbOL+B8A8zuuPyiVT+hWovU37HUafW1u204lXxIYUQWbbQyf2iQuiWqHbL1/3RA7uuxy hHawxhE+ek0iP0qdl8qIwkUMv6o2KMzFveo6C5NAaENNoMtRjWJ7gp5n63D23c601NGMqbaK7f2 uZ/PVrrWzORiSt8Od99GaFCXGl6EOGa9ibYGCXdB8BsGy2/zDZyLjB8C/+qrOY5r/hHP2KMqMbN fwuiLtZZbrB1HIg== 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: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- v2->v3: - Place VSPX in the ISP power domain 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 13bc49a535f8655db2af0493779f2756317ec806..104f740d20d315d43af9d0e63e418155f14a600c 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_A3ISP0>; + 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_A3ISP1>; + resets = <&cpg 1029>; + + renesas,fcp = <&fcpvx1>; + }; + prr: chipid@fff00044 { compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>;