xref: /freebsd/sys/contrib/device-tree/Bindings/sound/name-prefix.txt (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1Name prefix:
2
3Card implementing the routing property define the connection between
4audio components as list of string pair. Component using the same
5sink/source names may use the name prefix property to prepend the
6name of their sinks/sources with the provided string.
7
8Optional name prefix property:
9- sound-name-prefix : string using as prefix for the sink/source names of
10		      the component.
11
12Example: Two instances of the same component.
13
14amp0: analog-amplifier@0 {
15	compatible = "simple-audio-amplifier";
16	enable-gpios = <&gpio GPIOH_3 0>;
17	sound-name-prefix = "FRONT";
18};
19
20amp1: analog-amplifier@1 {
21	compatible = "simple-audio-amplifier";
22	enable-gpios = <&gpio GPIOH_4 0>;
23	sound-name-prefix = "BACK";
24};
25