Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mpc5200_psc_i2s.c File Reference
#include <linux/module.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <asm/mpc52xx_psc.h>
#include "mpc5200_dma.h"

Go to the source code of this file.

Macros

#define PSC_I2S_RATES
 
#define PSC_I2S_FORMATS
 

Functions

 MODULE_DEVICE_TABLE (of, psc_i2s_match)
 
 module_platform_driver (psc_i2s_driver)
 
 MODULE_AUTHOR ("Grant Likely <grant.likely@secretlab.ca>")
 
 MODULE_DESCRIPTION ("Freescale MPC5200 PSC in I2S mode ASoC Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define PSC_I2S_FORMATS
Value:

PSC_I2S_FORMATS: audio formats supported by the PSC I2S mode

Definition at line 35 of file mpc5200_psc_i2s.c.

#define PSC_I2S_RATES
Value:
SNDRV_PCM_RATE_CONTINUOUS)

PSC_I2S_RATES: sample rates supported by the I2S

This driver currently only supports the PSC running in I2S slave mode, which means the codec determines the sample rate. Therefore, we tell ALSA that we support all rates and let the codec driver decide what rates are really supported.

Definition at line 29 of file mpc5200_psc_i2s.c.

Function Documentation

MODULE_AUTHOR ( "Grant Likely <grant.likely@secretlab.ca>"  )
MODULE_DESCRIPTION ( "Freescale MPC5200 PSC in I2S mode ASoC Driver"  )
MODULE_DEVICE_TABLE ( of  ,
psc_i2s_match   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( psc_i2s_driver  )