]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sh: fsi: enable chip specific data transfer mode
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 18 May 2012 00:36:47 +0000 (17:36 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 19 May 2012 18:41:45 +0000 (19:41 +0100)
commitdab1ae7e25692349841ec7ac166287509024f15f
treefb8cdf68c82b9652e5a96b8eab444c7f22d86f3f
parent2f1d722b4bb250d38ed75a300f0183c7bf1282c7
ASoC: sh: fsi: enable chip specific data transfer mode

SupherH FSI2 can use special data transfer,
but it depends on CPU-FSI2 connection style.

We can use 16bit data stream mode if it was valid connection,
and it is required for 16bit data DMA transfer / SPDIF sound output.
We can use 24bit data transfer if it was invalid connection.

We can select connection type if CPU is SH7372,
and it is always valid connection if latest SuperH.

This patch adds new bus_option and fsi_bus_setup()
for supporting these feature.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/sh_fsi.h
sound/soc/sh/fsi.c