]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: tlv320adcx140: Add support for configuring GPIO pin
authorCamel Guo <camelg@axis.com>
Fri, 18 Sep 2020 11:40:25 +0000 (13:40 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 18 Sep 2020 12:09:02 +0000 (13:09 +0100)
commitd5214321498a43558d9ffcce4153775c2c296bad
tree357d52e1ac81af92d48f626cc0128abc1670be80
parent15b3d324c8980022071710b5096b705eb6b74fca
ASoC: tlv320adcx140: Add support for configuring GPIO pin

Add support to configure the GPIO pin to the specific configuration.
The GPIO pin can be configured as GPO, IRQ, SDOUT2, PDMCLK, MICBASE_EN,
GPI, MCLK, SDIN, PDMDIN1, PDMDIN2, PDMDIN3 or PDMDIN4 and the output
drive can be configured with various configuration.

Signed-off-by: Camel Guo <camelg@axis.com>
Link: https://lore.kernel.org/r/20200918114025.18205-2-camel.guo@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320adcx140.c
sound/soc/codecs/tlv320adcx140.h