#include <linux/clk.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/pm.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/tlv.h>
Go to the source code of this file.
#define AUDIO_MUTE_MSK 0x80 |
#define BCLK_TO_FS_MSK 0x30 |
#define CAP_FREQ_RANGE_MSK 0x0C |
#define CODEC_MUTE_VAL 0x80 |
#define I2S_DATA_FORMAT 0x12 |
#define LEFT_J_DATA_FORMAT 0x10 |
#define PDATA_LEN_MSK 0xC0 |
#define PLAY_FREQ_RANGE_MSK 0x70 |
#define POWER_CNTLMSAK 0x40 |
#define RIGHT_J_DATA_FORMAT 0x14 |
#define STA529_ADCCFG 0x1E /*mic_select*/ |
#define STA529_CKOCFG 0x1F |
#define STA529_FFXCFG0 0x00 |
#define STA529_FFXCFG1 0x01 |
#define STA529_FFXST 0x23 |
Value:
SNDRV_PCM_FMTBIT_S24_LE | \
SNDRV_PCM_FMTBIT_S32_LE)
Definition at line 72 of file sta529.c.
#define STA529_MAX_REGISTER 0x32 |
#define STA529_P2SCFG0 0x0C |
#define STA529_P2SCFG1 0x0D |
#define STA529_PADST0 0x21 |
#define STA529_PADST1 0x22 |
#define STA529_PLLCFG0 0x14 |
#define STA529_PLLCFG1 0x15 |
#define STA529_PLLCFG2 0x16 |
#define STA529_PLLCFG3 0x17 |
#define STA529_PLLPFE 0x18 |
#define STA529_PLLST 0x19 |
#define STA529_POWST 0x32 |
#define STA529_PWMIN1 0x2D |
#define STA529_PWMIN2 0x2E |
Value:
SNDRV_PCM_RATE_11025 | \
SNDRV_PCM_RATE_16000 | \
SNDRV_PCM_RATE_22050 | \
SNDRV_PCM_RATE_32000 | \
SNDRV_PCM_RATE_44100 | \
SNDRV_PCM_RATE_48000)
Definition at line 64 of file sta529.c.
#define STA529_S2PCFG0 0x0A |
#define STA529_S2PCFG1 0x0B |
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
sta529_i2c_id |
|
|
) |
| |
module_i2c_driver |
( |
sta529_i2c_driver |
| ) |
|