Lines Matching +full:0 +full:x0000004a
41 #define CS35L36_VALID_PDATA 0x80000000
68 {32768, 0x00, 0x05},
69 {8000, 0x01, 0x03},
70 {11025, 0x02, 0x03},
71 {12000, 0x03, 0x03},
72 {16000, 0x04, 0x04},
73 {22050, 0x05, 0x04},
74 {24000, 0x06, 0x04},
75 {32000, 0x07, 0x05},
76 {44100, 0x08, 0x05},
77 {48000, 0x09, 0x05},
78 {88200, 0x0A, 0x06},
79 {96000, 0x0B, 0x06},
80 {128000, 0x0C, 0x07},
81 {176400, 0x0D, 0x07},
82 {192000, 0x0E, 0x07},
83 {256000, 0x0F, 0x08},
84 {352800, 0x10, 0x08},
85 {384000, 0x11, 0x08},
86 {512000, 0x12, 0x09},
87 {705600, 0x13, 0x09},
88 {750000, 0x14, 0x09},
89 {768000, 0x15, 0x09},
90 {1000000, 0x16, 0x0A},
91 {1024000, 0x17, 0x0A},
92 {1200000, 0x18, 0x0A},
93 {1411200, 0x19, 0x0A},
94 {1500000, 0x1A, 0x0A},
95 {1536000, 0x1B, 0x0A},
96 {2000000, 0x1C, 0x0A},
97 {2048000, 0x1D, 0x0A},
98 {2400000, 0x1E, 0x0A},
99 {2822400, 0x1F, 0x0A},
100 {3000000, 0x20, 0x0A},
101 {3072000, 0x21, 0x0A},
102 {3200000, 0x22, 0x0A},
103 {4000000, 0x23, 0x0A},
104 {4096000, 0x24, 0x0A},
105 {4800000, 0x25, 0x0A},
106 {5644800, 0x26, 0x0A},
107 {6000000, 0x27, 0x0A},
108 {6144000, 0x28, 0x0A},
109 {6250000, 0x29, 0x08},
110 {6400000, 0x2A, 0x0A},
111 {6500000, 0x2B, 0x08},
112 {6750000, 0x2C, 0x09},
113 {7526400, 0x2D, 0x0A},
114 {8000000, 0x2E, 0x0A},
115 {8192000, 0x2F, 0x0A},
116 {9600000, 0x30, 0x0A},
117 {11289600, 0x31, 0x0A},
118 {12000000, 0x32, 0x0A},
119 {12288000, 0x33, 0x0A},
120 {12500000, 0x34, 0x08},
121 {12800000, 0x35, 0x0A},
122 {13000000, 0x36, 0x0A},
123 {13500000, 0x37, 0x0A},
124 {19200000, 0x38, 0x0A},
125 {22579200, 0x39, 0x0A},
126 {24000000, 0x3A, 0x0A},
127 {24576000, 0x3B, 0x0A},
128 {25000000, 0x3C, 0x0A},
129 {25600000, 0x3D, 0x0A},
130 {26000000, 0x3E, 0x0A},
131 {27000000, 0x3F, 0x0A},
135 {CS35L36_TESTKEY_CTRL, 0x00000000},
136 {CS35L36_USERKEY_CTL, 0x00000000},
137 {CS35L36_OTP_CTRL1, 0x00002460},
138 {CS35L36_OTP_CTRL2, 0x00000000},
139 {CS35L36_OTP_CTRL3, 0x00000000},
140 {CS35L36_OTP_CTRL4, 0x00000000},
141 {CS35L36_OTP_CTRL5, 0x00000000},
142 {CS35L36_PAC_CTL1, 0x00000004},
143 {CS35L36_PAC_CTL2, 0x00000000},
144 {CS35L36_PAC_CTL3, 0x00000000},
145 {CS35L36_PWR_CTRL1, 0x00000000},
146 {CS35L36_PWR_CTRL2, 0x00003321},
147 {CS35L36_PWR_CTRL3, 0x01000010},
148 {CS35L36_CTRL_OVRRIDE, 0x00000002},
149 {CS35L36_AMP_OUT_MUTE, 0x00000000},
150 {CS35L36_OTP_TRIM_STATUS, 0x00000000},
151 {CS35L36_DISCH_FILT, 0x00000000},
152 {CS35L36_PROTECT_REL_ERR, 0x00000000},
153 {CS35L36_PAD_INTERFACE, 0x00000038},
154 {CS35L36_PLL_CLK_CTRL, 0x00000010},
155 {CS35L36_GLOBAL_CLK_CTRL, 0x00000003},
156 {CS35L36_ADC_CLK_CTRL, 0x00000000},
157 {CS35L36_SWIRE_CLK_CTRL, 0x00000000},
158 {CS35L36_SP_SCLK_CLK_CTRL, 0x00000000},
159 {CS35L36_MDSYNC_EN, 0x00000000},
160 {CS35L36_MDSYNC_TX_ID, 0x00000000},
161 {CS35L36_MDSYNC_PWR_CTRL, 0x00000000},
162 {CS35L36_MDSYNC_DATA_TX, 0x00000000},
163 {CS35L36_MDSYNC_TX_STATUS, 0x00000002},
164 {CS35L36_MDSYNC_RX_STATUS, 0x00000000},
165 {CS35L36_MDSYNC_ERR_STATUS, 0x00000000},
166 {CS35L36_BSTCVRT_VCTRL1, 0x00000000},
167 {CS35L36_BSTCVRT_VCTRL2, 0x00000001},
168 {CS35L36_BSTCVRT_PEAK_CUR, 0x0000004A},
169 {CS35L36_BSTCVRT_SFT_RAMP, 0x00000003},
170 {CS35L36_BSTCVRT_COEFF, 0x00002424},
171 {CS35L36_BSTCVRT_SLOPE_LBST, 0x00005800},
172 {CS35L36_BSTCVRT_SW_FREQ, 0x00010000},
173 {CS35L36_BSTCVRT_DCM_CTRL, 0x00002001},
174 {CS35L36_BSTCVRT_DCM_MODE_FORCE, 0x00000000},
175 {CS35L36_BSTCVRT_OVERVOLT_CTRL, 0x00000130},
176 {CS35L36_VPI_LIMIT_MODE, 0x00000000},
177 {CS35L36_VPI_LIMIT_MINMAX, 0x00003000},
178 {CS35L36_VPI_VP_THLD, 0x00101010},
179 {CS35L36_VPI_TRACK_CTRL, 0x00000000},
180 {CS35L36_VPI_TRIG_MODE_CTRL, 0x00000000},
181 {CS35L36_VPI_TRIG_STEPS, 0x00000000},
182 {CS35L36_VI_SPKMON_FILT, 0x00000003},
183 {CS35L36_VI_SPKMON_GAIN, 0x00000909},
184 {CS35L36_VI_SPKMON_IP_SEL, 0x00000000},
185 {CS35L36_DTEMP_WARN_THLD, 0x00000002},
186 {CS35L36_DTEMP_STATUS, 0x00000000},
187 {CS35L36_VPVBST_FS_SEL, 0x00000001},
188 {CS35L36_VPVBST_VP_CTRL, 0x000001C0},
189 {CS35L36_VPVBST_VBST_CTRL, 0x000001C0},
190 {CS35L36_ASP_TX_PIN_CTRL, 0x00000028},
191 {CS35L36_ASP_RATE_CTRL, 0x00090000},
192 {CS35L36_ASP_FORMAT, 0x00000002},
193 {CS35L36_ASP_FRAME_CTRL, 0x00180018},
194 {CS35L36_ASP_TX1_TX2_SLOT, 0x00010000},
195 {CS35L36_ASP_TX3_TX4_SLOT, 0x00030002},
196 {CS35L36_ASP_TX5_TX6_SLOT, 0x00050004},
197 {CS35L36_ASP_TX7_TX8_SLOT, 0x00070006},
198 {CS35L36_ASP_RX1_SLOT, 0x00000000},
199 {CS35L36_ASP_RX_TX_EN, 0x00000000},
200 {CS35L36_ASP_RX1_SEL, 0x00000008},
201 {CS35L36_ASP_TX1_SEL, 0x00000018},
202 {CS35L36_ASP_TX2_SEL, 0x00000019},
203 {CS35L36_ASP_TX3_SEL, 0x00000028},
204 {CS35L36_ASP_TX4_SEL, 0x00000029},
205 {CS35L36_ASP_TX5_SEL, 0x00000020},
206 {CS35L36_ASP_TX6_SEL, 0x00000000},
207 {CS35L36_SWIRE_P1_TX1_SEL, 0x00000018},
208 {CS35L36_SWIRE_P1_TX2_SEL, 0x00000019},
209 {CS35L36_SWIRE_P2_TX1_SEL, 0x00000028},
210 {CS35L36_SWIRE_P2_TX2_SEL, 0x00000029},
211 {CS35L36_SWIRE_P2_TX3_SEL, 0x00000020},
212 {CS35L36_SWIRE_DP1_FIFO_CFG, 0x0000001B},
213 {CS35L36_SWIRE_DP2_FIFO_CFG, 0x0000001B},
214 {CS35L36_SWIRE_DP3_FIFO_CFG, 0x0000001B},
215 {CS35L36_SWIRE_PCM_RX_DATA, 0x00000000},
216 {CS35L36_SWIRE_FS_SEL, 0x00000001},
217 {CS35L36_AMP_DIG_VOL_CTRL, 0x00008000},
218 {CS35L36_VPBR_CFG, 0x02AA1905},
219 {CS35L36_VBBR_CFG, 0x02AA1905},
220 {CS35L36_VPBR_STATUS, 0x00000000},
221 {CS35L36_VBBR_STATUS, 0x00000000},
222 {CS35L36_OVERTEMP_CFG, 0x00000001},
223 {CS35L36_AMP_ERR_VOL, 0x00000000},
224 {CS35L36_CLASSH_CFG, 0x000B0405},
225 {CS35L36_CLASSH_FET_DRV_CFG, 0x00000111},
226 {CS35L36_NG_CFG, 0x00000033},
227 {CS35L36_AMP_GAIN_CTRL, 0x00000273},
228 {CS35L36_PWM_MOD_IO_CTRL, 0x00000000},
229 {CS35L36_PWM_MOD_STATUS, 0x00000000},
230 {CS35L36_DAC_MSM_CFG, 0x00000000},
231 {CS35L36_AMP_SLOPE_CTRL, 0x00000B00},
232 {CS35L36_AMP_PDM_VOLUME, 0x00000000},
233 {CS35L36_AMP_PDM_RATE_CTRL, 0x00000000},
234 {CS35L36_PDM_CH_SEL, 0x00000000},
235 {CS35L36_AMP_NG_CTRL, 0x0000212F},
236 {CS35L36_PDM_HIGHFILT_CTRL, 0x00000000},
237 {CS35L36_PAC_INT0_CTRL, 0x00000001},
238 {CS35L36_PAC_INT1_CTRL, 0x00000001},
239 {CS35L36_PAC_INT2_CTRL, 0x00000001},
240 {CS35L36_PAC_INT3_CTRL, 0x00000001},
241 {CS35L36_PAC_INT4_CTRL, 0x00000001},
242 {CS35L36_PAC_INT5_CTRL, 0x00000001},
243 {CS35L36_PAC_INT6_CTRL, 0x00000001},
244 {CS35L36_PAC_INT7_CTRL, 0x00000001},
447 static const DECLARE_TLV_DB_RANGE(dig_vol_tlv, 0, 912,
449 static DECLARE_TLV_DB_SCALE(amp_gain_tlv, 0, 1, 1);
454 static SOC_ENUM_SINGLE_DECL(pcm_sft_ramp, CS35L36_AMP_DIG_VOL_CTRL, 0,
465 ucontrol->value.integer.value[0] = cs35l36->ldm_mode_sel; in cs35l36_ldm_sel_get()
467 return 0; in cs35l36_ldm_sel_get()
477 int val = (ucontrol->value.integer.value[0]) ? CS35L36_NG_AMP_EN_MASK : in cs35l36_ldm_sel_put()
478 0; in cs35l36_ldm_sel_put()
485 return 0; in cs35l36_ldm_sel_put()
490 3, 0x4D0, 0x390, dig_vol_tlv),
491 SOC_SINGLE_TLV("Analog PCM Volume", CS35L36_AMP_GAIN_CTRL, 5, 0x13, 0,
495 CS35L36_AMP_ZC_SHIFT, 1, 0),
497 CS35L36_PDM_LDM_ENTER_SHIFT, 1, 0),
499 CS35L36_PDM_LDM_EXIT_SHIFT, 1, 0),
500 SOC_SINGLE_BOOL_EXT("LDM Select Switch", 0, cs35l36_ldm_sel_get,
531 0 << CS35L36_AMP_MUTE_SHIFT); in cs35l36_main_amp_event()
544 0 << CS35L36_GLOBAL_EN_SHIFT); in cs35l36_main_amp_event()
549 dev_dbg(component->dev, "Invalid event = 0x%x\n", event); in cs35l36_main_amp_event()
553 return 0; in cs35l36_main_amp_event()
580 dev_dbg(component->dev, "Invalid event = 0x%x\n", event); in cs35l36_boost_event()
584 return 0; in cs35l36_boost_event()
592 static SOC_ENUM_SINGLE_DECL(chansel_enum, CS35L36_ASP_RX1_SLOT, 0,
610 0x00, 0x08, 0x18, 0x19, 0x20, 0x28, 0x29
613 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx1_src_enum, CS35L36_ASP_TX1_SEL, 0,
620 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx2_src_enum, CS35L36_ASP_TX2_SEL, 0,
627 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx3_src_enum, CS35L36_ASP_TX3_SEL, 0,
634 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx4_src_enum, CS35L36_ASP_TX4_SEL, 0,
641 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx5_src_enum, CS35L36_ASP_TX5_SEL, 0,
648 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx6_src_enum, CS35L36_ASP_TX6_SEL, 0,
656 SND_SOC_DAPM_MUX("Channel Mux", SND_SOC_NOPM, 0, 0, &cs35l36_chan_mux),
657 SND_SOC_DAPM_AIF_IN("SDIN", NULL, 0, CS35L36_ASP_RX_TX_EN, 16, 0),
659 SND_SOC_DAPM_OUT_DRV_E("Main AMP", CS35L36_PWR_CTRL2, 0, 0, NULL, 0,
664 SND_SOC_DAPM_SWITCH("AMP Enable", SND_SOC_NOPM, 0, 1, &_enable_ctrl),
665 SND_SOC_DAPM_MIXER("CLASS H", CS35L36_PWR_CTRL3, 4, 0, NULL, 0),
666 SND_SOC_DAPM_SWITCH_E("BOOST Enable", SND_SOC_NOPM, 0, 0, &boost_ctrl,
670 SND_SOC_DAPM_AIF_OUT("ASPTX1", NULL, 0, CS35L36_ASP_RX_TX_EN, 0, 0),
671 SND_SOC_DAPM_AIF_OUT("ASPTX2", NULL, 1, CS35L36_ASP_RX_TX_EN, 1, 0),
672 SND_SOC_DAPM_AIF_OUT("ASPTX3", NULL, 2, CS35L36_ASP_RX_TX_EN, 2, 0),
673 SND_SOC_DAPM_AIF_OUT("ASPTX4", NULL, 3, CS35L36_ASP_RX_TX_EN, 3, 0),
674 SND_SOC_DAPM_AIF_OUT("ASPTX5", NULL, 4, CS35L36_ASP_RX_TX_EN, 4, 0),
675 SND_SOC_DAPM_AIF_OUT("ASPTX6", NULL, 5, CS35L36_ASP_RX_TX_EN, 5, 0),
677 SND_SOC_DAPM_MUX("ASPTX1SRC", SND_SOC_NOPM, 0, 0, &asp_tx1_src),
678 SND_SOC_DAPM_MUX("ASPTX2SRC", SND_SOC_NOPM, 0, 0, &asp_tx2_src),
679 SND_SOC_DAPM_MUX("ASPTX3SRC", SND_SOC_NOPM, 0, 0, &asp_tx3_src),
680 SND_SOC_DAPM_MUX("ASPTX4SRC", SND_SOC_NOPM, 0, 0, &asp_tx4_src),
681 SND_SOC_DAPM_MUX("ASPTX5SRC", SND_SOC_NOPM, 0, 0, &asp_tx5_src),
682 SND_SOC_DAPM_MUX("ASPTX6SRC", SND_SOC_NOPM, 0, 0, &asp_tx6_src),
684 SND_SOC_DAPM_ADC("VMON ADC", NULL, CS35L36_PWR_CTRL2, 12, 0),
685 SND_SOC_DAPM_ADC("IMON ADC", NULL, CS35L36_PWR_CTRL2, 13, 0),
686 SND_SOC_DAPM_ADC("VPMON ADC", NULL, CS35L36_PWR_CTRL2, 8, 0),
687 SND_SOC_DAPM_ADC("VBSTMON ADC", NULL, CS35L36_PWR_CTRL2, 9, 0),
767 clock_provider = 0; in cs35l36_set_dai_fmt()
785 clk_frc = 0; in cs35l36_set_dai_fmt()
800 asp_fmt = 0; in cs35l36_set_dai_fmt()
812 sclk_fmt = 0; in cs35l36_set_dai_fmt()
815 lrclk_fmt = 0; in cs35l36_set_dai_fmt()
823 lrclk_fmt = 0; in cs35l36_set_dai_fmt()
824 sclk_fmt = 0; in cs35l36_set_dai_fmt()
839 return 0; in cs35l36_set_dai_fmt()
848 {12000, 0x01},
849 {24000, 0x02},
850 {48000, 0x03},
851 {96000, 0x04},
852 {192000, 0x05},
853 {384000, 0x06},
854 {11025, 0x09},
855 {22050, 0x0A},
856 {44100, 0x0B},
857 {88200, 0x0C},
858 {176400, 0x0D},
859 {8000, 0x11},
860 {16000, 0x12},
861 {32000, 0x13},
873 for (i = 0; i < ARRAY_SIZE(cs35l36_fs_rates); i++) { in cs35l36_pcm_hw_params()
906 return 0; in cs35l36_pcm_hw_params()
938 return 0; in cs35l36_dai_set_sysclk()
946 for (i = 0; i < ARRAY_SIZE(cs35l36_pll_sysclk); i++) { in cs35l36_get_clk_config()
967 snd_pcm_hw_constraint_list(substream->runtime, 0, in cs35l36_pcm_startup()
970 return 0; in cs35l36_pcm_startup()
983 .id = 0,
1016 case 0: in cs35l36_component_set_sysclk()
1049 0 << CS35L36_PLL_REFCLK_EN_SHIFT); in cs35l36_component_set_sysclk()
1055 0 << CS35L36_PLL_OPENLOOP_SHIFT); in cs35l36_component_set_sysclk()
1066 regmap_write(cs35l36->regmap, CS35L36_DCO_CTRL, 0x00036DA8); in cs35l36_component_set_sysclk()
1067 regmap_write(cs35l36->regmap, CS35L36_MISC_CTRL, 0x0100EE0E); in cs35l36_component_set_sysclk()
1090 0 << CS35L36_NG_DELAY_SHIFT); in cs35l36_component_set_sysclk()
1107 0 << CS35L36_NG_DELAY_SHIFT); in cs35l36_component_set_sysclk()
1111 0 << CS35L36_PDM_MODE_SHIFT); in cs35l36_component_set_sysclk()
1119 return 0; in cs35l36_component_set_sysclk()
1125 CS35L36_BSTCVRT_K1_MASK, 0x3C); in cs35l36_boost_inductor()
1128 0x3C << CS35L36_BSTCVRT_K2_SHIFT); in cs35l36_boost_inductor()
1130 CS35L36_BSTCVRT_CCMFREQ_MASK, 0x00); in cs35l36_boost_inductor()
1136 0x75 << CS35L36_BSTCVRT_SLOPE_SHIFT); in cs35l36_boost_inductor()
1138 CS35L36_BSTCVRT_LBSTVAL_MASK, 0x00); in cs35l36_boost_inductor()
1143 0x6B << CS35L36_BSTCVRT_SLOPE_SHIFT); in cs35l36_boost_inductor()
1145 CS35L36_BSTCVRT_LBSTVAL_MASK, 0x01); in cs35l36_boost_inductor()
1153 return 0; in cs35l36_boost_inductor()
1174 0 << CS35L36_BST_MAN_IPKCOMP_SHIFT); in cs35l36_component_probe()
1197 CS35L36_IMON_POL_MASK, 0); in cs35l36_component_probe()
1201 CS35L36_VMON_POL_MASK, 0); in cs35l36_component_probe()
1220 if (ret < 0) { in cs35l36_component_probe()
1281 * SYNC_GLOBAL_OVR when GLOBAL_EN = 0. in cs35l36_component_probe()
1286 0 << CS35L36_SYNC_GLOBAL_OVR_SHIFT); in cs35l36_component_probe()
1288 return 0; in cs35l36_component_probe()
1333 if (!(status[0] & ~masks[0]) && !(status[1] & ~masks[1]) && in cs35l36_irq()
1346 CS35L36_AMP_SHORT_ERR_RLS, 0); in cs35l36_irq()
1351 CS35L36_AMP_SHORT_ERR_RLS, 0); in cs35l36_irq()
1358 if (status[0] & CS35L36_TEMP_WARN) { in cs35l36_irq()
1361 CS35L36_TEMP_WARN_ERR_RLS, 0); in cs35l36_irq()
1366 CS35L36_TEMP_WARN_ERR_RLS, 0); in cs35l36_irq()
1372 if (status[0] & CS35L36_TEMP_ERR) { in cs35l36_irq()
1375 CS35L36_TEMP_ERR_RLS, 0); in cs35l36_irq()
1379 CS35L36_TEMP_ERR_RLS, 0); in cs35l36_irq()
1385 if (status[0] & CS35L36_BST_OVP_ERR) { in cs35l36_irq()
1388 CS35L36_TEMP_ERR_RLS, 0); in cs35l36_irq()
1392 CS35L36_TEMP_ERR_RLS, 0); in cs35l36_irq()
1398 if (status[0] & CS35L36_BST_DCM_UVP_ERR) { in cs35l36_irq()
1401 CS35L36_BST_UVP_ERR_RLS, 0); in cs35l36_irq()
1406 CS35L36_BST_UVP_ERR_RLS, 0); in cs35l36_irq()
1413 if (status[0] & CS35L36_BST_SHORT_ERR) { in cs35l36_irq()
1416 CS35L36_BST_SHORT_ERR_RLS, 0); in cs35l36_irq()
1421 CS35L36_BST_SHORT_ERR_RLS, 0); in cs35l36_irq()
1441 return 0; in cs35l36_handle_of_data()
1491 if (of_property_read_u32(np, "cirrus,temp-warn-threshold", &val) >= 0) in cs35l36_handle_of_data()
1494 if (of_property_read_u32(np, "cirrus,boost-ind-nanohenry", &val) >= 0) { in cs35l36_handle_of_data()
1501 if (of_property_read_u32(np, "cirrus,irq-drive-select", &val) >= 0) in cs35l36_handle_of_data()
1504 if (of_property_read_u32(np, "cirrus,irq-gpio-select", &val) >= 0) in cs35l36_handle_of_data()
1512 &val) >= 0) in cs35l36_handle_of_data()
1515 &val) >= 0) in cs35l36_handle_of_data()
1518 &val) >= 0) in cs35l36_handle_of_data()
1521 &val) >= 0) in cs35l36_handle_of_data()
1524 &val) >= 0) in cs35l36_handle_of_data()
1527 &val) >= 0) in cs35l36_handle_of_data()
1530 &val) >= 0) in cs35l36_handle_of_data()
1533 &val) >= 0) in cs35l36_handle_of_data()
1538 return 0; in cs35l36_handle_of_data()
1547 return 0; in cs35l36_pac()
1574 if (ret < 0) { in cs35l36_pac()
1579 count = 0; in cs35l36_pac()
1586 if (ret < 0) { in cs35l36_pac()
1599 CS35L36_PAC_ENABLE_MASK, 0); in cs35l36_pac()
1606 return 0; in cs35l36_pac()
1652 { CS35L36_OTP_CTRL1, 0x00002060 },
1653 { CS35L36_OTP_CTRL2, 0x00000001 },
1654 { CS35L36_OTP_CTRL1, 0x00002460 },
1655 { CS35L36_OTP_CTRL2, 0x00000001 },
1656 { 0x00002088, 0x012A1838 },
1657 { 0x00003014, 0x0100EE0E },
1658 { 0x00003008, 0x0008184A },
1659 { 0x00007418, 0x509001C8 },
1660 { 0x00007064, 0x0929A800 },
1661 { 0x00002D10, 0x0002C01C },
1662 { 0x0000410C, 0x00000A11 },
1663 { 0x00006E08, 0x8B19140C },
1664 { 0x00006454, 0x0300000A },
1665 { CS35L36_AMP_NG_CTRL, 0x000020EF },
1666 { 0x00007E34, 0x0000000E },
1667 { 0x0000410C, 0x00000A11 },
1668 { 0x00007410, 0x20514B00 },
1670 { CS35L36_CTRL_OVRRIDE, 0x00000000 },
1671 { CS35L36_PAC_INT0_CTRL, 0x00860001 },
1672 { CS35L36_PAC_INT1_CTRL, 0x00860001 },
1673 { CS35L36_PAC_INT2_CTRL, 0x00860001 },
1674 { CS35L36_PAC_INT3_CTRL, 0x00860001 },
1675 { CS35L36_PAC_INT4_CTRL, 0x00860001 },
1676 { CS35L36_PAC_INT5_CTRL, 0x00860001 },
1677 { CS35L36_PAC_INT6_CTRL, 0x00860001 },
1678 { CS35L36_PAC_INT7_CTRL, 0x00860001 },
1679 { CS35L36_PAC_INT_FLUSH_CTRL, 0x000000FF },
1687 { 0x00007064, 0x0929A800 },
1688 { 0x00007850, 0x00002FA9 },
1689 { 0x00007854, 0x0003F1D5 },
1690 { 0x00007858, 0x0003F5E3 },
1691 { 0x0000785C, 0x00001137 },
1692 { 0x00007860, 0x0001A7A5 },
1693 { 0x00007864, 0x0002F16A },
1694 { 0x00007868, 0x00003E21 },
1695 { 0x00007848, 0x00000001 },
1696 { 0x00003854, 0x05180240 },
1697 { 0x00007418, 0x509001C8 },
1698 { 0x0000394C, 0x028764BD },
1727 for (i = 0; i < ARRAY_SIZE(cs35l36_supplies); i++) in cs35l36_i2c_probe()
1732 if (ret != 0) { in cs35l36_i2c_probe()
1747 if (ret != 0) in cs35l36_i2c_probe()
1756 if (ret != 0) { in cs35l36_i2c_probe()
1782 if (ret < 0) { in cs35l36_i2c_probe()
1795 if (ret < 0) { in cs35l36_i2c_probe()
1803 if (ret < 0) { in cs35l36_i2c_probe()
1819 if (ret < 0) { in cs35l36_i2c_probe()
1827 if (ret < 0) { in cs35l36_i2c_probe()
1835 if (ret < 0) { in cs35l36_i2c_probe()
1858 chip_irq_pol = 0; in cs35l36_i2c_probe()
1877 if (ret != 0) { in cs35l36_i2c_probe()
1897 if (ret < 0) { in cs35l36_i2c_probe()
1903 return 0; in cs35l36_i2c_probe()
1906 gpiod_set_value_cansleep(cs35l36->reset_gpio, 0); in cs35l36_i2c_probe()
1924 gpiod_set_value_cansleep(cs35l36->reset_gpio, 0); in cs35l36_i2c_remove()
1935 {"cs35l36", 0},