Merge tag 'timers-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / simple-audio-mux.yaml
1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/simple-audio-mux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Simple Audio Multiplexer
8
9 maintainers:
10   - Alexandre Belloni <aleandre.belloni@bootlin.com>
11
12 description: |
13   Simple audio multiplexers are driven using gpios, allowing to select which of
14   their input line is connected to the output line.
15
16 properties:
17   compatible:
18     const: simple-audio-mux
19
20   mux-gpios:
21     description: |
22       GPIOs used to select the input line.
23
24   sound-name-prefix:
25     $ref: /schemas/types.yaml#/definitions/string
26     description:
27       Used as prefix for sink/source names of the component. Must be a
28       unique string among multiple instances of the same component.
29
30 required:
31   - compatible
32   - mux-gpios
33
34 additionalProperties: false
35
36 examples:
37   - |
38     mux {
39         compatible = "simple-audio-mux";
40         mux-gpios = <&gpio 3 0>;
41     };