Skip to contentSkip to conversation

dt/bindings: arm-boards: Remove skeleton.dtsi inclusion from example

PATCH Superseded Geert Uytterhoeven 3 participants 4 messages Oct 21, 2016 Device tree bindings

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt/bindings: arm-boards: Remove skeleton.dtsi inclusion from example

As of commit 9c0da3cc61f1233c ("ARM: dts: explicitly mark skeleton.dtsi as deprecated"), including skeleton.dtsi is deprecated. Hence remove it from the example.

---
 Documentation/devicetree/bindings/arm/arm-boards | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/arm/arm-boards +2 -3
index ab318a56fca2194f..e667ecbcf226dfe3 100644
@@ -148,15 +148,14 @@ Example:
 
 /dts-v1/;
 #include <dt-bindings/interrupt-controller/irq.h>
-#include "skeleton.dtsi"
 
 / {
 	model = "ARM RealView PB1176 with device tree";
 	compatible = "arm,realview-pb1176";
+	#address-cells = <0>;
+	#size-cells = <1>;
 
 	soc {
-		#address-cells = <1>;
-		#size-cells = <1>;
 		compatible = "arm,realview-pb1176-soc", "simple-bus";
 		ranges;
 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 dt/bindings: arm-boards: Remove skeleton.dtsi inclusion from example

Quoted 18 lines · Geert Uytterhoeven

As of commit 9c0da3cc61f1233c ("ARM: dts: explicitly mark skeleton.dtsi as deprecated"), including skeleton.dtsi is deprecated. Hence remove it from the example.

---
 Documentation/devicetree/bindings/arm/arm-boards | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/arm/arm-boards +0 -1
index ab318a56fca2194f..e667ecbcf226dfe3 100644
@@ -148,15 +148,14 @@ Example:
 
 /dts-v1/;
 #include <dt-bindings/interrupt-controller/irq.h>
-#include "skeleton.dtsi"

Documentation/devicetree/bindings/arm/arm-boards Example: · line 159

Quoted 10 lines
Documentation/devicetree/bindings/arm/arm-boards +2 -2
 
 / {
 	model = "ARM RealView PB1176 with device tree";
 	compatible = "arm,realview-pb1176";
+	#address-cells = <0>;
+	#size-cells = <1>;
 
 	soc {
-		#address-cells = <1>;
-		#size-cells = <1>;

Strictly speaking, these two are still necessary for the ranges property. They're *not* inherited per the spec, no matter what Linux happens to do today.

With those restored:

Thanks,
Mark.

Quoted 6 lines
Documentation/devicetree/bindings/arm/arm-boards +0 -0
 		compatible = "arm,realview-pb1176-soc", "simple-bus";
 		ranges;
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/1 dt/bindings: arm-boards: Remove skeleton.dtsi inclusion from example

Hi Mark,

Quoted 26 lines · Mark Rutland
Quoted 25 lines · Geert Uytterhoeven

As of commit 9c0da3cc61f1233c ("ARM: dts: explicitly mark skeleton.dtsi as deprecated"), including skeleton.dtsi is deprecated. Hence remove it from the example.

---
 Documentation/devicetree/bindings/arm/arm-boards | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/arm/arm-boards +2 -1
index ab318a56fca2194f..e667ecbcf226dfe3 100644
@@ -148,15 +148,14 @@ Example:
 
 /dts-v1/;
 #include <dt-bindings/interrupt-controller/irq.h>
-#include "skeleton.dtsi"
 
 / {
      model = "ARM RealView PB1176 with device tree";
      compatible = "arm,realview-pb1176";
+     #address-cells = <0>;
+     #size-cells = <1>;
 
Quoted 7 lines

Documentation/devicetree/bindings/arm/arm-boards Example: · line 159

Quoted 3 lines
Documentation/devicetree/bindings/arm/arm-boards +0 -2
      soc {
-             #address-cells = <1>;
-             #size-cells = <1>;

Strictly speaking, these two are still necessary for the ranges property. They're *not* inherited per the spec, no matter what Linux happens to do today.

I wasn't sure about that part of the change. OK, will fix.

Quoted 3 lines

With those restored:

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#3 lore raw

PATCH 1/1 dt/bindings: arm-boards: Remove skeleton.dtsi inclusion from example

Quoted 6 lines · Geert Uytterhoeven
Quoted 5 lines · Mark Rutland
Quoted 4 lines · Geert Uytterhoeven
Documentation/devicetree/bindings/arm/arm-boards +0 -0
@@ -148,15 +148,14 @@ Example:
 
Quoted 8 lines
Quoted 8 lines

Documentation/devicetree/bindings/arm/arm-boards Example: · line 155

Quoted 8 lines
Documentation/devicetree/bindings/arm/arm-boards +1 -1
 /dts-v1/;
 #include <dt-bindings/interrupt-controller/irq.h>
-#include "skeleton.dtsi"
 
 / {
      model = "ARM RealView PB1176 with device tree";
      compatible = "arm,realview-pb1176";
+     #address-cells = <0>;

How did I manage to turn the <1> into a <0> by moving and reindenting two lines?!? Will fix, too.

Quoted 11 lines
Quoted 9 lines

Documentation/devicetree/bindings/arm/arm-boards Example: · line 159

Quoted 5 lines
Documentation/devicetree/bindings/arm/arm-boards +1 -2
+     #size-cells = <1>;
 
      soc {
-             #address-cells = <1>;
-             #size-cells = <1>;

Strictly speaking, these two are still necessary for the ranges property. They're *not* inherited per the spec, no matter what Linux happens to do today.

I wasn't sure about that part of the change. OK, will fix.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds