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