ASoC: add simple-mux
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 5 Dec 2020 00:15:08 +0000 (01:15 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 9 Dec 2020 17:00:33 +0000 (17:00 +0000)
commit342fbb7578d1741ff646d7b08e14e8753267b9fa
treeac6aaa586b44c948aee52ce3f793eb6e71521ab2
parentf17a7db22b8ff1688f30bb66aeeaa8cc088e5230
ASoC: add simple-mux

Add a driver for simple mux driven by gpios. It currently only supports one
gpio, muxing one of two inputs to a single output.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201205001508.346439-2-alexandre.belloni@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/simple-mux.c [new file with mode: 0644]