Lines Matching +full:0 +full:x4080
24 #define ADAU1781_DMIC_BEEP_CTRL 0x4008
25 #define ADAU1781_LEFT_PGA 0x400e
26 #define ADAU1781_RIGHT_PGA 0x400f
27 #define ADAU1781_LEFT_PLAYBACK_MIXER 0x401c
28 #define ADAU1781_RIGHT_PLAYBACK_MIXER 0x401e
29 #define ADAU1781_MONO_PLAYBACK_MIXER 0x401f
30 #define ADAU1781_LEFT_LINEOUT 0x4025
31 #define ADAU1781_RIGHT_LINEOUT 0x4026
32 #define ADAU1781_SPEAKER 0x4027
33 #define ADAU1781_BEEP_ZC 0x4028
34 #define ADAU1781_DEJITTER 0x4032
35 #define ADAU1781_DIG_PWDN0 0x4080
36 #define ADAU1781_DIG_PWDN1 0x4081
44 { ADAU1781_DMIC_BEEP_CTRL, 0x00 },
45 { ADAU1781_LEFT_PGA, 0xc7 },
46 { ADAU1781_RIGHT_PGA, 0xc7 },
47 { ADAU1781_LEFT_PLAYBACK_MIXER, 0x00 },
48 { ADAU1781_RIGHT_PLAYBACK_MIXER, 0x00 },
49 { ADAU1781_MONO_PLAYBACK_MIXER, 0x00 },
50 { ADAU1781_LEFT_LINEOUT, 0x00 },
51 { ADAU1781_RIGHT_LINEOUT, 0x00 },
52 { ADAU1781_SPEAKER, 0x00 },
53 { ADAU1781_BEEP_ZC, 0x19 },
54 { ADAU1781_DEJITTER, 0x60 },
55 { ADAU1781_DIG_PWDN1, 0x0c },
56 { ADAU1781_DIG_PWDN1, 0x00 },
57 { ADAU17X1_CLOCK_CONTROL, 0x00 },
58 { ADAU17X1_PLL_CONTROL, 0x00 },
59 { ADAU17X1_REC_POWER_MGMT, 0x00 },
60 { ADAU17X1_MICBIAS, 0x04 },
61 { ADAU17X1_SERIAL_PORT0, 0x00 },
62 { ADAU17X1_SERIAL_PORT1, 0x00 },
63 { ADAU17X1_CONVERTER0, 0x00 },
64 { ADAU17X1_CONVERTER1, 0x00 },
65 { ADAU17X1_LEFT_INPUT_DIGITAL_VOL, 0x00 },
66 { ADAU17X1_RIGHT_INPUT_DIGITAL_VOL, 0x00 },
67 { ADAU17X1_ADC_CONTROL, 0x00 },
68 { ADAU17X1_PLAY_POWER_MGMT, 0x00 },
69 { ADAU17X1_DAC_CONTROL0, 0x00 },
70 { ADAU17X1_DAC_CONTROL1, 0x00 },
71 { ADAU17X1_DAC_CONTROL2, 0x00 },
72 { ADAU17X1_SERIAL_PORT_PAD, 0x00 },
73 { ADAU17X1_CONTROL_PORT_PAD0, 0x00 },
74 { ADAU17X1_CONTROL_PORT_PAD1, 0x00 },
75 { ADAU17X1_DSP_SAMPLING_RATE, 0x01 },
76 { ADAU17X1_SERIAL_INPUT_ROUTE, 0x00 },
77 { ADAU17X1_SERIAL_OUTPUT_ROUTE, 0x00 },
78 { ADAU17X1_DSP_ENABLE, 0x00 },
79 { ADAU17X1_DSP_RUN, 0x00 },
80 { ADAU17X1_SERIAL_SAMPLING_RATE, 0x00 },
83 static const DECLARE_TLV_DB_SCALE(adau1781_speaker_tlv, 0, 200, 0);
86 0, 1, TLV_DB_SCALE_ITEM(0, 600, 0),
87 2, 3, TLV_DB_SCALE_ITEM(1000, 400, 0),
88 4, 4, TLV_DB_SCALE_ITEM(1700, 0, 0),
89 5, 7, TLV_DB_SCALE_ITEM(2000, 600, 0)
93 0, 1, TLV_DB_SCALE_ITEM(0, 600, 0),
94 2, 3, TLV_DB_SCALE_ITEM(1000, 400, 0),
95 4, 4, TLV_DB_SCALE_ITEM(-2300, 0, 0),
96 5, 7, TLV_DB_SCALE_ITEM(2000, 600, 0)
122 SOC_SINGLE_TLV("Beep Capture Volume", ADAU1781_DMIC_BEEP_CTRL, 0, 7, 0,
125 ADAU1781_RIGHT_PGA, 5, 7, 0, adau1781_pga_tlv),
127 ADAU1781_RIGHT_PGA, 1, 1, 0),
130 ADAU1781_RIGHT_LINEOUT, 1, 1, 0),
131 SOC_SINGLE("Beep ZC Switch", ADAU1781_BEEP_ZC, 0, 1, 0),
134 0, 1, 0),
135 SOC_SINGLE_TLV("Mono Playback Volume", ADAU1781_SPEAKER, 6, 3, 0,
147 3, 1, 0),
152 ADAU1781_LEFT_PLAYBACK_MIXER, 5, 1, 0),
154 ADAU1781_LEFT_PLAYBACK_MIXER, 1, 8, 0, adau1781_sidetone_tlv),
159 ADAU1781_RIGHT_PLAYBACK_MIXER, 6, 1, 0),
161 ADAU1781_LEFT_PLAYBACK_MIXER, 1, 8, 0, adau1781_sidetone_tlv),
166 ADAU1781_MONO_PLAYBACK_MIXER, 7, 1, 0),
168 ADAU1781_MONO_PLAYBACK_MIXER, 6, 1, 0),
170 ADAU1781_MONO_PLAYBACK_MIXER, 2, 8, 0, adau1781_sidetone_tlv),
181 regmap_write(adau->regmap, ADAU1781_DEJITTER, 0); in adau1781_dejitter_fixup()
185 return 0; in adau1781_dejitter_fixup()
189 SND_SOC_DAPM_PGA("Left PGA", ADAU1781_LEFT_PGA, 0, 0, NULL, 0),
190 SND_SOC_DAPM_PGA("Right PGA", ADAU1781_RIGHT_PGA, 0, 0, NULL, 0),
192 SND_SOC_DAPM_OUT_DRV("Speaker", ADAU1781_SPEAKER, 0, 0, NULL, 0),
194 SOC_MIXER_NAMED_CTL_ARRAY("Beep Mixer", ADAU17X1_MICBIAS, 4, 0,
197 SOC_MIXER_ARRAY("Left Lineout Mixer", SND_SOC_NOPM, 0, 0,
199 SOC_MIXER_ARRAY("Right Lineout Mixer", SND_SOC_NOPM, 0, 0,
201 SOC_MIXER_ARRAY("Mono Mixer", SND_SOC_NOPM, 0, 0,
205 2, 0, NULL, 0),
207 3, 0, NULL, 0),
209 5, 0, NULL, 0),
210 SND_SOC_DAPM_SUPPLY("Serial Ports", ADAU1781_DIG_PWDN0, 4, 0, NULL, 0),
211 SND_SOC_DAPM_SUPPLY("ADC Engine", ADAU1781_DIG_PWDN0, 7, 0, NULL, 0),
212 SND_SOC_DAPM_SUPPLY("DAC Engine", ADAU1781_DIG_PWDN1, 0, 0, NULL, 0),
213 SND_SOC_DAPM_SUPPLY("Digital Mic", ADAU1781_DIG_PWDN1, 1, 0, NULL, 0),
215 SND_SOC_DAPM_SUPPLY("Sound Engine", ADAU1781_DIG_PWDN0, 0, 0, NULL, 0),
216 SND_SOC_DAPM_SUPPLY_S("SYSCLK", 1, ADAU1781_DIG_PWDN0, 1, 0, NULL, 0),
218 SND_SOC_DAPM_SUPPLY("Zero Crossing Detector", ADAU1781_DIG_PWDN1, 2, 0,
219 NULL, 0),
296 SND_SOC_DAPM_MUX("DMIC Select", SND_SOC_NOPM, 0, 0, &adau1781_dmic_mux),
298 SND_SOC_DAPM_ADC("DMIC1", NULL, ADAU1781_DMIC_BEEP_CTRL, 4, 0),
299 SND_SOC_DAPM_ADC("DMIC2", NULL, ADAU1781_DMIC_BEEP_CTRL, 5, 0),
332 regmap_update_bits(adau->regmap, ADAU1781_DIG_PWDN1, 0x8, 0x8); in adau1781_set_bias_level()
335 regmap_update_bits(adau->regmap, ADAU1781_DIG_PWDN1, 0xc, 0x0); in adau1781_set_bias_level()
337 ADAU17X1_CLOCK_CONTROL_SYSCLK_EN, 0); in adau1781_set_bias_level()
341 return 0; in adau1781_set_bias_level()
376 val = 0; in adau1781_set_input_mode()
422 if (ret < 0) in adau1781_component_probe()
425 return 0; in adau1781_component_probe()
469 .max_register = 0x40f8,