public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Golle <daniel@makrotopia.org>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] dt-bindings: clean up tab and trailing whitespace from examples
Date: Wed, 29 Apr 2026 04:48:23 +0100	[thread overview]
Message-ID: <cover.1777434096.git.daniel@makrotopia.org> (raw)

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

             reply	other threads:[~2026-04-29  3:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-29  3:48 Daniel Golle [this message]
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)

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=cover.1777434096.git.daniel@makrotopia.org \
    --to=daniel@makrotopia.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /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