Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/4] dt-bindings: remove redundant .txt redirect stubs
@ 2026-05-29  5:22 Akash Sukhavasi
  2026-05-29  5:22 ` [PATCH 1/4] dt-bindings: net: remove obsolete mdio.txt Akash Sukhavasi
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Akash Sukhavasi @ 2026-05-29  5:22 UTC (permalink / raw)
  To: devicetree

Several .txt files under Documentation/devicetree/bindings/ contain
only a redirect notice pointing to a .yaml schema with the same base
filename in the same directory. These stubs were useful during the
.txt to .yaml transition but are now redundant, since the .yaml is
discoverable by name. Meanwhile, other documentation still references
some of these stubs, forcing readers through an unnecessary extra hop
to reach the actual schema.

This series removes four such stubs and updates all remaining
cross-references to point directly to the .yaml schemas.

Other redirect stubs in the tree were evaluated and intentionally
kept:

 - Stubs pointing to .yaml files with different names (e.g.,
   spi-bus.txt -> spi-controller.yaml) serve as breadcrumbs for
   the renamed schema.

 - Stubs pointing to multiple .yaml files (e.g., nvmem.txt ->
   nvmem.yaml and nvmem-consumer.yaml) convey that the content
   was split.

 - Stubs pointing to .yaml files in a different directory (e.g.,
   reset/st,stm32-rcc.txt -> clock/st,stm32-rcc.yaml) serve as
   cross-directory pointers.

Two additional same-name, same-directory stubs (leds/common.txt,
regulator/regulator.txt) have significantly more cross references
and will be addressed in a follow-up series.

Patch 1 supersedes my earlier standalone submission:
https://lore.kernel.org/all/20260523004223.3045-1-akash.sukhavasi@gmail.com/

Akash Sukhavasi (4):
  dt-bindings: net: remove obsolete mdio.txt
  dt-bindings: media: remove obsolete rc.txt
  dt-bindings: net: dsa: remove obsolete dsa.txt
  dt-bindings: input: remove obsolete matrix-keymap.txt

 Documentation/devicetree/bindings/input/brcm,bcm-keypad.txt | 2 +-
 Documentation/devicetree/bindings/input/clps711x-keypad.txt | 2 +-
 Documentation/devicetree/bindings/input/matrix-keymap.txt   | 1 -
 .../devicetree/bindings/input/nvidia,tegra20-kbc.txt        | 2 +-
 Documentation/devicetree/bindings/input/pxa27x-keypad.txt   | 2 +-
 Documentation/devicetree/bindings/input/st-keyscan.txt      | 2 +-
 Documentation/devicetree/bindings/media/hix5hd2-ir.txt      | 2 +-
 Documentation/devicetree/bindings/media/rc.txt              | 1 -
 Documentation/devicetree/bindings/mfd/tc3589x.txt           | 6 +++---
 Documentation/devicetree/bindings/net/dsa/dsa.txt           | 4 ----
 Documentation/devicetree/bindings/net/dsa/lan9303.txt       | 2 +-
 Documentation/devicetree/bindings/net/mdio.txt              | 1 -
 Documentation/networking/dsa/dsa.rst                        | 2 +-
 13 files changed, 11 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/matrix-keymap.txt
 delete mode 100644 Documentation/devicetree/bindings/media/rc.txt
 delete mode 100644 Documentation/devicetree/bindings/net/dsa/dsa.txt
 delete mode 100644 Documentation/devicetree/bindings/net/mdio.txt

-- 
2.54.0


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

end of thread, other threads:[~2026-05-30  5:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-29  5:22 [PATCH 0/4] dt-bindings: remove redundant .txt redirect stubs Akash Sukhavasi
2026-05-29  5:22 ` [PATCH 1/4] dt-bindings: net: remove obsolete mdio.txt Akash Sukhavasi
2026-05-29  5:22 ` [PATCH 2/4] dt-bindings: media: remove obsolete rc.txt Akash Sukhavasi
2026-05-29  5:22 ` [PATCH 3/4] dt-bindings: net: dsa: remove obsolete dsa.txt Akash Sukhavasi
2026-05-29  5:22 ` [PATCH 4/4] dt-bindings: input: remove obsolete matrix-keymap.txt Akash Sukhavasi
2026-05-30  5:23   ` sashiko-bot

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