2 * ALSA I2S Interface for the Broadcom BCM947XX family of SOCs
4 * Copyright (C) 2009, Broadcom Corporation
7 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
12 * $Id: bcm947xx-i2s.h,v 1.1 2009/10/30 20:46:42 Exp $
15 #ifndef _BCM947XX_I2S_H
16 #define _BCM947XX_I2S_H
18 /* bcm947xx DAI ID's */
19 #define BCM947XX_DAI_I2S 0
22 #define BCM947XX_I2S_SYSCLK 0
24 extern struct snd_soc_cpu_dai bcm947xx_i2s_dai
;
26 typedef struct bcm947xx_i2s_info bcm947xx_i2s_info_t
;
27 struct bcm947xx_i2s_info
{
29 struct snd_card
*card
;
30 // struct snd_pcm *pcm[BCM947XX_PCM_LAST];
36 void *regsva
; /* opaque chip registers virtual address */
37 i2sregs_t
*regs
; /* pointer to device registers */
38 hnddma_t
*di
[1]; /* hnddma handles, per fifo */
39 si_t
*sih
; /* SB handle (cookie for siutils calls) */
40 uint32 mclk
; /* Frequency of system MCLK */
43 extern bcm947xx_i2s_info_t
*snd_bcm
;
45 #endif /* _BCM947XX_I2S_H */