Skip to contentSkip to conversation

DT: Fix spelling of standard properties

PATCH Applied Geert Uytterhoeven 4 participants 12 messages Jun 2, 2017 – Jan 22, 2018

Subsystems (8)

v3 of 5 Applied Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v3 cover DT: Fix spelling of standard properties

Hi all,

This patch series fixes misspellings of various standard DT properties in DT binding documentation, DTS files, and examples.
While most of these are harmless, some of them may cause hard-to-debug failures.

Changes compared to v3:
- Drop patches that have been applied already,
- Add Acked-by,
- Add new patches 5 and 6.

Changes compared to v2:
- Drop patches that have been applied already,
- Add Rob Herring's Acked-by,
- Split off "[PATCH v2 4/6] ASoC: davinci-mcbsp: DT fix s/interrupts-names/interrupt-names/" from the unrelated "[PATCH 06/14]
dmaengine: bcm2835: DT spelling s/interrupts-names/interrupt-names/",
- Add new patch "[PATCH v2 3/6] arm64: dts: lg1313: DT fix s/#interrupts-cells/#interrupt-cells/".

Please apply where appropriate.

Thanks!

P.S. I used the following to detect misspellings:

    words="(address|clock|cooling|dma|gpio|index|interrupt|msi|nvmem|phy|phys|power-domain|pwm|reset|size|sleep|sound-dai|thermal-sensor)"

    git grep -Ew "${words}s-names"
    git grep -E "[^-]\<${words}-name\>[^-]"
    git grep -Ew "#${words}s-cells"             # false positive phys-cells
    git grep -E "#${words}-cell\>[^-]"

    git grep -w adress-cells
    git grep -Ew "interrupts-(map|parent)"

Geert Uytterhoeven (6):
arm64: dts: lg1312: DT fix s/#interrupts-cells/#interrupt-cells/
arm64: dts: lg1313: DT fix s/#interrupts-cells/#interrupt-cells/
dt: booting-without-of: DT fix s/#interrupt-cell/#interrupt-cells/
powerpc: dts: acadia: DT fix s/#interrupts-parent/#interrupt-parent/
dt-bindings: display: amlogic: DT fix s/resets-names/reset-names/
dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/

 Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.txt | 2 +-
 Documentation/devicetree/bindings/net/btusb.txt                     | 2 +-
 Documentation/devicetree/booting-without-of.txt                     | 2 +-
 arch/arm64/boot/dts/lg/lg1312.dtsi                                  | 2 +-
 arch/arm64/boot/dts/lg/lg1313.dtsi                                  | 2 +-
 arch/powerpc/boot/dts/acadia.dts                                    | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
Signature · 16 lines
2.7.4

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

PATCH v3 1/6 arm64: dts: lg1312: DT fix s/#interrupts-cells/#interrupt-cells/

---
v3:
- Add Acked-by,

v2:
- Add Acked-by,
- Rebased.

---
 arch/arm64/boot/dts/lg/lg1312.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/lg/lg1312.dtsi +1 -1
index fbafa24cd5335b90..647606a83c517448 100644
@@ -123,7 +123,7 @@
 	amba {
 		#address-cells = <2>;
 		#size-cells = <1>;
-		#interrupts-cells = <3>;
+		#interrupt-cells = <3>;
 
 		compatible = "simple-bus";
 		interrupt-parent = <&gic>;
Signature · 1 line
2.7.4
#2 lore raw

PATCH v3 2/6 arm64: dts: lg1313: DT fix s/#interrupts-cells/#interrupt-cells/

In reply to Geert Uytterhoeven

---
v3:
- Add Acked-by,

v2:
- New.

---
 arch/arm64/boot/dts/lg/lg1313.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/lg/lg1313.dtsi +1 -1
index e703e1149c757082..abb2162228e82d39 100644
@@ -123,7 +123,7 @@
 	amba {
 		#address-cells = <2>;
 		#size-cells = <1>;
-		#interrupts-cells = <3>;
+		#interrupt-cells = <3>;
 
 		compatible = "simple-bus";
 		interrupt-parent = <&gic>;
Signature · 1 line
2.7.4
#3 lore raw

PATCH v3 3/6 dt: booting-without-of: DT fix s/#interrupt-cell/#interrupt-cells/

In reply to Geert Uytterhoeven

---
v3:
- No changes,

v2:
- Add Acked-by.

---
 Documentation/devicetree/booting-without-of.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/booting-without-of.txt +1 -1
index 280d283304bb82d8..f35d3adacb987f7d 100644
@@ -1309,7 +1309,7 @@ number and level/sense information. All interrupt children in an
 OpenPIC interrupt domain use 2 cells per interrupt in their interrupts
 property.
 
-The PCI bus binding specifies a #interrupt-cell value of 1 to encode
+The PCI bus binding specifies a #interrupt-cells value of 1 to encode
 which interrupt pin (INTA,INTB,INTC,INTD) is used.
 
 2) interrupt-parent property
Signature · 1 line
2.7.4
#4 lore raw

Re: [PATCH v3 3/6] dt: booting-without-of: DT fix s/#interrupt-cell/#interrupt-cells/

Quoted 3 lines · Geert Uytterhoeven

---

Rob this has your ack, but I'd expect it to go via your tree? Or should I grab it?

cheers

Quoted 15 lines
Documentation/devicetree/booting-without-of.txt +1 -1
index 280d283304bb82d8..f35d3adacb987f7d 100644
@@ -1309,7 +1309,7 @@ number and level/sense information. All interrupt children in an
 OpenPIC interrupt domain use 2 cells per interrupt in their interrupts
 property.
 
-The PCI bus binding specifies a #interrupt-cell value of 1 to encode
+The PCI bus binding specifies a #interrupt-cells value of 1 to encode
 which interrupt pin (INTA,INTB,INTC,INTD) is used.
 
 2) interrupt-parent property
