[PATCH 0/2] dt-bindings: clean up tab and trailing whitespace from examples

From: Daniel Golle

Date: Tue Apr 28 2026 - 23:53:39 EST


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@xxxxxxxxxxxxxx/

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