xref: /freebsd/sys/contrib/device-tree/Bindings/sound/simple-audio-mux.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/simple-audio-mux.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Simple Audio Multiplexer
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Alexandre Belloni <aleandre.belloni@bootlin.com>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotdescription: |
135def4c47SEmmanuel Vadot  Simple audio multiplexers are driven using gpios, allowing to select which of
145def4c47SEmmanuel Vadot  their input line is connected to the output line.
155def4c47SEmmanuel Vadot
168cc087a1SEmmanuel VadotallOf:
17*8bab661aSEmmanuel Vadot  - $ref: dai-common.yaml#
188cc087a1SEmmanuel Vadot
195def4c47SEmmanuel Vadotproperties:
205def4c47SEmmanuel Vadot  compatible:
215def4c47SEmmanuel Vadot    const: simple-audio-mux
225def4c47SEmmanuel Vadot
235def4c47SEmmanuel Vadot  mux-gpios:
245def4c47SEmmanuel Vadot    description: |
255def4c47SEmmanuel Vadot      GPIOs used to select the input line.
265def4c47SEmmanuel Vadot
278cc087a1SEmmanuel Vadot  sound-name-prefix: true
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadotrequired:
305def4c47SEmmanuel Vadot  - compatible
315def4c47SEmmanuel Vadot  - mux-gpios
325def4c47SEmmanuel Vadot
335def4c47SEmmanuel VadotadditionalProperties: false
345def4c47SEmmanuel Vadot
355def4c47SEmmanuel Vadotexamples:
365def4c47SEmmanuel Vadot  - |
375def4c47SEmmanuel Vadot    mux {
385def4c47SEmmanuel Vadot        compatible = "simple-audio-mux";
395def4c47SEmmanuel Vadot        mux-gpios = <&gpio 3 0>;
405def4c47SEmmanuel Vadot    };
41