[PATCH] ARM: dts: en7523: add missing cache properties

Krzysztof Kozlowski posted 1 patch 1 year, 5 months ago
arch/arm/boot/dts/en7523.dtsi | 2 ++
1 file changed, 2 insertions(+)
[PATCH] ARM: dts: en7523: add missing cache properties
Posted by Krzysztof Kozlowski 1 year, 5 months ago
As all level 2 and level 3 caches are unified, add required
cache-unified and cache-level properties to fix warnings like:

  en7523-evb.dtb: l2-cache0: 'cache-level' is a required property
  en7523-evb.dtb: l2-cache0: 'cache-unified' is a required property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/en7523.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/en7523.dtsi b/arch/arm/boot/dts/en7523.dtsi
index 7f839331a777..b523a868c4ad 100644
--- a/arch/arm/boot/dts/en7523.dtsi
+++ b/arch/arm/boot/dts/en7523.dtsi
@@ -81,6 +81,8 @@ cpu1: cpu@1 {
 
 		L2_0: l2-cache0 {
 			compatible = "cache";
+			cache-level = <2>;
+			cache-unified;
 		};
 	};
 
-- 
2.34.1
Re: [PATCH] ARM: dts: en7523: add missing cache properties
Posted by Krzysztof Kozlowski 1 year, 4 months ago
On Sun, 23 Apr 2023 17:08:24 +0200, Krzysztof Kozlowski wrote:
> As all level 2 and level 3 caches are unified, add required
> cache-unified and cache-level properties to fix warnings like:
> 
>   en7523-evb.dtb: l2-cache0: 'cache-level' is a required property
>   en7523-evb.dtb: l2-cache0: 'cache-unified' is a required property
> 
> 
> [...]

Applied, thanks!

Please let me know if this should go through any other tree.

[1/1] ARM: dts: en7523: add missing cache properties
      https://git.kernel.org/krzk/linux-dt/c/21f475946d89911e31bccd02f8a7ce40b8f52a70

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Re: [PATCH] ARM: dts: en7523: add missing cache properties
Posted by Alexandre Mergnat 1 year, 4 months ago
On 23/04/2023 17:08, Krzysztof Kozlowski wrote:
> As all level 2 and level 3 caches are unified, add required
> cache-unified and cache-level properties to fix warnings like:
> 
>    en7523-evb.dtb: l2-cache0: 'cache-level' is a required property
>    en7523-evb.dtb: l2-cache0: 'cache-unified' is a required property
> 
> Signed-off-by: Krzysztof Kozlowski<krzysztof.kozlowski@linaro.org>

Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>

Regards,
Alexandre