xref: /freebsd/sys/contrib/device-tree/Bindings/sound/name-prefix.txt (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
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