ssi.c (dee89c4d94433520e4e3977ae203d4cfbfe385fb) ssi.c (3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54)
1/*
2 * Serial Sound Interface (I2S) support for SH7760/SH7780
3 *
4 * Copyright (c) 2007 Manuel Lauss <mano@roarinelk.homelinux.net>
5 *
6 * licensed under the terms outlined in the file COPYING at the root
7 * of the linux kernel sources.
8 *

--- 326 unchanged lines hidden (view full) ---

335 SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_U20_3LE | \
336 SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_U24_3LE | \
337 SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_U32_LE)
338
339struct snd_soc_dai sh4_ssi_dai[] = {
340{
341 .name = "SSI0",
342 .id = 0,
1/*
2 * Serial Sound Interface (I2S) support for SH7760/SH7780
3 *
4 * Copyright (c) 2007 Manuel Lauss <mano@roarinelk.homelinux.net>
5 *
6 * licensed under the terms outlined in the file COPYING at the root
7 * of the linux kernel sources.
8 *

--- 326 unchanged lines hidden (view full) ---

335 SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_U20_3LE | \
336 SNDRV_PCM_FMTBIT_S24_3LE | SNDRV_PCM_FMTBIT_U24_3LE | \
337 SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_U32_LE)
338
339struct snd_soc_dai sh4_ssi_dai[] = {
340{
341 .name = "SSI0",
342 .id = 0,
343 .type = SND_SOC_DAI_I2S,
344 .playback = {
345 .rates = SSI_RATES,
346 .formats = SSI_FMTS,
347 .channels_min = 2,
348 .channels_max = 8,
349 },
350 .capture = {
351 .rates = SSI_RATES,

--- 10 unchanged lines hidden (view full) ---

362 .set_clkdiv = ssi_set_clkdiv,
363 .set_fmt = ssi_set_fmt,
364 },
365},
366#ifdef CONFIG_CPU_SUBTYPE_SH7760
367{
368 .name = "SSI1",
369 .id = 1,
343 .playback = {
344 .rates = SSI_RATES,
345 .formats = SSI_FMTS,
346 .channels_min = 2,
347 .channels_max = 8,
348 },
349 .capture = {
350 .rates = SSI_RATES,

--- 10 unchanged lines hidden (view full) ---

361 .set_clkdiv = ssi_set_clkdiv,
362 .set_fmt = ssi_set_fmt,
363 },
364},
365#ifdef CONFIG_CPU_SUBTYPE_SH7760
366{
367 .name = "SSI1",
368 .id = 1,
370 .type = SND_SOC_DAI_I2S,
371 .playback = {
372 .rates = SSI_RATES,
373 .formats = SSI_FMTS,
374 .channels_min = 2,
375 .channels_max = 8,
376 },
377 .capture = {
378 .rates = SSI_RATES,

--- 21 unchanged lines hidden ---
369 .playback = {
370 .rates = SSI_RATES,
371 .formats = SSI_FMTS,
372 .channels_min = 2,
373 .channels_max = 8,
374 },
375 .capture = {
376 .rates = SSI_RATES,

--- 21 unchanged lines hidden ---