]> Pileus Git - ~andy/linux/commit
ASoC: fsl-ssi: Add imx51-ssi and of_device_id matching
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 20 Dec 2013 13:11:30 +0000 (14:11 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 8 Jan 2014 17:20:31 +0000 (17:20 +0000)
commitc1953bfe1329eeb16991d430d574c4280697ad17
treeaf82981e9e83987c2528bb0e389124d25edffc8c
parent9368acc4383bd8cca671fdc49c5f7e241b6909b3
ASoC: fsl-ssi: Add imx51-ssi and of_device_id matching

There is a small but significant difference between imx21-ssi and
imx51-ssi and above. imx21-ssi does not allow online reconfiguration of
some registers. They have to be configured at the beginning.

imx51-ssi has to reconfigure the SSI unit while it is running. Otherwise
it would not be possible to have two streams in parallel. The new SDMA
unit in imx51 and above has to be configured before the first DMA
request arrives. Therefor we need to setup TDMAE/RDMAE just before
starting the stream.

This patch introduces distinct imx51-ssi as compatible and adds
of_device_id matching in the probe function.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_ssi.c