Signature · 1 line
2.7.4
#6 lore raw

PATCH v3 4/6 powerpc: dts: acadia: DT fix s/#interrupts-parent/#interrupt-parent/

In reply to Geert Uytterhoeven

---
v3:
- No changes,

v2:
- Add Acked-by.

---
 arch/powerpc/boot/dts/acadia.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/boot/dts/acadia.dts +1 -1
index 57291f61ffe7021a..86266159521edac2 100644
@@ -183,7 +183,7 @@
 			usb@ef603000 {
 				compatible = "ohci-be";
 				reg = <0xef603000 0x80>;
-				interrupts-parent = <&UIC0>;
+				interrupt-parent = <&UIC0>;
 				interrupts = <0xd 0x4 0xe 0x4>;
 			};
 
Signature · 1 line
2.7.4
#8 lore raw

PATCH v3 5/6 dt-bindings: display: amlogic: DT fix s/resets-names/reset-names/

In reply to Geert Uytterhoeven
Fixes 8cceda5349377e30 ("dt-bindings: Add bindings for the Amlogic Meson dw-hdmi extension")

---
v3:
- New.

---
 Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.txt +1 -1
index 7f040edc16fe6325..a65c890e3170f875 100644
@@ -43,7 +43,7 @@ Required properties:
   and the Amlogic Meson venci clocks as described in
   Documentation/devicetree/bindings/clock/clock-bindings.txt,
   the clocks are soc specific, the clock-names should be "iahb", "isfr", "venci"
-- resets, resets-names: must have the phandles to the HDMI apb, glue and phy
+- resets, reset-names: must have the phandles to the HDMI apb, glue and phy
   resets as described in :
   Documentation/devicetree/bindings/reset/reset.txt,
   the reset-names should be "hdmitx_apb", "hdmitx", "hdmitx_phy"
Signature · 1 line
2.7.4
maintainer Acked-by on v3 5/6
#9 lore raw

Re: [PATCH v3 5/6] dt-bindings: display: amlogic: DT fix s/resets-names/reset-names/

Quoted 8 lines · Geert Uytterhoeven
Fixes 8cceda5349377e30 ("dt-bindings: Add bindings for the Amlogic Meson dw-hdmi extension")

---
v3:
- New.

---
 Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#10 lore raw

PATCH v3 6/6 dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/

In reply to Geert Uytterhoeven
Fixes fd913ef7ce619467 ("Bluetooth: btusb: Add out-of-band wakeup support")

---
v3:
- New.

---
 Documentation/devicetree/bindings/net/btusb.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/net/btusb.txt +1 -1
index 01fa2d4188d4a900..18dd9c386be094db 100644
@@ -37,7 +37,7 @@ Following example uses irq pin number 3 of gpio0 for out of band wake-on-bt:
 	compatible = "usb1286,204e";
 	reg = <1>;
 	interrupt-parent = <&gpio0>;
-	interrupt-name = "wakeup";
+	interrupt-names = "wakeup";
 	interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
     };
 };
Signature · 1 line
2.7.4
maintainer Acked-by on v3 6/6
#11 lore raw

Re: [PATCH v3 6/6] dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/

Quoted 8 lines · Geert Uytterhoeven
Fixes fd913ef7ce619467 ("Bluetooth: btusb: Add out-of-band wakeup support")

---
v3:
- New.

---
 Documentation/devicetree/bindings/net/btusb.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)