]> git.baikalelectronics.ru Git - kernel.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)
commit5d80eeddaab2314f5029954ff4e4b19555851e17
tree357d52e1ac81af92d48f626cc0128abc1670be80
parentb3e0b11cfc1bf30a353ea82a69b86a8d29cd98ff
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