From nobody Wed Dec 17 08:55:09 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 621602248B5; Fri, 9 May 2025 15:38:58 +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=1746805138; cv=none; b=AaZpOZAqvBVy1BHPkU0iwXzKCfWF7xptxajx+ZhgOu8aVy2At6QpauJuhrV70R0M56EkswqNXR5cBZOeIcikujcvZoeTMHwOC1WMXAte842EqQlP7wscquNjfxMnmyesF8RsXfOLwCd0Pr4MZie06V9Jb8UMWrUJkX0oJgfeWh0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746805138; c=relaxed/simple; bh=Ey0N8Z8WV5ad3C3x2v/kBHdAy3SvzAdEV7ZQGrD+8OE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WDgiYDYJP54MJzPSbARg5SHJz5MF0mC10iJJ4Gr/FnCFUwXeBxiLoC9Km/HzPTQuK1WUI/8EpIdg7I7SBKX850F7i7oyRlZnyVsgEZixmtqCD+7cG20+jFWqd4zdFpLUrtyVCTxD2n/kkM+tufT+0ujP2c9ZrIb5OhUQf7YztOc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NvZYkXrF; 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="NvZYkXrF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F2B1C4CEE4; Fri, 9 May 2025 15:38:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1746805137; bh=Ey0N8Z8WV5ad3C3x2v/kBHdAy3SvzAdEV7ZQGrD+8OE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NvZYkXrFNWb6IqCX1Qd+VfPGkRiIRPXfEgsn+iCWIM3hf665Y7+0UYpAYVWtHKBzB JcvguNmuM6E7082wJquFAhjGTNuF3iBYAlOqyHgB+KlqmilDTQeh9yVF13z1HK+53u D6Pk8ZZzFGN+8OjrvfapKt4koYRXBuHM2DKUQhCUBgJx9Dohou6VXGxyDfqXgYUW2z V4JB/EZkL9nUERvpsuIKHnNPT8X87Z3NDrv/hQNSZ2gprp4CdOzCMg1ZK3TRsOHiPV Orf4Fqea+6B9TFsv44mFmBLeRK/CNNCRNFMQ/zQCSrViG3Am/hX7YFlBqfO7fWOFmT IOnO4mJjYAmxQ== 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 v1 1/2] dt-bindings: cache: add specific RZ/Five compatible to ax45mp Date: Fri, 9 May 2025 16:37:57 +0100 Message-ID: <20250509-dwindle-remold-98b3d03d0631@spud> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250509-sapling-exhale-72815a023ac1@spud> References: <20250509-sapling-exhale-72815a023ac1@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=1501; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=Rk7A7eX4TNNlV+Xu3RQLEr/u+InzTSKghNzmZBA2UQs=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDBlyiiGS0+TcuiVcdQ9dy3Ltmbms6efl6XrmyobW6WHHt SYu3r2uo5SFQYyDQVZMkSXxdl+L1Po/Ljuce97CzGFlAhnCwMUpABPhkWP4n80T+nvfH+HDT1aG /nl4UbY5U0iu7toCJ75VjVKnb1uIvmD4zeL7t7ta0kxPn+/vhf1WdpURc0XX6uTwLZn2k+Xr28f 8XAA= 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. Signed-off-by: Conor Dooley Acked-by: Ben Zong-You Xie --- .../devicetree/bindings/cache/andestech,ax45mp-cache.yaml | 3 ++- 1 file changed, 2 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..f533bd178a9f6 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-cache - const: andestech,ax45mp-cache - const: cache =20 @@ -70,7 +71,7 @@ examples: #include =20 cache-controller@13400000 { - compatible =3D "andestech,ax45mp-cache", "cache"; + compatible =3D "renesas,r9a07g043f-cache", "andestech,ax45mp-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:55:09 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 976ED136672; Fri, 9 May 2025 15:39: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=1746805172; cv=none; b=mo1vxRKQbOOphxU6iCCXpEed7/KBBLNclRDZfjektKsh/Zqbbg7a/r+HdR+bodNuc7cOcUlpS1rizk+B2aPzyUvnGdcxkjB5glYRWQL01tI3EWdh0KUvG44BSa7uu8Dw5f0U4PK3NmSWscXusGrH3x+iq5GyXEOtyzQeYdepg0M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746805172; c=relaxed/simple; bh=h35KYhyDIY5FYpoH0z1DlbM6R9T4ekv/dXpUMKacj7c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qx5QE1IGG+e1rVSv6G7OCeDqnZAxamM9uLWIlifNGajZT+IQuFd6fxrWOZr5zvG+sv7vYT8PJr+qW+OSKdHoPG21vPyUCPV+byQp05NFxJeOCJbodLCKGkkGnZYMJFa/WbDoVLtPd1Tuxwd+9nmwISKuFRGJRMHAlAGVNdhAnCY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=meSdd+cQ; 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="meSdd+cQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3CE8C4CEE4; Fri, 9 May 2025 15:39:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1746805171; bh=h35KYhyDIY5FYpoH0z1DlbM6R9T4ekv/dXpUMKacj7c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=meSdd+cQkAcZMRTu/XE5E9PC5QCOgy4oI2z0NCbqt89fIE/gZbnMkd0Zw/jbXO9Qj nWH9PWj3OTf8KbvTBCnXnpJw50jcjl1OlhtHbHTqdMo8pViaBBdT3xuIhxqUWE2MOf TjBxgsWGx6kB11wgPls+veS+qTTdaaGxURCTw4BCzDwKt7V2Aj0JvJJlbsuIn/M4Oo tRzTYCAVVls9vUlMMzw2GN+CAaKDq/a929hBst+U2+wfwG60EJ1htnOqOLI1EoRfoD sjnkWPhuew0yyZ130ZelHWGnQNyCsRfI4uOPc4EcnFWAUU1pDwZzOxphCozb9fyOkR aaXJNbVf8bt7w== 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 v1 2/2] riscv: dts: renesas: add specific RZ/Five cache compatible Date: Fri, 9 May 2025 16:37:59 +0100 Message-ID: <20250509-mantra-trickery-56f699596346@spud> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250509-sapling-exhale-72815a023ac1@spud> References: <20250509-sapling-exhale-72815a023ac1@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=1190; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=VAAp3Lqucp6m4bL2Y2Prj3TWCfZjW9uhGkbCvekmR9Y=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDBlyiqFHm4XeKr7gPH9WNImJWzb92b/l70VeO2W5hrbuW 6B7ulmjo5SFQYyDQVZMkSXxdl+L1Po/Ljuce97CzGFlAhnCwMUpABOJusHwV+5u25LDDZ6sHx3y klT3ydy9+8Y74L6kjX7Y2t8zFW5L7GH4H8n/7XzO5kjn+U8n/CueGbTjTOMTdx19r+64Y0Kr2lf mMQIA 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. Signed-off-by: Conor Dooley Acked-by: Ben Zong-You Xie --- arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi b/arch/riscv/boot/= dts/renesas/r9a07g043f.dtsi index e0ddf8f602c79..66c6fe0cd162f 100644 --- a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +++ b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi @@ -143,7 +143,7 @@ plic: interrupt-controller@12c00000 { }; =20 l2cache: cache-controller@13400000 { - compatible =3D "andestech,ax45mp-cache", "cache"; + compatible =3D "renesas,r9a07g043f-cache", "andestech,ax45mp-cache", "ca= che"; reg =3D <0x0 0x13400000 0x0 0x100000>; interrupts =3D ; cache-size =3D <0x40000>; --=20 2.45.2