devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ASoC: dt-bindings: Document routing strings for various codecs
@ 2025-08-09 15:18 Jihed Chaibi
  2025-08-09 15:18 ` [PATCH 1/3] ASoC: dt-bindings: everest,es8316: Document routing strings Jihed Chaibi
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jihed Chaibi @ 2025-08-09 15:18 UTC (permalink / raw)
  To: linux-sound
  Cc: lgirdwood, broonie, robh, krzk+dt, conor+dt, drake, katsuhiro,
	matteomartelli3, zhoubinbin, KCHSU0, patches, devicetree,
	linux-kernel, shuah, jihed.chaibi.dev

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


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

end of thread, other threads:[~2025-09-02  7:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-09 15:18 [PATCH 0/3] ASoC: dt-bindings: Document routing strings for various codecs Jihed Chaibi
2025-08-09 15:18 ` [PATCH 1/3] ASoC: dt-bindings: everest,es8316: Document routing strings Jihed Chaibi
2025-08-12  7:40   ` Krzysztof Kozlowski
2025-08-12 11:05     ` Mark Brown
2025-09-02  7:57       ` Krzysztof Kozlowski
2025-08-09 15:18 ` [PATCH 2/3] ASoC: dt-bindings: nau8825: " Jihed Chaibi
2025-08-12  7:42   ` Krzysztof Kozlowski
2025-08-09 15:18 ` [PATCH 3/3] ASoC: dt-bindings: wlf,wm8960: Document routing strings (pin names) Jihed Chaibi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).