From nobody Wed Dec 17 08:56:20 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C0797219E4; Mon, 12 May 2025 13:48:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747057708; cv=none; b=EYNExIgEIFLoS/PKrV2Qh/0TurCI7KY5DlcSKgKhW789irAXEmTJkK2tF/5QGrYQdcGtaSfnp1wBlXIl+NHPCJbr7zg4oEDsoyp5DmIigzFiwdX4NMBnmZFoBsYVGbjK2Q3+60zDsue3gg4ux8Y6FuEk4OTD09E/oa/8bUYz9uM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747057708; c=relaxed/simple; bh=2eyQSXPPXqrOE9DTVZr2ptWdA53fkPCZ6kBRgliB/0Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZHud/BV4BSvcrLVde1iTg6IsqMifyFPVZcSkR5wCm6KF6AMM2JwjVgHJLy6q7dU4dm3QuJuA7ohfG5s9qzewO9cXlOa+HViuSyAyM3VZPhLpZIDdnWLrkOAB8JggmAYPG3n0mXXgjcdm9j0ccnE4GZQqllQmZ0ptw8A1dldMid4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tVXfo23Z; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tVXfo23Z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E428DC4CEEE; Mon, 12 May 2025 13:48:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1747057708; bh=2eyQSXPPXqrOE9DTVZr2ptWdA53fkPCZ6kBRgliB/0Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tVXfo23Z4KQVo8PSPZGABI8ItdK6NoPcZqmnretJ8YaxmOpzIUkC51mIZFSG6Qyol j4qTj2qjATwiOveKyUsVqsXpkVnbCQ8EM6H7G5I0H47r+HEVdLgYT5v4E/JEPMBQEC +gMF/IPOo+qvJ3lXkX8RpqSnoykk5u3ATGopac5U23vAuYOPgHZjNz6pWs2UHFzbNG aROjXfOkz+4L5BUif9Ot+HEDCtEQ7qJps84eZg0zI++YxI6HR2hyjIeW3P+3bU0YX7 s2J8yRaP4AtAQpQzrCpkW9VNCQOnxf6EZG5jGRG0VhnSPJmdNG1Z/RMrINvORxcej7 ADhCJFpi9syvQ== From: Conor Dooley To: linux-renesas-soc@vger.kernel.org Cc: conor@kernel.org, Conor Dooley , Ben Zong-You Xie , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Lad Prabhakar , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v2 1/2] dt-bindings: cache: add specific RZ/Five compatible to ax45mp Date: Mon, 12 May 2025 14:48:14 +0100 Message-ID: <20250512-sevenfold-yeah-d40078a9249e@spud> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250512-daily-saga-36a3a017dd42@spud> References: <20250512-daily-saga-36a3a017dd42@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1589; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=sAzgf7QxM5pm09G0aavl/SdXDXsl+gJHEI1v9VqIti0=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDBmKf2Q7hCKrzzsZZgrs/jlntf5Jzra9E36WtH2d67zg8 amr6/aXdpSyMIhxMMiKKbIk3u5rkVr/x2WHc89bmDmsTCBDGLg4BWAi1eUM/6zCA2cp/oxkK4ha vf33pf9Xk3+dW7pi9/sNrVejP1VkuJgzMny5p7x3xcHUmt+Nh6cemOFoaRWo9Ex4U4/NhKaK24t WXOcFAA== X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Conor Dooley When the binding was originally written, it was assumed that all ax45mp-caches had the same properties etc. This has turned out to be incorrect, as the QiLai SoC has a different number of cache-sets. Add a specific compatible for the RZ/Five for property enforcement and in case there turns out to be additional differences between these implementations of the cache controller. Acked-by: Ben Zong-You Xie Signed-off-by: Conor Dooley Reviewed-by: Geert Uytterhoeven Reviewed-by: Lad Prabhakar --- .../devicetree/bindings/cache/andestech,ax45mp-cache.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache= .yaml b/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml index d2cbe49f4e15f..82668d327344e 100644 --- a/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml +++ b/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml @@ -28,6 +28,7 @@ select: properties: compatible: items: + - const: renesas,r9a07g043f-ax45mp-cache - const: andestech,ax45mp-cache - const: cache =20 @@ -70,7 +71,8 @@ examples: #include =20 cache-controller@13400000 { - compatible =3D "andestech,ax45mp-cache", "cache"; + compatible =3D "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45m= p-cache", + "cache"; reg =3D <0x13400000 0x100000>; interrupts =3D <508 IRQ_TYPE_LEVEL_HIGH>; cache-line-size =3D <64>; --=20 2.45.2 From nobody Wed Dec 17 08:56:20 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 33CD7219E4; Mon, 12 May 2025 13:48:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747057713; cv=none; b=R7nPNwtjpL8y/jk2QxUc5m1A6BcREiYeSaEZVD52iJtMV9h8OTFY6oOO6inAYslB2D5ywLWJWPN0017V10xujZcaRg11679u6+wGmA0zJg00m9GQPd3gOLtImP0pmJGvc5b/RWMnU3NAtFC4rcP4sbpAIGOzv2rLdCowoCtBjE0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747057713; c=relaxed/simple; bh=ZtcN5AbkC6JRxscSzpTZ6yhbH1um53//UF1LbMyQjx8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=F5wA7IQiXy9J6+dNfYOU1qlTFVVGVC3Oj/JN/6k4VJWTt9AWilsrhVfAExdxCNXGBqlM5jtQ+tMJy77P6f/o0oH1fT1EkJJFyz8KNN+4hNOClT3/obUx0sfaiVbeu9Hfm/QxCUplprqARnfzousgSGKGBSsGv71TDovNWNXfyZQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dVcbS+6a; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dVcbS+6a" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BA2BC4CEEF; Mon, 12 May 2025 13:48:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1747057711; bh=ZtcN5AbkC6JRxscSzpTZ6yhbH1um53//UF1LbMyQjx8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dVcbS+6a89aPGN7YF1tPHEst6vPTmCaJEw3geIxrbuxAZY7qMMT6GEQHe2sm98oCn CmAdmkp5b5Y6ykcZrLjp6rKhEXOofLIuIs+L1HBAK9n5qmvok9JYtK4uucb3luySvX xenRAyO7edwT+3OD6NOxtRm1iyhdvKeUsBGr2NAgqOEGE5CNROG+5FpxA1L/E9xc4M hjUy5cP4/jXoVcCFcoYKSZnI6y3E9SpGJ0Zz5S5X2AuTbQ8CQ7pVtzsTMyg0H4dXc/ c/YM3/oV4skQ38V57vibpr2kW3XX/6trfXQAEBdPQGrNhKu1fXSvZ8Elv5Y0dOjM76 OhM+/+O1Kiw7g== From: Conor Dooley To: linux-renesas-soc@vger.kernel.org Cc: conor@kernel.org, Conor Dooley , Ben Zong-You Xie , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Lad Prabhakar , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v2 2/2] riscv: dts: renesas: add specific RZ/Five cache compatible Date: Mon, 12 May 2025 14:48:15 +0100 Message-ID: <20250512-sphere-plenty-8ce4cd772745@spud> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250512-daily-saga-36a3a017dd42@spud> References: <20250512-daily-saga-36a3a017dd42@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1260; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=ybCPqZEqw4uWvO05OQd8ua1QcdWR7/7pRvsx7RcK7bg=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDBmKf2QnyJscNLaJb6tofyZ/7prgnseHPl9o4bW49FpbY Tn72WrpjlIWBjEOBlkxRZbE230tUuv/uOxw7nkLM4eVCWQIAxenAEzkWBDDX5FTBssymqYJrnuS 997tyvr+/fHndz+JcrBd4LfqYsKPLA6GfzorrtV+q2jR4S5c5nZoPueNJxoan99dPskQufvrvkn 2l1kB X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Conor Dooley When the binding was originally written, it was assumed that all ax45mp-caches had the same properties etc. This has turned out to be incorrect, as the QiLai SoC has a different number of cache-sets. Add a specific compatible for the RZ/Five for property enforcement and in case there turns out to be additional differences between these implementations of the cache controller. Acked-by: Ben Zong-You Xie Signed-off-by: Conor Dooley Reviewed-by: Geert Uytterhoeven Reviewed-by: Lad Prabhakar --- arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi b/arch/riscv/boot/= dts/renesas/r9a07g043f.dtsi index e0ddf8f602c79..a8bcb26f42700 100644 --- a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +++ b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi @@ -143,7 +143,8 @@ plic: interrupt-controller@12c00000 { }; =20 l2cache: cache-controller@13400000 { - compatible =3D "andestech,ax45mp-cache", "cache"; + compatible =3D "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cach= e", + "cache"; reg =3D <0x0 0x13400000 0x0 0x100000>; interrupts =3D ; cache-size =3D <0x40000>; --=20 2.45.2