Skip to contentSkip to conversation

ARM: dts: orion5x-lschl: Fix model name

PATCH New Roger Shimizu 2 participants 4 messages Jan 30, 2017 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: orion5x-lschl: Fix model name

Model name should be consistent with legacy device file, so that user can migrate their system from legacy device support to device-tree safely.

Legacy device file is currently removed, but it can be found on 4.8 or previous version of linux:
arch/arm/mach-orion5x/ls-chl-setup.c

Fixes f94f268979a2 ("ARM: dts: orion5x: convert ls-chl to FDT")
Cc Ashley Hughes <[email protected]>
---
 arch/arm/boot/dts/orion5x-lschl.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/orion5x-lschl.dts +2 -2
index 7c999b092e06..ee751995c8d0 100644
@@ -2,7 +2,7 @@
  * Device Tree file for Buffalo Linkstation LS-CHLv3
  *
  * Copyright (C) 2016 Ash Hughes <[email protected]>
- * Copyright (C) 2015, 2016
+ * Copyright (C) 2015-2017
  * Roger Shimizu <[email protected]>
  *
  * This file is dual-licensed: you can use it either under the terms
@@ -52,7 +52,7 @@
 #include <dt-bindings/gpio/gpio.h>
 
 / {
-	model = "Buffalo Linkstation Live v3 (LS-CHL)";
+	model = "Buffalo Linkstation LiveV3 (LS-CHL)";
 	compatible = "buffalo,lschl", "marvell,orion5x-88f5182", "marvell,orion5x";
 
 	memory { /* 128 MB */
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 ARM: dts: orion5x-lschl: More consistent naming on linkstation series

DTS files, which includes orion5x-linkstation.dtsi, are named:
orion5x-linkstation-*.dts

So we rename the file below:
arch/arm/boot/dts/orion5x-lschl.dts
to the new name:
arch/arm/boot/dts/orion5x-linkstation-lschl.dts

Because DTS conversion of this device was just introduced in 4.9, Debian is still using legacy device support, other distros are the same, so here we won't expect any impact actually.

Fixes f94f268979a2 ("ARM: dts: orion5x: convert ls-chl to FDT")
Cc Ashley Hughes <[email protected]>
---
 arch/arm/boot/dts/{orion5x-lschl.dts => orion5x-linkstation-lschl.dts} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename arch/arm/boot/dts/{orion5x-lschl.dts => orion5x-linkstation-lschl.dts} (100%)
arch/arm/boot/dts/orion5x-linkstation-lschl.dts renamed from arch/arm/boot/dts/orion5x-lschl.dts +0 -0
similarity index 100%
rename from arch/arm/boot/dts/orion5x-lschl.dts
rename to arch/arm/boot/dts/orion5x-linkstation-lschl.dts
Signature · 1 line
2.11.0
#2 lore raw

PATCH 2/2 ARM: dts: orion5x-lschl: More consistent naming on linkstation series

Hi Roger,

Quoted 8 lines · Roger Shimizu

DTS files, which includes orion5x-linkstation.dtsi, are named:
orion5x-linkstation-*.dts

So we rename the file below:
arch/arm/boot/dts/orion5x-lschl.dts
to the new name:
arch/arm/boot/dts/orion5x-linkstation-lschl.dts

Quoted 7 lines

Because DTS conversion of this device was just introduced in 4.9, Debian is still using legacy device support, other distros are the same, so here we won't expect any impact actually.

Fixes f94f268979a2 ("ARM: dts: orion5x: convert ls-chl to FDT")
Cc Ashley Hughes <[email protected]>

Applied on mvebu/dt

Thanks,

Gregory

Quoted 12 lines
---
 arch/arm/boot/dts/{orion5x-lschl.dts => orion5x-linkstation-lschl.dts} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename arch/arm/boot/dts/{orion5x-lschl.dts => orion5x-linkstation-lschl.dts} (100%)
arch/arm/boot/dts/orion5x-linkstation-lschl.dts renamed from arch/arm/boot/dts/orion5x-lschl.dts +0 -0
similarity index 100%
rename from arch/arm/boot/dts/orion5x-lschl.dts
rename to arch/arm/boot/dts/orion5x-linkstation-lschl.dts
Signature · 1 line
2.11.0
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

PATCH 1/2 ARM: dts: orion5x-lschl: Fix model name

In reply to Roger Shimizu

Hi Roger,

Quoted 11 lines · Roger Shimizu

Model name should be consistent with legacy device file, so that user can migrate their system from legacy device support to device-tree safely.

Legacy device file is currently removed, but it can be found on 4.8 or previous version of linux:
arch/arm/mach-orion5x/ls-chl-setup.c

Fixes f94f268979a2 ("ARM: dts: orion5x: convert ls-chl to FDT")
Cc Ashley Hughes <[email protected]>

Applied on mvebu/dt

Thanks,

Gregory

Quoted 29 lines
---
 arch/arm/boot/dts/orion5x-lschl.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/orion5x-lschl.dts +2 -2
index 7c999b092e06..ee751995c8d0 100644
@@ -2,7 +2,7 @@
  * Device Tree file for Buffalo Linkstation LS-CHLv3
  *
  * Copyright (C) 2016 Ash Hughes <[email protected]>
- * Copyright (C) 2015, 2016
+ * Copyright (C) 2015-2017
  * Roger Shimizu <[email protected]>
  *
  * This file is dual-licensed: you can use it either under the terms
@@ -52,7 +52,7 @@
 #include <dt-bindings/gpio/gpio.h>
 
 / {
-	model = "Buffalo Linkstation Live v3 (LS-CHL)";
+	model = "Buffalo Linkstation LiveV3 (LS-CHL)";
 	compatible = "buffalo,lschl", "marvell,orion5x-88f5182", "marvell,orion5x";
 
 	memory { /* 128 MB */
Signature · 1 line
2.11.0
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com