]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: add support for SSI asynchronous mode to the Freescale SSI drivers
authorTimur Tabi <timur@freescale.com>
Thu, 5 Mar 2009 23:23:37 +0000 (17:23 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Mar 2009 13:37:16 +0000 (13:37 +0000)
commit719c0c83a7384afe9eabc705d098f7cee79b87e6
treef228d03393c681176fa031f04584a4119c7ad175
parenta23c763c9e311cd82e7a9749346d29bf7393f4d5
ASoC: add support for SSI asynchronous mode to the Freescale SSI drivers

Add a new device tree property for the SSI node: "fsl,ssi-asynchronous".  If
defined, the SSI is programmed into asynchronous mode, otherwise it is
programmed into synchronous mode.  In asynchronous mode, pin SRCK must be
connected to the same clock source as STFS, and pin SRFS must be connected to
the same signal as STFS.  Asynchronous mode allows playback and capture to
use different sample sizes.  It also technically allows different sample rates,
but the driver does not support that.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/fsl_ssi.c
sound/soc/fsl/fsl_ssi.h
sound/soc/fsl/mpc8610_hpcd.c