Skip to contentSkip to conversation

ARM: dts: hisilicon: Align L2 cache-controller nodename with dtschema

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Jun 26, 2020 – Jul 21, 2020 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: hisilicon: Align L2 cache-controller nodename with dtschema

Fix dtschema validator warnings like:

    l2-cache: $nodename:0: 'l2-cache' does not match '^(cache-controller|cpu)(@[0-9a-f,]+)*$'
---
 arch/arm/boot/dts/hi3620.dtsi     | 2 +-
 arch/arm/boot/dts/hisi-x5hd2.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/hi3620.dtsi +1 -1
index 9c207a690df5..f0af1bf2b4d8 100644
@@ -71,7 +71,7 @@
 		interrupt-parent = <&gic>;
 		ranges = <0 0xfc000000 0x2000000>;
 
-		L2: l2-cache {
+		L2: cache-controller {
 			compatible = "arm,pl310-cache";
 			reg = <0x100000 0x100000>;
 			interrupts = <0 15 4>;
arch/arm/boot/dts/hisi-x5hd2.dtsi +1 -1
index 696e6982a688..3ee7967c202d 100644
@@ -381,7 +381,7 @@
 			interrupts = <1 13 0xf01>;
 		};
 
-		l2: l2-cache {
+		l2: cache-controller {
 			compatible = "arm,pl310-cache";
 			reg = <0x00a10000 0x100000>;
 			interrupts = <0 15 4>;
Signature · 1 line
2.17.1
#1 lore raw

Hi Krzysztof,

Quoted 4 lines · Krzysztof Kozlowski

Fix dtschema validator warnings like:

    l2-cache: $nodename:0: 'l2-cache' does not match '^(cache-controller|cpu)(@[0-9a-f,]+)*$'

Thanks!
Applied to the hisilicon arm32 dt tree.

Best Regards,
Wei

Quoted 32 lines
---
 arch/arm/boot/dts/hi3620.dtsi     | 2 +-
 arch/arm/boot/dts/hisi-x5hd2.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/hi3620.dtsi +1 -1
index 9c207a690df5..f0af1bf2b4d8 100644
@@ -71,7 +71,7 @@
 		interrupt-parent = <&gic>;
 		ranges = <0 0xfc000000 0x2000000>;
 
-		L2: l2-cache {
+		L2: cache-controller {
 			compatible = "arm,pl310-cache";
 			reg = <0x100000 0x100000>;
 			interrupts = <0 15 4>;
arch/arm/boot/dts/hisi-x5hd2.dtsi +1 -1
index 696e6982a688..3ee7967c202d 100644
@@ -381,7 +381,7 @@
 			interrupts = <1 13 0xf01>;
 		};
 
-		l2: l2-cache {
+		l2: cache-controller {
 			compatible = "arm,pl310-cache";
 			reg = <0x00a10000 0x100000>;
 			interrupts = <0 15 4>;