Merge branch 'for-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / name-prefix.txt
1 Name prefix:
2
3 Card implementing the routing property define the connection between
4 audio components as list of string pair. Component using the same
5 sink/source names may use the name prefix property to prepend the
6 name of their sinks/sources with the provided string.
7
8 Optional name prefix property:
9 - sound-name-prefix : string using as prefix for the sink/source names of
10                       the component.
11
12 Example: Two instances of the same component.
13
14 amp0: analog-amplifier@0 {
15         compatible = "simple-audio-amplifier";
16         enable-gpios = <&gpio GPIOH_3 0>;
17         sound-name-prefix = "FRONT";
18 };
19
20 amp1: analog-amplifier@1 {
21         compatible = "simple-audio-amplifier";
22         enable-gpios = <&gpio GPIOH_4 0>;
23         sound-name-prefix = "BACK";
24 };