#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/clk.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/initval.h>
#include <sound/soc.h>
#include "fsl_ssi.h"
#include "imx-pcm.h"
Go to the source code of this file.
#define FSLSSI_I2S_FORMATS |
Value:FSLSSI_I2S_FORMATS: audio formats supported by the SSI
This driver currently only supports the SSI running in I2S slave mode.
The SSI has a limitation in that the samples must be in the same byte order as the host CPU. This is because when multiple bytes are written to the STX register, the bytes and bits must be written in the same order. The STX is a shift register, so all the bits need to be aligned (bit-endianness must match byte-endianness). Processors typically write the bits within a byte in the same order that the bytes of a word are written in. So if the host CPU is big-endian, then only big-endian samples will be written to STX properly.
Definition at line 83 of file fsl_ssi.c.
Value:
SNDRV_PCM_RATE_CONTINUOUS)
FSLSSI_I2S_RATES: sample rates supported by the I2S
This driver currently only supports the SSI 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 61 of file fsl_ssi.c.
Value:do { \
ssi_private->stats.name); \
} while (0)
Definition at line 581 of file fsl_ssi.c.
MODULE_DESCRIPTION |
( |
"Freescale Synchronous Serial Interface (SSI) ASoC Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
fsl_ssi_ids |
|
|
) |
| |
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_platform_driver |
( |
fsl_ssi_driver |
| ) |
|