[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250809151853.47562-1-jihed.chaibi.dev@gmail.com>
Date: Sat, 9 Aug 2025 17:18:50 +0200
From: Jihed Chaibi <jihed.chaibi.dev@...il.com>
To: linux-sound@...r.kernel.org
Cc: lgirdwood@...il.com,
broonie@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
drake@...lessm.com,
katsuhiro@...suster.net,
matteomartelli3@...il.com,
zhoubinbin@...ngson.cn,
KCHSU0@...oton.com,
patches@...nsource.cirrus.com,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
shuah@...nel.org,
jihed.chaibi.dev@...il.com
Subject: [PATCH 0/3] ASoC: dt-bindings: Document routing strings for various codecs
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
Powered by blists - more mailing lists