devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Rob Herring <robh+dt@kernel.org>, Lee Jones <lee@kernel.org>,
	Zhou Wang <wangzhou1@hisilicon.com>,
	Tony Lindgren <tony@atomide.com>,
	Srinivas Kandagatla <srinivas.kandagatla@gmail.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Vinod Koul <vinod.koul@intel.com>,
	Mark Brown <broonie@kernel.org>,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	Joe Perches <joe@perches.com>
Cc: devicetree@vger.kernel.org, linux-input@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, dmaengine@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 00/14] DT: Fix spelling of standard properties
Date: Wed, 20 Apr 2016 17:32:05 +0200	[thread overview]
Message-ID: <1461166339-11109-1-git-send-email-geert+renesas@glider.be> (raw)

	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


             reply	other threads:[~2016-04-20 15:32 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20 15:32 Geert Uytterhoeven [this message]
2016-04-20 15:32 ` [PATCH 01/14] ARM: dts: STiH407: DT spelling s/interrupts-names/interrupt-names/ Geert Uytterhoeven
2016-04-20 15:32 ` [PATCH 02/14] ARM: dts: omap5-board-common: DT spelling s/interrupt-name/interrupt-names/ Geert Uytterhoeven
     [not found] ` <1461166339-11109-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2016-04-20 15:32   ` [PATCH 03/14] ARM: dts: omap5-cm-t54: " Geert Uytterhoeven
2016-04-20 15:32   ` [PATCH 05/14] arm64: dts: lg1312: DT spelling s/#interrupts-cells/#interrupt-cells/ Geert Uytterhoeven
2016-04-20 15:32   ` [PATCH 07/14] dt: booting-without-of: DT spelling s/#interrupt-cell/#interrupt-cells/ Geert Uytterhoeven
2016-04-20 15:32   ` [PATCH 08/14] powerpc: dts: acadia: DT spelling s/#interrupts-parent/#interrupt-parent/ Geert Uytterhoeven
2016-04-20 15:37   ` [PATCH 00/14] DT: Fix spelling of standard properties Geert Uytterhoeven
2016-04-20 15:32 ` [PATCH 04/14] ARM: dts: OMAP36xx: : DT spelling s/#address-cell/#address-cells/ Geert Uytterhoeven
2016-04-20 23:46   ` Rob Herring
     [not found]     ` <CAL_JsqKSbGPKNZdZnowGpdF8zxXbh6g-wkq96+KmBNLwp7n=HQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-26 16:08       ` Tony Lindgren
2016-04-20 15:32 ` [PATCH 06/14] dmaengine: bcm2835: DT spelling s/interrupts-names/interrupt-names/ Geert Uytterhoeven
2016-04-25 15:26   ` Vinod Koul
2016-04-25 16:30     ` Geert Uytterhoeven
2016-04-20 15:32 ` [PATCH 09/14] Input: touchscreen: Broadcom iProc: DT spelling s/clock-name/clock-names/ Geert Uytterhoeven
2016-04-20 17:42   ` Dmitry Torokhov
2016-04-20 15:32 ` [PATCH 10/14] misc: sram: DT spelling s/#adress-cells/#address-cells/ Geert Uytterhoeven
2016-04-25 13:44   ` Rob Herring
2016-04-20 15:32 ` [PATCH 11/14] PCI: hisi: DT spelling s/interrupts-*/interrupt-*/ Geert Uytterhoeven
2016-04-25 13:44   ` Rob Herring
2016-04-20 15:32 ` [PATCH 12/14] phy: phy-stih41x-usb: DT spelling s/#phy-cell/#phy-cells/ Geert Uytterhoeven
2016-04-25 13:45   ` Rob Herring
2016-04-20 15:32 ` [PATCH 13/14] rtc: rtc-sa1100: DT spelling s/interrupt-name/interrupt-names/ Geert Uytterhoeven
2016-04-20 21:22   ` Alexandre Belloni
2016-04-20 15:32 ` [PATCH 14/14] regulator: ti-abb: DT spelling s/#{address,size}-cell/#{address,size}-cells/ Geert Uytterhoeven
2016-04-21 19:29   ` Rob Herring
2016-04-20 23:58 ` [PATCH 00/14] DT: Fix spelling of standard properties Rob Herring
     [not found]   ` <CAL_Jsq+JO41w2PweW0n1Z78=wPnYh+wfa==Hb8o37L3ynDndkA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-04-21 19:35     ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461166339-11109-1-git-send-email-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=joe@perches.com \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=robh+dt@kernel.org \
    --cc=srinivas.kandagatla@gmail.com \
    --cc=tony@atomide.com \
    --cc=vinod.koul@intel.com \
    --cc=wangzhou1@hisilicon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).