From patchwork Fri Dec 20 09:14:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13916382 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 680CB1ACEC2; Fri, 20 Dec 2024 09:15:06 +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=1734686108; cv=none; b=h/WANvUH+hZd3lqu0WjrBdI7p/6LXMJ1ZNEvcWrhcD8lt0SK+5s6OI5gOW3uZdxLGC3htvPxlwsZJJHcbDEhgKItL7kMqlgQW4ZjjzKLrEl0ZKh+IqCsOfS31VJQSMUlk+ePcjG3r/IVm4ZkFtLuJdojVSTFg5VgEA45GpQNS7Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734686108; c=relaxed/simple; bh=lK5u7GoO16DfjBBchUoOHS4tH8bwdq1LmoJ2QCarCOs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hhPUyZIRVsLxrtJDSQdHK0QOtl69h6eLr3wz8cIKGOPoazMsS+pSy2r1Ha9l3qV+Wr17waNHZN+Gxc3IvdN6a7cWe5HoNZ1KnKr1uWsbcMX6lj1OB5eQ7Nfrdzn4kCgim7oz1ABjfpFPqnweGbdjtmuQTh2aUxMKJOQo8cyaKus= 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=bfaAK+GA; 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="bfaAK+GA" Received: from [192.168.1.105] (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0DE15B2B; Fri, 20 Dec 2024 10:14:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734686064; bh=lK5u7GoO16DfjBBchUoOHS4tH8bwdq1LmoJ2QCarCOs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=bfaAK+GAR30Z+T1kRrnKq/gM7WgaErZ5D9AfjU+10VmSKv7kT0Mtw4Dj8G/QFT2rT QC4LnSHDk7qLMxEp2TFxR20EW+EP4xRx958mUvQDqfQQaPA/WSQu4kLRoJMhh20kDF 2Fr+2j6d8nNbz0Za1Q9Q9/XlZz5HN5T4sq0Y63P4= From: Jacopo Mondi Date: Fri, 20 Dec 2024 10:14:38 +0100 Subject: [PATCH v4 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: <20241220-rcar-v4h-vspx-v4-1-7dc1812585ad@ideasonboard.com> References: <20241220-rcar-v4h-vspx-v4-0-7dc1812585ad@ideasonboard.com> In-Reply-To: <20241220-rcar-v4h-vspx-v4-0-7dc1812585ad@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=1210; i=jacopo.mondi+renesas@ideasonboard.com; h=from:subject:message-id; bh=lK5u7GoO16DfjBBchUoOHS4tH8bwdq1LmoJ2QCarCOs=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnZTWVgq14vGDYnLykEx4Ht+k6Zi9tpf/w6J0I6 neMq2l83fmJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2U1lQAKCRByNAaPFqFW PDlOD/9q9uXg2SXfa2SyBn/5GmeQppgZTeqDGMtXQkKstVCl/cpUKP+a/b33W526y72cm04jZDB chBtIVMvv1PFeSGpmBWKNrnBNeLQ0W4MDfuvXsDsZaabDaeGT/3p2m6QwcNAH7CoK/n9jff7R4U 2mZxzxwtCJPYBjKMjjB2pvMGeB8Ccbg+OJa1AJTmzdcxvBKOxsgX6Rv7xn6NoNLto7E8xWgVTMp 6Kd1swbqEXbaCeTzhF2gnSA/IFYICiNoomshG3fltgAVEpyFhS5FYGg0R6y4e2bvfp3RjiO5UMM je1BvLinAq61HZd17cmg+orzxd30156b9/1K47+oDfLnyPU6jv51lrhr+ukgoQ/XBQXY4M3qJDB k5LePMPQkcT5Qzr44hDbzYAgA6I+1T7S1d+5AjaqCgvXMInSrGZPa+5Yp7oh1j3Sb/wTL5aSd85 dP7KzUQDg6Gmrf3HdY1ViTuOUf4QFBtT/IKV3JcnD9p3PXPWsh4MAjyA3MCfh8XDQF9Gg57/z0Q zUJYYgnB52Z6LhKgyg4jw7mydfU4eerQIoYAdZGtqbCM57cDcHpl97M8krTDWoHkDXaGH4pySay Ana/gcn2fx26tLfC4n2dfy6fAAbSvN/DGkRX0ZJkfVhADEXCMxML85NeFZPVQisCmb+ZYYoer15 2P42wOCIG05ULfg== X-Developer-Key: i=jacopo.mondi+renesas@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 Fri Dec 20 09:14:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13916384 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 C94F119F471; Fri, 20 Dec 2024 09:15: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=1734686111; cv=none; b=uhbEpMGS4BtpJqq3dIqqWaaBCnk0K4WFhRYBSAs8/NcJcgGjD42VBSCyiXgrcmfXUmbLeyczIF8xoq8xIVAuo9Ep99KNEZYBjtfU6WQ0Z4vogAiuzhmWY0dFjzrb8x7snlrQtHKzOOB33jLeoE6830na+pVHzXSE3za2a23eraE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734686111; c=relaxed/simple; bh=fUsTrT2Z7MopoDcDkCKFcEfHJwCx9TfBiX6p2baFEVQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KXzI5CcNEM6FOjHp7L1ySaAy+KEO+ESTKDSqSmOj9r4VjLLWYqs9gkdt/WZv7vhOcBLYLCLKAm33EzsGVrleOQRg7TO5uupAAnSLxDr3OrFdnVYT0qnBZ6oPC8ON4m3Egmh4eyp8CWnXyHHbKCEUBidx6u5UdJXxAWN3cZPse68= 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=CZxrJx1I; 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="CZxrJx1I" Received: from [192.168.1.105] (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DA439BC0; Fri, 20 Dec 2024 10:14:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734686065; bh=fUsTrT2Z7MopoDcDkCKFcEfHJwCx9TfBiX6p2baFEVQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=CZxrJx1I5G+O5XdWrzuMMRhiJNT5cY3oiZzrxBhSH4I++ua9rbNAwt35NZjFXNQIq 0gE6rERRFcJLxXqgb7BYs5+nGFkI/50Fg6c2qogx5sRbe5tugvNCs8tp9qYSWlZ8aU VxyNxqcWjUK8kM14fuNZHm1fzTsPQM+RgPCPa4jg= From: Jacopo Mondi Date: Fri, 20 Dec 2024 10:14:39 +0100 Subject: [PATCH v4 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: <20241220-rcar-v4h-vspx-v4-2-7dc1812585ad@ideasonboard.com> References: <20241220-rcar-v4h-vspx-v4-0-7dc1812585ad@ideasonboard.com> In-Reply-To: <20241220-rcar-v4h-vspx-v4-0-7dc1812585ad@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=1431; i=jacopo.mondi+renesas@ideasonboard.com; h=from:subject:message-id; bh=fUsTrT2Z7MopoDcDkCKFcEfHJwCx9TfBiX6p2baFEVQ=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnZTWV0SSSBY6ACPNXX9AKMU0j5tzERmcZrxeiN PI4uJnJ9DqJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2U1lQAKCRByNAaPFqFW PPnGD/4+PAqWYA+dfmA/PMWMFa/m0wFVsfWnd+2/J1ThhnBl8le4Vx/5NLBwPK3GyvBLudEYBj0 5UrG+X6+pNT7T4BbVEFnweOG9baC2pNx4X5VENU3WiZ6zo2AJa91+3Us1sOrEQ+xZc72sJBbv39 6s3F2OJQ5/DXnwWDBxNFkEw+ADzDchDija/7iNbG47xJYUySLpO5olKPUhIO9FTXO/qCP273ZEw gGtrZC9li1yy9MT2G75mPqcJpalIsPGMgs2YhPyTGutvMQbzC032zFAsNncs/HXMjYL0fg02ppQ NcNl4nrjPzehcdtf8SLnwlCEZbj7lQsgX9FcBS0hiYDyTOOagKqLiFfpV/ODdbo73UEEarV7t2d KEq5xxOBwKpc6ocrDrQIxuJuy9Hx1wfL3xiUSVxCvkub5p9ggxbz9JuIl1H+DZAiGXt0+Swm11n 6+vnKALTIv4RLrPPeMydX5oeaiPAmy40CfaJ9ZBJD0L5nXXMohkQZi9UYptT1Skj4eTGMmZarX4 pgirYOEQxfaDiyGyKVOLV2MPvs+nt51DCMMnG6Dt1ukq3D0ds9pf6r3KYv06m3mjmU/PW1YlIDH tYwT60CleoxKHcVqL2ComPqnxP5fdgbw0PV8ZSkapbe+xh4OUe+z2mRoQBedHzpYN64zfa7LdDt Ne/WZ88g4G7AjVA== X-Developer-Key: i=jacopo.mondi+renesas@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 Fri Dec 20 09:14:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13916383 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 8867F1BC07B; Fri, 20 Dec 2024 09:15: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=1734686111; cv=none; b=fxcdYSQL0BlDmEXsR1In2YdWQPDjwNdoyhiZXdxAZTa8zvGAwF+ZyHunfLk9IUpp4SzL/caNIozQ2xBVbS0xO9oEi8wYX2JPkql18XQb7UfTNV4QByO7XbbRM/PyFMe1LZu4DQUpoW8E+CH0fFB6mS0/a4uNdZ5JqcryAyqtRWY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734686111; c=relaxed/simple; bh=2Sq5Imq2PS/4RH09JhccRSoFKlP0plH/izdITySqBIQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VdDZ5c+jerq83LQ/YoslPAozljCIM0CGKjD21yuhvBYgh3RarvI1w/mlqzmU5fRa7cS09pqVCAjle5xnNyyaIGLNYU89ErvAwPwMZhtij9EufqAzy7gB+vqmxxl1fcaM9OBFr+TUhB92CzwFRdXDFtUUs9JRcZY62zvDPnmERww= 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=qp+wP+aI; 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="qp+wP+aI" Received: from [192.168.1.105] (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B172CFEF; Fri, 20 Dec 2024 10:14:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734686066; bh=2Sq5Imq2PS/4RH09JhccRSoFKlP0plH/izdITySqBIQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=qp+wP+aIHrt043CggaZLsdXa6UknTl2bxF5mlH4kJ2n2NujMAueMdwRRT5jwMpcAc Kbm2CeNIzSiaT1+7uNUCh8/OLpLmNK35+FF1ULXf1Xd2cKE6k426qfsF6gWyT63GDY FohlkHTMzcD58isZx4ZFADlXyZy/h2gOZA149O6Q= From: Jacopo Mondi Date: Fri, 20 Dec 2024 10:14:40 +0100 Subject: [PATCH v4 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: <20241220-rcar-v4h-vspx-v4-3-7dc1812585ad@ideasonboard.com> References: <20241220-rcar-v4h-vspx-v4-0-7dc1812585ad@ideasonboard.com> In-Reply-To: <20241220-rcar-v4h-vspx-v4-0-7dc1812585ad@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=1208; i=jacopo.mondi+renesas@ideasonboard.com; h=from:subject:message-id; bh=2Sq5Imq2PS/4RH09JhccRSoFKlP0plH/izdITySqBIQ=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnZTWVmH9G4itnEzjPhq6t5KRVYWvCoHXg64d3Q WpLV9oqTKiJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2U1lQAKCRByNAaPFqFW PPu4D/kBfULaNycgErAe8jKgnYNfsspokrTWSGjv9YmRK+2pswPCvWnaM45PFWpxbf9PdvLRgCJ BskCPCn/5KJKA2bs09a1Lc1LdS28OCOkIyG+ndA0NTfO74DA7riDXPnKsisbiqpBq8soyTiqL8n 0GxNjRX4mKg1uZx8TlrpGFQPeevLdzhwe+h/NgltM5Ga5gLy5HprFZo9+hdG14kOw0AvjTmIhSp bmFNB0GwoJi8wLqT2veixe423HgMAqznUOUUEKtQL2wgmiaf89ylZtqNbla7thFvGNn0JbcAV2P 5xl/Tu0GsDClJ7i1CbZOYLsiMc90JmOq88/XaWViSFxaCaEdknWyFbae4iEHom5dpKIneUnUwaU XhYD8gtVYgBMgrsP9fJQoEurj68ysfCHjxWDH3rE+G1bHmyyVDctjLzKDjF4Ehc1GbG0q5zfBaj kG7ZNIBYSKwY6KU2gpF7TffcLi1yjsD+bI3OYYnWb4iDP28FuZkvZ0bysGvhFMXEHl8BWD641vz h/AZooMioT1BqIORaypub++QF02MCiNjiphIf/QGgXRltDQefPwFYve5Q63C2YIxpMZZNpHGDyR /WWxY2DRHyUhbQfC9AOyg+eFB7REG9q9paNvuZ9kCVMVBAF2JdXziEPHo/HEPNU0HYBwDudzYrY w3D6+750vl3Hhew== X-Developer-Key: i=jacopo.mondi+renesas@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 Fri Dec 20 09:14:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13916385 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 427C017A586; Fri, 20 Dec 2024 09:15:13 +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=1734686115; cv=none; b=r/5QhHZ5p2pcJlbySkmXaOUh/E2Ns6xGaLYX64EkhV3lBYK09BElLbWpaSmu/yHopWjmkaHyVqcYyfdYbsf2EsDcg3pGHKXygl/QeytmDxCcICNpk+xlR/0bksajcWyhxMc4Pvqn/zCfKXhPvFynYRjXehtiN9mUelDEhCQ6XHc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734686115; c=relaxed/simple; bh=E6vaocoSUG7H31Unn/d+CgzkmWBWqP5e63DYvB3I50Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RkpiYRbG6wv6FUeysqL668DE22xpNFePrXVQOcztL2H+i8V8eGDo+JkPVGsuTqbaH741RWJkaoZMxroP225enV5m53NiPbrUePGOfKsem655etqLffb68YrZxmsUutILDQhdXToCwogW5NPgwpZtLDSmCVCM+AiMpKqTzaE1DUw= 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=J600pIkA; 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="J600pIkA" Received: from [192.168.1.105] (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 84F111063; Fri, 20 Dec 2024 10:14:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734686067; bh=E6vaocoSUG7H31Unn/d+CgzkmWBWqP5e63DYvB3I50Y=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=J600pIkAGhBquCyzWJ+uasv+YrywEi3+Ob0jWk8+0Qf4nWP0zWuxLoo1AUtIVgKjo /YGUIHX0a9X6Osh4N3ILbt5WMp8OUR0CFBTQPiORHazPl3wuBpgYG0ARPrSJpAvs5T 27RCPBf9/xiCwblWUJCpL5mT9tBtJu7dTpEvuzxQ= From: Jacopo Mondi Date: Fri, 20 Dec 2024 10:14:41 +0100 Subject: [PATCH v4 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: <20241220-rcar-v4h-vspx-v4-4-7dc1812585ad@ideasonboard.com> References: <20241220-rcar-v4h-vspx-v4-0-7dc1812585ad@ideasonboard.com> In-Reply-To: <20241220-rcar-v4h-vspx-v4-0-7dc1812585ad@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=1580; i=jacopo.mondi+renesas@ideasonboard.com; h=from:subject:message-id; bh=E6vaocoSUG7H31Unn/d+CgzkmWBWqP5e63DYvB3I50Y=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnZTWVR0LoPzjC7OwVcGcWD0ZzgQdgvbIVP3wfj XFrmBneg2uJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2U1lQAKCRByNAaPFqFW PMvZD/9pjqnaddfrEB+x4iouZKU3oThtUrRzRy2eruW//+1wMQxGaVoixOIX8cH4WZzD7KVfJ6F 1iomuVJ1dVRc37HWxggWIFAibrE06dPytHkWKE1fuGFVB+nAGCV2k28xqCDs3D0wN+cHl516Q9o znb7Zn56pxEQFyIDd7HreR/8njxB5945YGrNIQ3ax3JrI1AEbN9kTXbEQIzMze5lKBLrc9TQSwx UORoDlqsBwXpUbAJ2nZDMATm+MP1/qKcPjVWyb8vc6rDCippHxT2qD347s5Rxh9CQo6R9B4Xee1 hYcenFDNxGEn5Wt/S/BaYCE/UXrWRr3+pIkMIaImpH2qFjADN8Yvz4RI691cdL4xcjHSbe0mMZZ fLBhMjE0TEZtVQiOp5SaSyyiiptlvttORX7F9o7WAuUjq7j+aNuutjSmhJBnfplo3w2FAAYXUmL 4rqd/em3Z1Q7wtEKVjJjjas+lQG5QBTYWlIHlIPoHlgdq1vkQE+9kVOIWXOr/OoQePgrJi/eQFI cqvErL7PJvE/uiCR3qU97+4+vOG3TEYF8GmnN3uYmUG2QkPSBcY5238+yBBNzE+JykGicYsE7iM Qa0/RMzcGdXLTF9iyEcKaZbpMjYZnC4GpiHy29xQHCfqCk1bINQlLu92mWyqlzYN03nhuytLLxB mQ327QqcGY4oOAg== X-Developer-Key: i=jacopo.mondi+renesas@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>;