Commit c4f2a6b6 authored by Adam Serbinski's avatar Adam Serbinski

PCM186x: DSP configuration

parent 52592074
This diff is collapsed.
......@@ -211,6 +211,50 @@ enum pcm186x_type {
#define PCM186X_MMAP_STAT_R_REQ BIT(1)
#define PCM186X_MMAP_STAT_W_REQ BIT(0)
#define PCM186X_MAX_NR_BUSY_CHECKS 16
#define PCM186X_DSP_MIX1_CH1L 0x00
#define PCM186X_DSP_MIX1_CH1R 0x01
#define PCM186X_DSP_MIX1_CH2L 0x02
#define PCM186X_DSP_MIX1_CH2R 0x03
#define PCM186X_DSP_MIX1_I2SL 0x04
#define PCM186X_DSP_MIX1_I2SR 0x05
#define PCM186X_DSP_MIX2_CH1L 0x06
#define PCM186X_DSP_MIX2_CH1R 0x07
#define PCM186X_DSP_MIX2_CH2L 0x08
#define PCM186X_DSP_MIX2_CH2R 0x09
#define PCM186X_DSP_MIX2_I2SL 0x0a
#define PCM186X_DSP_MIX2_I2SR 0x0b
#define PCM186X_DSP_MIX3_CH1L 0x0c
#define PCM186X_DSP_MIX3_CH1R 0x0d
#define PCM186X_DSP_MIX3_CH2L 0x0e
#define PCM186X_DSP_MIX3_CH2R 0x0f
#define PCM186X_DSP_MIX3_I2SL 0x10
#define PCM186X_DSP_MIX3_I2SR 0x11
#define PCM186X_DSP_MIX4_CH1L 0x12
#define PCM186X_DSP_MIX4_CH1R 0x13
#define PCM186X_DSP_MIX4_CH2L 0x14
#define PCM186X_DSP_MIX4_CH2R 0x15
#define PCM186X_DSP_MIX4_I2SL 0x16
#define PCM186X_DSP_MIX4_I2SR 0x17
#define PCM186X_DSP_LPF_B0 0x20
#define PCM186X_DSP_LPF_B1 0x21
#define PCM186X_DSP_LPF_B2 0x22
#define PCM186X_DSP_LPF_A1 0x23
#define PCM186X_DSP_LPF_A2 0x24
#define PCM186X_DSP_HPF_B0 0x25
#define PCM186X_DSP_HPF_B1 0x26
#define PCM186X_DSP_HPF_B2 0x27
#define PCM186X_DSP_HPF_A1 0x28
#define PCM186X_DSP_HPF_A2 0x29
#define PCM186X_DSP_LOSS_THRESH 0x2c
#define PCM186X_DSP_RES_THRESH 0x2d
/* PCM186X_PAGE */
#define PCM186X_PAGE_0 0x00
#define PCM186X_PAGE_1 0x01
#define PCM186X_PAGE_3 0x03
extern const struct regmap_config pcm186x_regmap;
int pcm186x_probe(struct device *dev, enum pcm186x_type type, int irq,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment