name-prefix.txt 716 B

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