public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] dt-bindings: clean up tab and trailing whitespace from examples
@ 2026-04-29  3:48 Daniel Golle
  2026-04-29  3:48 ` [PATCH 1/2] dt-bindings: misc: fsl,qoriq-mc: drop trailing whitespace Daniel Golle
  2026-04-29  3:48 ` [PATCH 2/2] dt-bindings: drop tab characters from DTS examples Daniel Golle
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Golle @ 2026-04-29  3:48 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
	linux-kernel

The earlier RFC of an automated DTS example style checker [1] is being
respun. Its v2 will ship a default 'relaxed' rule set that is intended
to produce zero output on the current tree, so it can be wired into
make dt_binding_check without a tail of warnings.

These two patches fix the only existing violations of the relaxed
rules: a single trailing whitespace and 15 files with literal tabs in
their DTS examples. With these applied, the v2 checker passes treewide
in default mode.

Posting separately so the cleanup can land independently of the tool.

[1] https://lore.kernel.org/all/cover.1776700167.git.daniel@makrotopia.org/

Daniel Golle (2):
  dt-bindings: misc: fsl,qoriq-mc: drop trailing whitespace
  dt-bindings: drop tab characters from DTS examples

 .../bindings/i2c/opencores,i2c-ocores.yaml    |  8 ++---
 .../bindings/iio/adc/st,spear600-adc.yaml     |  2 +-
 .../devicetree/bindings/input/imx-keypad.yaml | 32 +++++++++----------
 .../bindings/input/microchip,cap11xx.yaml     | 12 +++----
 .../input/touchscreen/ti,ads7843.yaml         |  4 +--
 .../devicetree/bindings/leds/leds-lp55xx.yaml |  2 +-
 .../media/mediatek,vcodec-encoder.yaml        |  2 +-
 .../media/mediatek,vcodec-subdev-decoder.yaml |  2 +-
 .../memory-controllers/nvidia,tegra20-mc.yaml |  4 +--
 .../samsung,exynos5422-dmc.yaml               |  2 +-
 .../bindings/misc/fsl,qoriq-mc.yaml           |  2 +-
 .../bindings/pci/mediatek-pcie-mt7623.yaml    |  4 +--
 .../bindings/pci/samsung,exynos-pcie.yaml     |  2 +-
 .../bindings/sound/davinci-mcasp-audio.yaml   |  4 +--
 .../bindings/sound/simple-card.yaml           |  6 ++--
 .../devicetree/bindings/usb/ti,j721e-usb.yaml |  8 ++---
 16 files changed, 48 insertions(+), 48 deletions(-)

-- 
2.54.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-05-05 15:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-29  3:48 [PATCH 0/2] dt-bindings: clean up tab and trailing whitespace from examples Daniel Golle
2026-04-29  3:48 ` [PATCH 1/2] dt-bindings: misc: fsl,qoriq-mc: drop trailing whitespace Daniel Golle
2026-04-29  6:21   ` Krzysztof Kozlowski
2026-05-05 15:47   ` Rob Herring (Arm)
2026-04-29  3:48 ` [PATCH 2/2] dt-bindings: drop tab characters from DTS examples Daniel Golle
2026-04-29  6:21   ` Krzysztof Kozlowski
2026-05-05 15:54   ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox