ASoC: fsl_sai: Allow setting the SAI MCLK direction
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 4 May 2016 22:33:59 +0000 (19:33 -0300)
committerMark Brown <broonie@kernel.org>
Thu, 5 May 2016 15:44:22 +0000 (16:44 +0100)
commit4d2458507d0b465c62ae80f3e81b8c008ec96b05
tree8cee8aa3c236270a174063cc5cdd95f8a94808fc
parent1593af62b694b3638edf577e3b763fa1a4ca3d76
ASoC: fsl_sai: Allow setting the SAI MCLK direction

On mx6ul the General Purpose Register 1 (GPR1) contains the following
bits for configuring the direction of the SAI MCLKs:
SAI1_MCLK_DIR, SAI2_MCLK_DIR, SAI3_MCLK_DIR

Introduce  the "fsl,sai-mclk-direction-output" optional property to allow
configuring the SAI_MCLK outputs.

Tested on a imx6ul-evk board.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/fsl-sai.txt
include/linux/mfd/syscon/imx6q-iomuxc-gpr.h
sound/soc/fsl/fsl_sai.c