]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codecs: tfa989x: Add support for tfa9897 optional rcv-gpios
authorVincent Knecht <vincent.knecht@mailoo.org>
Sun, 31 Oct 2021 21:09:56 +0000 (22:09 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 15 Nov 2021 13:26:44 +0000 (13:26 +0000)
commitf5f960be8d781c01c3e7e214f7acc212d8422435
tree63f97eeecb8eded275dffdaa4e719c5b90c3c1b9
parentc7263fecbd3391634aebbe79f0a8a68f28f540c4
ASoC: codecs: tfa989x: Add support for tfa9897 optional rcv-gpios

Some OEM use a GPIO in addition to the tfa9897 RCV bit to
switch between loudspeaker and earpiece/receiver mode.

Add support for the GPIO switching by specifying rcv-gpios in DT.

Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
Link: https://lore.kernel.org/r/20211031210956.812101-3-vincent.knecht@mailoo.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tfa989x.c