[PATCH 0/3] ASoC: dt-bindings: Document routing strings for various codecs

Jihed Chaibi posted 3 patches 1 month, 3 weeks ago
There is a newer version of this series
.../bindings/sound/everest,es8316.yaml        | 14 ++++++++++++
.../bindings/sound/nuvoton,nau8825.yaml       | 12 ++++++++++
.../devicetree/bindings/sound/wlf,wm8960.yaml | 22 +++++++++++++++++++
3 files changed, 48 insertions(+)
[PATCH 0/3] ASoC: dt-bindings: Document routing strings for various codecs
Posted by Jihed Chaibi 1 month, 3 weeks ago
This patch series addresses a challenge for developers configuring ASoC
audio cards in the device tree. Discovering the valid routing strings for
a codec often requires reading the C driver source, which is inefficient,
error-prone, and creates a high barrier to entry.

To improve this, this series adds the lists of these strings (which
correspond to the driver's DAPM widget names) to the descriptions of
three popular audio codec bindings. This makes the documentation more
self-contained and improves the user experience for anyone doing board
bring-up.

While this series adds the documentation as plain text, a potential
future enhancement could be defining these strings as a formal enum
in the binding. This would allow for automated checking and further
improve robustness.

Jihed Chaibi (3):
  ASoC: dt-bindings: everest,es8316: Document routing strings
  ASoC: dt-bindings: nau8825: Document routing strings
  ASoC: dt-bindings: wlf,wm8960: Document routing strings (pin names)

 .../bindings/sound/everest,es8316.yaml        | 14 ++++++++++++
 .../bindings/sound/nuvoton,nau8825.yaml       | 12 ++++++++++
 .../devicetree/bindings/sound/wlf,wm8960.yaml | 22 +++++++++++++++++++
 3 files changed, 48 insertions(+)

-- 
2.39.5