Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
raumfeld.c File Reference
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <asm/mach-types.h>
#include "pxa-ssp.h"

Go to the source code of this file.

Macros

#define GPIO_SPDIF_RESET   (38)
 
#define GPIO_MCLK_RESET   (111)
 
#define GPIO_CODEC_RESET   (120)
 
#define MAX9485_MCLK_FREQ_112896   0x22
 
#define MAX9485_MCLK_FREQ_122880   0x23
 
#define MAX9485_MCLK_FREQ_225792   0x32
 
#define MAX9485_MCLK_FREQ_245760   0x33
 
#define DAI_LINK_CS4270
 
#define DAI_LINK_AK4104
 

Functions

 module_init (raumfeld_audio_init)
 
 module_exit (raumfeld_audio_exit)
 
 MODULE_AUTHOR ("Daniel Mack <[email protected]>")
 
 MODULE_DESCRIPTION ("Raumfeld audio SoC")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DAI_LINK_AK4104
Value:
{ \
.name = "ak4104", \
.stream_name = "Playback", \
.cpu_dai_name = "pxa-ssp-dai.1", \
.codec_dai_name = "ak4104-hifi", \
.platform_name = "pxa-pcm-audio", \
.ops = &raumfeld_ak4104_ops, \
.codec_name = "spi0.0", \
}

Definition at line 239 of file raumfeld.c.

#define DAI_LINK_CS4270
Value:
{ \
.name = "CS4270", \
.stream_name = "CS4270", \
.cpu_dai_name = "pxa-ssp-dai.0", \
.platform_name = "pxa-pcm-audio", \
.codec_dai_name = "cs4270-hifi", \
.codec_name = "cs4270.0-0048", \
.ops = &raumfeld_cs4270_ops, \
}

Definition at line 228 of file raumfeld.c.

#define GPIO_CODEC_RESET   (120)

Definition at line 32 of file raumfeld.c.

#define GPIO_MCLK_RESET   (111)

Definition at line 31 of file raumfeld.c.

#define GPIO_SPDIF_RESET   (38)

Definition at line 30 of file raumfeld.c.

#define MAX9485_MCLK_FREQ_112896   0x22

Definition at line 39 of file raumfeld.c.

#define MAX9485_MCLK_FREQ_122880   0x23

Definition at line 40 of file raumfeld.c.

#define MAX9485_MCLK_FREQ_225792   0x32

Definition at line 41 of file raumfeld.c.

#define MAX9485_MCLK_FREQ_245760   0x33

Definition at line 42 of file raumfeld.c.

Function Documentation

MODULE_AUTHOR ( "Daniel Mack <[email protected]>"  )
MODULE_DESCRIPTION ( "Raumfeld audio SoC"  )
module_exit ( raumfeld_audio_exit  )
module_init ( raumfeld_audio_init  )
MODULE_LICENSE ( "GPL"  )