]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: DaVinci: Added two clocking possibilities to McBSP (I2S)
authorRaffaele Recalcati <raffaele.recalcati@bticino.it>
Tue, 6 Jul 2010 08:39:02 +0000 (10:39 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 6 Jul 2010 14:54:06 +0000 (23:54 +0900)
commita4c8ea2ddaed2f461606c2828b19786524b551ac
tree0b6b890a47554a276bbb836883f7cf1e2ab8799e
parent088fbab406e264a60fb06d3ea8d32a3e802a00b8
ASoC: DaVinci: Added two clocking possibilities to McBSP (I2S)

    Added two clocking options for dm365 McBSP peripheral when used
    with I2S timings, that are SND_SOC_DAIFMT_CBS_CFS (the cpu generates
    clock and frame sync) and SND_SOC_DAIFMT_CBS_CFM (the cpu gets clock
    from external pin and generates frame sync).
    A slave clock management can be important when the external codec needs
    the system clock and the bit clock synchronized (tested with uda1345).
    This patch has been developed against the:
        http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git
    git tree and has been tested on bmx board (similar to dm365 evm, but using
    uda1345 as external audio codec).

Signed-off-by: Raffaele Recalcati <raffaele.recalcati@bticino.it>
Signed-off-by: Davide Bonfanti <davide.bonfanti@bticino.it>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Acked-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-i2s.c
sound/soc/davinci/davinci-i2s.h