ASoC: ti: davinci-mcasp: Add support for GPIO mode of the pins
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 3 Jan 2019 14:05:52 +0000 (16:05 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 4 Jan 2019 15:20:48 +0000 (15:20 +0000)
commit540f1ba7b3a5596827a3bfeaae9c5e754347c933
tree9dbb7b7f1a17d66785e03f934281e96723ad4228
parent4664b94c98b4f9fdd3845da41d5c65288e59c66c
ASoC: ti: davinci-mcasp: Add support for GPIO mode of the pins

All McASP pin can be configured as GPIO.
Add gpiochip support for McASP and only enable it when the
gpio-controller is present in the DT node.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-mcasp.c