From patchwork Tue Dec 17 17:53:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13912345 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 D3C531F8EF8; Tue, 17 Dec 2024 17:53:53 +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=1734458035; cv=none; b=u7CW78JoPb2EZb367Q1ch0DZdZie38D/TW5mc5nRVtx8nOlMPvn5kzKY2rW8iB6dsHx9WzMabUGTkbwkw4p0ynTZka/uSc2nQii6ArBaYRzERAH6SdyuIsOog3LHY1KKI3QZAUd4FIO1OR63M3YYi9CyTmNJzvjM50XHdg2SGxc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734458035; c=relaxed/simple; bh=rji7fuJ+nfU15UTSB6vLVG140Qi+CGv4QLziZBZ09iE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=I24QsT6hytq2XmZYasNjBACIWbPjPu0vr2Qpd7XiZDDBtFjFU2O0CaGwWugchVGnUfEkrm9D/s6I0b6CudCKfTf4hckduAHtL+nTDRBdiQQz/fn7U/RN0iriuszmK1WH0UKaLqGCFEOvV12G6HVL5D6FVGd3wc38jh3RfIfdtbU= 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=K0G36yCh; 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="K0G36yCh" 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 49D063E; Tue, 17 Dec 2024 18:53:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734457994; bh=rji7fuJ+nfU15UTSB6vLVG140Qi+CGv4QLziZBZ09iE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=K0G36yChFTe/59yVz7gEmacwuEjfd3iMHocqCqYmMODU3r3yp/xV2a6HsB9Zejbt3 27nBH8NtGIQMAxXg68PbT5BGUD10eVu3tmVUQGGGj20I6IlFHiLG47Ydnm9VaY9dk0 r/JQWEeCGuaMUc4tqk6GK6GUXb4/Y2O+X+m8t6Eg= From: Jacopo Mondi Date: Tue, 17 Dec 2024 18:53:14 +0100 Subject: [PATCH 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: <20241217-rcar-v4h-vspx-v1-1-de04ea044ed4@ideasonboard.com> References: <20241217-rcar-v4h-vspx-v1-0-de04ea044ed4@ideasonboard.com> In-Reply-To: <20241217-rcar-v4h-vspx-v1-0-de04ea044ed4@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 X-Mailer: b4 0.15-dev-dedf8 X-Developer-Signature: v=1; a=openpgp-sha256; l=993; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=rji7fuJ+nfU15UTSB6vLVG140Qi+CGv4QLziZBZ09iE=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnYbqtKHF/Sc1gvQcdRJxKP56ly07N2z7q+SkOE prT5q89DcaJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2G6rQAKCRByNAaPFqFW PCD5D/9TMaIQrG3n/8GLxon3ylJGWSKcmFr8A0mR0uxsnH3Rs8wZS09nazMgcFvNoBSdJ9C01UN o1+HS7kAXiJYzxAlR9xdQn/oqyns1kiyifpuSu+m6GpyfdpW41nACohDDLqWLo6Jpt+HrrTQ773 G8Zu9JmgrCPGbneRp4gocfdysy08k9CZQKXdQ6X7qEIZXUlBNsLXELP0ZN+1MC0DEXT3diRGEuU wSMHngtM8NMPb2Z5cLGVTZy+8A7xzsOxSnXfTcoxyqS7kCYF46G8ffleRTZ3Ows/KQn0Y8AqMVH ItbVGWsy+Jt5Xm0zWj0mYb4p3Uqa9wEpV4B0o/w6IxqvirIEKggFA5lJmxKgDwL50Px/1bCTs5W RIh0EGqNqg2TlmCjdQ7lD0rDMCKRdaOPpAOTIg83CT8QDdVgQybfsuODE0MWiD++OIKuQwIPsNe cmghKTmeZcO/f+nGqpxB3jA4AZ8hhB5yXBLqG8MREhX/8vKKQtsLQyBQDpXL1B3t4kfu+xfy8GL JQrZwFCrjfP3lmQBhTDZ/2/LigqLmxB4juCNnmEc+BV1lQpc8WPhX6V+/arx6LADgB4G3mSbgvD 7IjV1rwUgrzm/PPOzxfpn6WEj+mLzPUGwUn1IHDtBeYOK/qhVsgaJki9WRpKo+v/ymP/lJb56Zk AX7GI555sEBMItQ== X-Developer-Key: i=jacopo.mondi@ideasonboard.com; a=openpgp; fpr=72392EDC88144A65C701EA9BA5826A2587AD026B Add the FCPVX modules clock for Renesas R-Car V4H (R8A779G0) SoC. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- 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 Tue Dec 17 17:53:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13912347 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 18B481F9A8B; Tue, 17 Dec 2024 17:53:56 +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=1734458038; cv=none; b=I+0synpmeNoBfBAQ5cextweCeIyt69vXcyIY6QCRmt0B+hebzcncS06QfyaCX30lTAeB2ILpHovCE0eVzLqh0b8p4HzO0igLP6C1bZZKRnO/DWpcSNgCRHU2Z0e86IjeNpXYxqvwS7lqhZyshtsT32XboQdc0nseUb9oqhc/DkQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734458038; c=relaxed/simple; bh=GMzWBHeGcD9J5izmTRoDvhnE+R9kX0u3q2A9Z/gATgM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jcuyoEMRdEYiRog6488xPFOt61PxsNgWCRLLRu3QpzuAc3cQZdV/DPyD2gkll26vkRXaXLZNdJ2ZCyneRJX57XwiQu5GHOrH5wKmMInwBcuSn/1bvbcv7DQaQZ/M3sJ6hWQindnj15xHAbETq8xqLTKDnBO4V2C/0RvKBbmkHOM= 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=nhS+v+/U; 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="nhS+v+/U" 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 2090F778; Tue, 17 Dec 2024 18:53:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734457995; bh=GMzWBHeGcD9J5izmTRoDvhnE+R9kX0u3q2A9Z/gATgM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=nhS+v+/UKgUXCMg4VIrcIgTORvzzLudzkXsUhd1wHrZKFgONt2I5mPrJG1SiMuwgT 6fkztYsyyhyY3wuF7tkerK9LPMWBjExHVjGOWa3wvNCmds1Utn7KeUFFFQEw8UyFoX z3IvmRX7r0MPzD82eQ0iLhlZr1mGi1Fw3N1E5VjQ= From: Jacopo Mondi Date: Tue, 17 Dec 2024 18:53:15 +0100 Subject: [PATCH 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: <20241217-rcar-v4h-vspx-v1-2-de04ea044ed4@ideasonboard.com> References: <20241217-rcar-v4h-vspx-v1-0-de04ea044ed4@ideasonboard.com> In-Reply-To: <20241217-rcar-v4h-vspx-v1-0-de04ea044ed4@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 X-Mailer: b4 0.15-dev-dedf8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1239; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=GMzWBHeGcD9J5izmTRoDvhnE+R9kX0u3q2A9Z/gATgM=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnYbqu6EJVRpQzKjeFYNSsX7Ot+jt7ZZtEWQIh7 nzphaH1Z2yJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2G6rgAKCRByNAaPFqFW PForEACbTnV2gDTtbM+oTx+jRSNVj/BEUjGxBOLm9wblkBQwl9uqLsPCQbi4vjrN2k4IBMRRAdl dzFMax+Mp8WYw0ayyEgq3r0yeL+YT5lG0/2jqZzemJQ5Mk81kndvJzkhN4Z2u+jYI5qrRfKxnsF dG98T73E6ig7+EW5GCRr88qIJaGrrJUI6yZdR8/DhK7PuhETos6XuFyqsXf1DBoAVJQm1dw9p9n w/qE1FoPLYsnbK1/HZdYfSMbfYHNBtuhbPPESh4rwMBS8kJBRYLra7VblA0z4tXwuKam1E0swOV 6DUPuFPLQmF3Tc9NvHx16GGicxbN+SHrMW+z4xS2Up00AQsAkyqiWTQlewpWS+ecVtcOljJ8zKu TfqjTjaPHT21RRrVklwwTsOe2oR2KCRMpriWKdULtkactbc37vg8pXua01BYMb415mHUpY8BPe6 wmxilo6/n6udLgdVAsfLjP5bkpSnR/SjfacniOpqJqqYC6XCpymIHIqt9Hk5yVSH81UWSd89/Nn 5rTtaiHjV+SNK1U2hkPYirHzkVhwTPblIeZnkBIEcBWpENrOPRg5mEymEF3u79lfFdXu0emJ2JU GvzyL1HE7WjsGgjQTBSnxhDVcmbWxqjox1ptnSay7cqb9FuzF5Wi6mqEtjKMcXkbdRzsOD6IBPm u2oAyunfobiBNqQ== 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. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- 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..e49748563e2f5706ed982d6c9cc1df59f27bd0dc 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi @@ -2171,6 +2171,24 @@ fcpvd1: fcp@fea11000 { iommus = <&ipmmu_vi1 7>; }; + 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>; + }; + vspd0: vsp@fea20000 { compatible = "renesas,vsp2"; reg = <0 0xfea20000 0 0x7000>; From patchwork Tue Dec 17 17:53:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13912346 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 056ED1F9A83; Tue, 17 Dec 2024 17:53:57 +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=1734458038; cv=none; b=bX8Ykg68Kx1laLWt/6sy1BGD+cneLBI4BKykIVleLUcRoGPOoA8bd4YGyqx4CBI197Ti94ryj3IjjuGZikYEW3cw3DQGriSaHPAF2hWkeGuQip3/+YPogsiKEpFuRTFhsGKho3MxHX7+i/OcORuiwm6cp3bLdotGZDNeo1i5gAY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734458038; c=relaxed/simple; bh=47uARPAw80tvF1+ZK0PdCRdSA/b9LAZJvEH1qEnCqdo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=D22f7/dxd7U8o7+iVW4Lvt2Qh7OYZZnbOzg670xFwferU7haYtv2+wS125Y/HFLey3F4yBFhXt9Z24YVk3DuHeW3X6SnIgb0wcrKq5Cagch6Ebc5vl5lKYRXNQlFnlVm7qgiy4pEspnTxeIb5jhkb4MkLy1RdF9DBxD9es4TxUw= 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=W2tGqo9R; 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="W2tGqo9R" 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 EA4A67E1; Tue, 17 Dec 2024 18:53:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734457996; bh=47uARPAw80tvF1+ZK0PdCRdSA/b9LAZJvEH1qEnCqdo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=W2tGqo9RzMa/Ly9BtwFGrzYB9680RJKuRsfQTBR1BBw9/6KAmqGHbmikCjtxYr7dU 3spj0eCSF6D0FeOORcHomXBnqnwGX2sNH6lctmyd3FKE9x24FK5CivxWHOOkcPIKW9 w/xY+7mmKF1Xf3cSZKJCoMsytcc4SmO3l0Nh3CRk= From: Jacopo Mondi Date: Tue, 17 Dec 2024 18:53:16 +0100 Subject: [PATCH 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: <20241217-rcar-v4h-vspx-v1-3-de04ea044ed4@ideasonboard.com> References: <20241217-rcar-v4h-vspx-v1-0-de04ea044ed4@ideasonboard.com> In-Reply-To: <20241217-rcar-v4h-vspx-v1-0-de04ea044ed4@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 X-Mailer: b4 0.15-dev-dedf8 X-Developer-Signature: v=1; a=openpgp-sha256; l=993; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=47uARPAw80tvF1+ZK0PdCRdSA/b9LAZJvEH1qEnCqdo=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnYbquRJj6uHuzO+mUeAOsF41VGePspI5z/fcJS p1Pcepg4CqJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2G6rgAKCRByNAaPFqFW PCXmEACjS9z61Pa0Rqwy3Nyo6DFYKnVLOkeoIF3nZbFeaOHguroMJ8xIK2QP630lh1p1Mu43jdc SgpqYV50t52iBYFicCxTy4ra8v8R9pfH8DxpmZ8nKlxfcJ25gQ/V3lgYm91Fkka4Qer4an7tozk +Wie6ekeksmgIRBg+I8rLER8lQtHaEdDlssxlrGTGxWrhhmavwKM7hU543DP57uOpzGx0LcxD8F nIQbem8iWN3IjGnNegiPdnRQmzPaJumaKLkZcSmUSWrZRsAlntPIK0AVHgTqJXJShRToxbbsBc0 ilZSTC2y1JuI7/GHpQNt+zWgHZle7xv/x1XIp2H4IxvWI3VMBfTeRKusmBIcYl2cImcO33sAzGa d5I2htJ0q75Xu501X3MFbqNkWj5ZJRptWD3d6qk23WDorxYlUchmC9a6HBCFJ+LGV5bKfyDXfr+ TsZzx3qcas/ILPIOYYi71uB99waAaNAcXrS0nwDNvsNOZbpWGj36wfgbrd70TYzNCJu1W1ZX4Fk higyh808aX5u3rkkek6JnoVUo32OD5y1/0vDegxOn+fD/rhwK/7okXjH749Bo03BrHsDrFwchLt PJ31BmIr/qcBqxywd2gqNJq6BF9k1IIJoRluW5Bt5fd4cjsGnlGZfbjSS/GNEE35ZxRIaozup8K GPeqj+MCoO3Jedw== X-Developer-Key: i=jacopo.mondi@ideasonboard.com; a=openpgp; fpr=72392EDC88144A65C701EA9BA5826A2587AD026B Add the VSPX modules clock for Renesas R-Car V4H (R8A779G0) SoC. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- 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 Tue Dec 17 17:53:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 13912348 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 416751F9F5F; Tue, 17 Dec 2024 17:54:00 +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=1734458041; cv=none; b=gnH76Y1otA6uCxK7y7Kohc5lnN5jszZKdRXSbi+OpGR/H5GvdtV4zhomeBmWwHyoNtX2Nicoh2XxtM/xQz15TDw96UsjioDF2XqyPCbdlyR0MaSWAy3U1aot/zXDpaSkLJBALJoKpVaqySTmnGJl1kdM3ILad69M3EoHBJMEo2I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734458041; c=relaxed/simple; bh=mo9HZf0+C76zOe6oEAVBZ4C3Ezowqaf2EVu2kE+TSVE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WbkrRnT0Ok3Ukv+JPhDz87AUoI8rNw92Tj0McZ53VtELw/QNy+U4PZxqHMLLfu1uF8FKQeSzys8h2viwnYgKWy33gIJftqQboPMLYusgcI9QI5lJrCby5miHxPczCbOdRN/m0ESb5ATEBLVnG7qFTdtok3zd3chN+lY1Qf0QkyM= 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=RlrSPaKB; 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="RlrSPaKB" 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 BF3D880A; Tue, 17 Dec 2024 18:53:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734457997; bh=mo9HZf0+C76zOe6oEAVBZ4C3Ezowqaf2EVu2kE+TSVE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=RlrSPaKB7xQw3eViZlQPX23wygkYi7LLxyo4+SACb1fvcHW6xg7PEWHE5dcVz5fhp cmOSJqs5dje3WCUaYsTtZf7bQsgxRoRWZ4Kj5jp8JcD2Eph66GZKTPZkcCE5B3sFuS nLws/BJi+2lCpgp1j+obDN81rC321PDIoW1cCk0k= From: Jacopo Mondi Date: Tue, 17 Dec 2024 18:53:17 +0100 Subject: [PATCH 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: <20241217-rcar-v4h-vspx-v1-4-de04ea044ed4@ideasonboard.com> References: <20241217-rcar-v4h-vspx-v1-0-de04ea044ed4@ideasonboard.com> In-Reply-To: <20241217-rcar-v4h-vspx-v1-0-de04ea044ed4@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 X-Mailer: b4 0.15-dev-dedf8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1360; i=jacopo.mondi@ideasonboard.com; h=from:subject:message-id; bh=mo9HZf0+C76zOe6oEAVBZ4C3Ezowqaf2EVu2kE+TSVE=; b=owEBbQKS/ZANAwAIAXI0Bo8WoVY8AcsmYgBnYbqu6W2YHmBqQ3mu3qmHNWDRhRCKrpBci5Dgg 7m/nHz0eIGJAjMEAAEIAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCZ2G6rgAKCRByNAaPFqFW PEMfD/9mLCh5r8eJ90x/tCZWpcX8YMqUa3GcdTTTvdidvqL3MAAtXfGgDxubRh7NMPTJVVOcWo/ IFsAAyDHDJy8iUQ8O/Hc9f6b6lVk1/HyiR5B7wHN9KYmse0ijhVLJktyMaJUF3sb3bas5I8tX4H uMbehJT0m09w2Y6y+zgGGNwUyTLLil4aA1zt8qbWEDiUs5hTEV7tmuvXoOf6FT7M5mHNG2MNBNn 64uI0U8t4UW+LaHu3MtdzWM9CAAjOLWAgd04DEwNFLp4gb7GLGIbtJyUHCvz+x+e8bjECEcBnKK j/UE1VWYek22tCPbH574y2gblJLDF98cX/HXjo2rS8fHhYdITbbLqtOd5L185n3AtB64GHOm6fm pUsdUqg3nqlijKCGHF8+Mzw0Ialy4/w+xkzcNc5TDT05ZZRBn0ie9wYMkvmNT8bTSRSOO8gBIuF LgIkAWwIbdYY3fni7FHsPW2+P99QweDJZ+woyw1Xf61EaCXbFHNFQSAeaqareA4kW6nMwsulVVd 7mRUQg6scwK9pzKLLFy39ALC5k93ZzAXyMIMwXFcgNCox+18NqCQ6KoGKN2E/yVzbUUj+gPlJus bLSFxNheZGAXOUVHuMvIXB5gZklYKWbXPrvujKFldQz6sWjf9J1fjv1V9GX74v4bDdslPzRsLaX sqRnI8aPjLc7+Uw== 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. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- 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 e49748563e2f5706ed982d6c9cc1df59f27bd0dc..bf4ec5fb7bbdba55e2994f332fcbd623839079c2 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi @@ -2211,6 +2211,28 @@ vspd1: vsp@fea28000 { renesas,fcp = <&fcpvd1>; }; + 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>; + }; + du: display@feb00000 { compatible = "renesas,du-r8a779g0"; reg = <0 0xfeb00000 0 0x40000>;