[PATCH 00/14] DT: Fix spelling of standard properties

Geert Uytterhoeven geert+renesas at glider.be
Wed Apr 20 08:32:05 PDT 2016


	Hi all,

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

Please apply where appropriate.

Thanks!

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

    words="(address|clock|cooling|dma|gpio|index|interrupt|mbox|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)"

How can we prevent adding more of these?

One simple option is to add the offenders to scripts/spelling.txt.
Alternatively, we may want to do something smarter and more DT specific?

Geert Uytterhoeven (14):
  ARM: dts: STiH407: DT spelling s/interrupts-names/interrupt-names/
  ARM: dts: omap5-board-common: DT spelling
    s/interrupt-name/interrupt-names/
  ARM: dts: omap5-cm-t54: DT spelling s/interrupt-name/interrupt-names/
  ARM: dts: OMAP36xx: : DT spelling s/#address-cell/#address-cells/
  arm64: dts: lg1312: DT spelling s/#interrupts-cells/#interrupt-cells/
  dmaengine: bcm2835: DT spelling s/interrupts-names/interrupt-names/
  dt: booting-without-of: DT spelling
    s/#interrupt-cell/#interrupt-cells/
  powerpc: dts: acadia: DT spelling
    s/#interrupts-parent/#interrupt-parent/
  Input: touchscreen: Broadcom iProc: DT spelling
    s/clock-name/clock-names/
  misc: sram: DT spelling s/#adress-cells/#address-cells/
  PCI: hisi: DT spelling s/interrupts-*/interrupt-*/
  phy: phy-stih41x-usb: DT spelling s/#phy-cell/#phy-cells/
  rtc: rtc-sa1100: DT spelling s/interrupt-name/interrupt-names/
  regulator: ti-abb: DT spelling
    s/#{address,size}-cell/#{address,size}-cells/

 .../bindings/input/touchscreen/brcm,iproc-touchscreen.txt    |  2 +-
 Documentation/devicetree/bindings/pci/hisilicon-pcie.txt     | 12 ++++++------
 Documentation/devicetree/bindings/phy/phy-stih41x-usb.txt    |  2 +-
 .../devicetree/bindings/regulator/ti-abb-regulator.txt       | 10 +++++-----
 Documentation/devicetree/bindings/rtc/sa1100-rtc.txt         |  2 +-
 Documentation/devicetree/bindings/sound/davinci-mcbsp.txt    |  2 +-
 Documentation/devicetree/bindings/sram/sram.txt              |  2 +-
 Documentation/devicetree/booting-without-of.txt              |  2 +-
 arch/arm/boot/dts/omap36xx.dtsi                              |  2 +-
 arch/arm/boot/dts/omap5-board-common.dtsi                    |  2 +-
 arch/arm/boot/dts/omap5-cm-t54.dts                           |  2 +-
 arch/arm/boot/dts/stih407-pinctrl.dtsi                       |  2 +-
 arch/arm64/boot/dts/lg/lg1312.dtsi                           |  2 +-
 arch/powerpc/boot/dts/acadia.dts                             |  2 +-
 drivers/dma/bcm2835-dma.c                                    |  2 +-
 15 files changed, 24 insertions(+), 24 deletions(-)

-- 
1.9.1




More information about the linux-arm-kernel mailing list