Re: [PATCH] ASoC: dt-bindings: audio-graph-card: Expand 'widgets' documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/6/23 20:25, Mark Brown wrote:
On Tue, Jun 06, 2023 at 07:59:51PM +0200, Marek Vasut wrote:

Document the encoding of 'widgets' property to avoid confusion.

    widgets:
-    description: User specified audio sound widgets.
+    description: |
+      User specified audio sound widgets.
+      Each entry is a pair of strings, the first being the type of
+      widget ("Microphone", "Line", "Headphone", "Speaker"), the
+      second being the machine specific name for the widget.

This looks sensible to me, I don't know if there's a way we can get the
tooling to validate either the length or (ideally) the widget type
strings?

It seems there is no way to do validation of every two elements for lists with variable number of elements.



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux