ASoC: tlv320aic32x4: Add gpio configuration to the codec
authorDan Murphy <dmurphy@ti.com>
Wed, 12 Jul 2017 18:37:00 +0000 (13:37 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2017 15:22:28 +0000 (16:22 +0100)
commitb9045b9c6b79d2ea5b888a0f9e9aa156d09ba8a9
treea865e0d7fa0f89f5b38b5b8c02b1aed0c31bba0d
parentfde0543f1129967dfa73f1fa3477c7fe12052da5
ASoC: tlv320aic32x4: Add gpio configuration to the codec

Add the ability to configure the MFP1->MFP5 registers
as GPIOs.  In addition adding ALSA controls to get and set
the GPIO state.

Per the data sheet each MFP can be configured as a GPIO
input only, output only or either an input or output.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/tlv320aic32x4.txt
include/sound/tlv320aic32x4.h
sound/soc/codecs/tlv320aic32x4.c
sound/soc/codecs/tlv320aic32x4.h