Lines Matching +full:0 +full:x0a

39 #define CS35L36_VALID_PDATA 0x80000000
66 {32768, 0x00, 0x05},
67 {8000, 0x01, 0x03},
68 {11025, 0x02, 0x03},
69 {12000, 0x03, 0x03},
70 {16000, 0x04, 0x04},
71 {22050, 0x05, 0x04},
72 {24000, 0x06, 0x04},
73 {32000, 0x07, 0x05},
74 {44100, 0x08, 0x05},
75 {48000, 0x09, 0x05},
76 {88200, 0x0A, 0x06},
77 {96000, 0x0B, 0x06},
78 {128000, 0x0C, 0x07},
79 {176400, 0x0D, 0x07},
80 {192000, 0x0E, 0x07},
81 {256000, 0x0F, 0x08},
82 {352800, 0x10, 0x08},
83 {384000, 0x11, 0x08},
84 {512000, 0x12, 0x09},
85 {705600, 0x13, 0x09},
86 {750000, 0x14, 0x09},
87 {768000, 0x15, 0x09},
88 {1000000, 0x16, 0x0A},
89 {1024000, 0x17, 0x0A},
90 {1200000, 0x18, 0x0A},
91 {1411200, 0x19, 0x0A},
92 {1500000, 0x1A, 0x0A},
93 {1536000, 0x1B, 0x0A},
94 {2000000, 0x1C, 0x0A},
95 {2048000, 0x1D, 0x0A},
96 {2400000, 0x1E, 0x0A},
97 {2822400, 0x1F, 0x0A},
98 {3000000, 0x20, 0x0A},
99 {3072000, 0x21, 0x0A},
100 {3200000, 0x22, 0x0A},
101 {4000000, 0x23, 0x0A},
102 {4096000, 0x24, 0x0A},
103 {4800000, 0x25, 0x0A},
104 {5644800, 0x26, 0x0A},
105 {6000000, 0x27, 0x0A},
106 {6144000, 0x28, 0x0A},
107 {6250000, 0x29, 0x08},
108 {6400000, 0x2A, 0x0A},
109 {6500000, 0x2B, 0x08},
110 {6750000, 0x2C, 0x09},
111 {7526400, 0x2D, 0x0A},
112 {8000000, 0x2E, 0x0A},
113 {8192000, 0x2F, 0x0A},
114 {9600000, 0x30, 0x0A},
115 {11289600, 0x31, 0x0A},
116 {12000000, 0x32, 0x0A},
117 {12288000, 0x33, 0x0A},
118 {12500000, 0x34, 0x08},
119 {12800000, 0x35, 0x0A},
120 {13000000, 0x36, 0x0A},
121 {13500000, 0x37, 0x0A},
122 {19200000, 0x38, 0x0A},
123 {22579200, 0x39, 0x0A},
124 {24000000, 0x3A, 0x0A},
125 {24576000, 0x3B, 0x0A},
126 {25000000, 0x3C, 0x0A},
127 {25600000, 0x3D, 0x0A},
128 {26000000, 0x3E, 0x0A},
129 {27000000, 0x3F, 0x0A},
133 {CS35L36_TESTKEY_CTRL, 0x00000000},
134 {CS35L36_USERKEY_CTL, 0x00000000},
135 {CS35L36_OTP_CTRL1, 0x00002460},
136 {CS35L36_OTP_CTRL2, 0x00000000},
137 {CS35L36_OTP_CTRL3, 0x00000000},
138 {CS35L36_OTP_CTRL4, 0x00000000},
139 {CS35L36_OTP_CTRL5, 0x00000000},
140 {CS35L36_PAC_CTL1, 0x00000004},
141 {CS35L36_PAC_CTL2, 0x00000000},
142 {CS35L36_PAC_CTL3, 0x00000000},
143 {CS35L36_PWR_CTRL1, 0x00000000},
144 {CS35L36_PWR_CTRL2, 0x00003321},
145 {CS35L36_PWR_CTRL3, 0x01000010},
146 {CS35L36_CTRL_OVRRIDE, 0x00000002},
147 {CS35L36_AMP_OUT_MUTE, 0x00000000},
148 {CS35L36_OTP_TRIM_STATUS, 0x00000000},
149 {CS35L36_DISCH_FILT, 0x00000000},
150 {CS35L36_PROTECT_REL_ERR, 0x00000000},
151 {CS35L36_PAD_INTERFACE, 0x00000038},
152 {CS35L36_PLL_CLK_CTRL, 0x00000010},
153 {CS35L36_GLOBAL_CLK_CTRL, 0x00000003},
154 {CS35L36_ADC_CLK_CTRL, 0x00000000},
155 {CS35L36_SWIRE_CLK_CTRL, 0x00000000},
156 {CS35L36_SP_SCLK_CLK_CTRL, 0x00000000},
157 {CS35L36_MDSYNC_EN, 0x00000000},
158 {CS35L36_MDSYNC_TX_ID, 0x00000000},
159 {CS35L36_MDSYNC_PWR_CTRL, 0x00000000},
160 {CS35L36_MDSYNC_DATA_TX, 0x00000000},
161 {CS35L36_MDSYNC_TX_STATUS, 0x00000002},
162 {CS35L36_MDSYNC_RX_STATUS, 0x00000000},
163 {CS35L36_MDSYNC_ERR_STATUS, 0x00000000},
164 {CS35L36_BSTCVRT_VCTRL1, 0x00000000},
165 {CS35L36_BSTCVRT_VCTRL2, 0x00000001},
166 {CS35L36_BSTCVRT_PEAK_CUR, 0x0000004A},
167 {CS35L36_BSTCVRT_SFT_RAMP, 0x00000003},
168 {CS35L36_BSTCVRT_COEFF, 0x00002424},
169 {CS35L36_BSTCVRT_SLOPE_LBST, 0x00005800},
170 {CS35L36_BSTCVRT_SW_FREQ, 0x00010000},
171 {CS35L36_BSTCVRT_DCM_CTRL, 0x00002001},
172 {CS35L36_BSTCVRT_DCM_MODE_FORCE, 0x00000000},
173 {CS35L36_BSTCVRT_OVERVOLT_CTRL, 0x00000130},
174 {CS35L36_VPI_LIMIT_MODE, 0x00000000},
175 {CS35L36_VPI_LIMIT_MINMAX, 0x00003000},
176 {CS35L36_VPI_VP_THLD, 0x00101010},
177 {CS35L36_VPI_TRACK_CTRL, 0x00000000},
178 {CS35L36_VPI_TRIG_MODE_CTRL, 0x00000000},
179 {CS35L36_VPI_TRIG_STEPS, 0x00000000},
180 {CS35L36_VI_SPKMON_FILT, 0x00000003},
181 {CS35L36_VI_SPKMON_GAIN, 0x00000909},
182 {CS35L36_VI_SPKMON_IP_SEL, 0x00000000},
183 {CS35L36_DTEMP_WARN_THLD, 0x00000002},
184 {CS35L36_DTEMP_STATUS, 0x00000000},
185 {CS35L36_VPVBST_FS_SEL, 0x00000001},
186 {CS35L36_VPVBST_VP_CTRL, 0x000001C0},
187 {CS35L36_VPVBST_VBST_CTRL, 0x000001C0},
188 {CS35L36_ASP_TX_PIN_CTRL, 0x00000028},
189 {CS35L36_ASP_RATE_CTRL, 0x00090000},
190 {CS35L36_ASP_FORMAT, 0x00000002},
191 {CS35L36_ASP_FRAME_CTRL, 0x00180018},
192 {CS35L36_ASP_TX1_TX2_SLOT, 0x00010000},
193 {CS35L36_ASP_TX3_TX4_SLOT, 0x00030002},
194 {CS35L36_ASP_TX5_TX6_SLOT, 0x00050004},
195 {CS35L36_ASP_TX7_TX8_SLOT, 0x00070006},
196 {CS35L36_ASP_RX1_SLOT, 0x00000000},
197 {CS35L36_ASP_RX_TX_EN, 0x00000000},
198 {CS35L36_ASP_RX1_SEL, 0x00000008},
199 {CS35L36_ASP_TX1_SEL, 0x00000018},
200 {CS35L36_ASP_TX2_SEL, 0x00000019},
201 {CS35L36_ASP_TX3_SEL, 0x00000028},
202 {CS35L36_ASP_TX4_SEL, 0x00000029},
203 {CS35L36_ASP_TX5_SEL, 0x00000020},
204 {CS35L36_ASP_TX6_SEL, 0x00000000},
205 {CS35L36_SWIRE_P1_TX1_SEL, 0x00000018},
206 {CS35L36_SWIRE_P1_TX2_SEL, 0x00000019},
207 {CS35L36_SWIRE_P2_TX1_SEL, 0x00000028},
208 {CS35L36_SWIRE_P2_TX2_SEL, 0x00000029},
209 {CS35L36_SWIRE_P2_TX3_SEL, 0x00000020},
210 {CS35L36_SWIRE_DP1_FIFO_CFG, 0x0000001B},
211 {CS35L36_SWIRE_DP2_FIFO_CFG, 0x0000001B},
212 {CS35L36_SWIRE_DP3_FIFO_CFG, 0x0000001B},
213 {CS35L36_SWIRE_PCM_RX_DATA, 0x00000000},
214 {CS35L36_SWIRE_FS_SEL, 0x00000001},
215 {CS35L36_AMP_DIG_VOL_CTRL, 0x00008000},
216 {CS35L36_VPBR_CFG, 0x02AA1905},
217 {CS35L36_VBBR_CFG, 0x02AA1905},
218 {CS35L36_VPBR_STATUS, 0x00000000},
219 {CS35L36_VBBR_STATUS, 0x00000000},
220 {CS35L36_OVERTEMP_CFG, 0x00000001},
221 {CS35L36_AMP_ERR_VOL, 0x00000000},
222 {CS35L36_CLASSH_CFG, 0x000B0405},
223 {CS35L36_CLASSH_FET_DRV_CFG, 0x00000111},
224 {CS35L36_NG_CFG, 0x00000033},
225 {CS35L36_AMP_GAIN_CTRL, 0x00000273},
226 {CS35L36_PWM_MOD_IO_CTRL, 0x00000000},
227 {CS35L36_PWM_MOD_STATUS, 0x00000000},
228 {CS35L36_DAC_MSM_CFG, 0x00000000},
229 {CS35L36_AMP_SLOPE_CTRL, 0x00000B00},
230 {CS35L36_AMP_PDM_VOLUME, 0x00000000},
231 {CS35L36_AMP_PDM_RATE_CTRL, 0x00000000},
232 {CS35L36_PDM_CH_SEL, 0x00000000},
233 {CS35L36_AMP_NG_CTRL, 0x0000212F},
234 {CS35L36_PDM_HIGHFILT_CTRL, 0x00000000},
235 {CS35L36_PAC_INT0_CTRL, 0x00000001},
236 {CS35L36_PAC_INT1_CTRL, 0x00000001},
237 {CS35L36_PAC_INT2_CTRL, 0x00000001},
238 {CS35L36_PAC_INT3_CTRL, 0x00000001},
239 {CS35L36_PAC_INT4_CTRL, 0x00000001},
240 {CS35L36_PAC_INT5_CTRL, 0x00000001},
241 {CS35L36_PAC_INT6_CTRL, 0x00000001},
242 {CS35L36_PAC_INT7_CTRL, 0x00000001},
445 static const DECLARE_TLV_DB_RANGE(dig_vol_tlv, 0, 912,
447 static DECLARE_TLV_DB_SCALE(amp_gain_tlv, 0, 1, 1);
452 static SOC_ENUM_SINGLE_DECL(pcm_sft_ramp, CS35L36_AMP_DIG_VOL_CTRL, 0,
463 ucontrol->value.integer.value[0] = cs35l36->ldm_mode_sel; in cs35l36_ldm_sel_get()
465 return 0; in cs35l36_ldm_sel_get()
475 int val = (ucontrol->value.integer.value[0]) ? CS35L36_NG_AMP_EN_MASK : in cs35l36_ldm_sel_put()
476 0; in cs35l36_ldm_sel_put()
483 return 0; in cs35l36_ldm_sel_put()
488 3, 0x4D0, 0x390, dig_vol_tlv),
489 SOC_SINGLE_TLV("Analog PCM Volume", CS35L36_AMP_GAIN_CTRL, 5, 0x13, 0,
493 CS35L36_AMP_ZC_SHIFT, 1, 0),
495 CS35L36_PDM_LDM_ENTER_SHIFT, 1, 0),
497 CS35L36_PDM_LDM_EXIT_SHIFT, 1, 0),
498 SOC_SINGLE_BOOL_EXT("LDM Select Switch", 0, cs35l36_ldm_sel_get,
529 0 << CS35L36_AMP_MUTE_SHIFT); in cs35l36_main_amp_event()
542 0 << CS35L36_GLOBAL_EN_SHIFT); in cs35l36_main_amp_event()
547 dev_dbg(component->dev, "Invalid event = 0x%x\n", event); in cs35l36_main_amp_event()
551 return 0; in cs35l36_main_amp_event()
578 dev_dbg(component->dev, "Invalid event = 0x%x\n", event); in cs35l36_boost_event()
582 return 0; in cs35l36_boost_event()
590 static SOC_ENUM_SINGLE_DECL(chansel_enum, CS35L36_ASP_RX1_SLOT, 0,
608 0x00, 0x08, 0x18, 0x19, 0x20, 0x28, 0x29
611 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx1_src_enum, CS35L36_ASP_TX1_SEL, 0,
618 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx2_src_enum, CS35L36_ASP_TX2_SEL, 0,
625 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx3_src_enum, CS35L36_ASP_TX3_SEL, 0,
632 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx4_src_enum, CS35L36_ASP_TX4_SEL, 0,
639 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx5_src_enum, CS35L36_ASP_TX5_SEL, 0,
646 static SOC_VALUE_ENUM_SINGLE_DECL(asp_tx6_src_enum, CS35L36_ASP_TX6_SEL, 0,
654 SND_SOC_DAPM_MUX("Channel Mux", SND_SOC_NOPM, 0, 0, &cs35l36_chan_mux),
655 SND_SOC_DAPM_AIF_IN("SDIN", NULL, 0, CS35L36_ASP_RX_TX_EN, 16, 0),
657 SND_SOC_DAPM_OUT_DRV_E("Main AMP", CS35L36_PWR_CTRL2, 0, 0, NULL, 0,
662 SND_SOC_DAPM_SWITCH("AMP Enable", SND_SOC_NOPM, 0, 1, &amp_enable_ctrl),
663 SND_SOC_DAPM_MIXER("CLASS H", CS35L36_PWR_CTRL3, 4, 0, NULL, 0),
664 SND_SOC_DAPM_SWITCH_E("BOOST Enable", SND_SOC_NOPM, 0, 0, &boost_ctrl,
668 SND_SOC_DAPM_AIF_OUT("ASPTX1", NULL, 0, CS35L36_ASP_RX_TX_EN, 0, 0),
669 SND_SOC_DAPM_AIF_OUT("ASPTX2", NULL, 1, CS35L36_ASP_RX_TX_EN, 1, 0),
670 SND_SOC_DAPM_AIF_OUT("ASPTX3", NULL, 2, CS35L36_ASP_RX_TX_EN, 2, 0),
671 SND_SOC_DAPM_AIF_OUT("ASPTX4", NULL, 3, CS35L36_ASP_RX_TX_EN, 3, 0),
672 SND_SOC_DAPM_AIF_OUT("ASPTX5", NULL, 4, CS35L36_ASP_RX_TX_EN, 4, 0),
673 SND_SOC_DAPM_AIF_OUT("ASPTX6", NULL, 5, CS35L36_ASP_RX_TX_EN, 5, 0),
675 SND_SOC_DAPM_MUX("ASPTX1SRC", SND_SOC_NOPM, 0, 0, &asp_tx1_src),
676 SND_SOC_DAPM_MUX("ASPTX2SRC", SND_SOC_NOPM, 0, 0, &asp_tx2_src),
677 SND_SOC_DAPM_MUX("ASPTX3SRC", SND_SOC_NOPM, 0, 0, &asp_tx3_src),
678 SND_SOC_DAPM_MUX("ASPTX4SRC", SND_SOC_NOPM, 0, 0, &asp_tx4_src),
679 SND_SOC_DAPM_MUX("ASPTX5SRC", SND_SOC_NOPM, 0, 0, &asp_tx5_src),
680 SND_SOC_DAPM_MUX("ASPTX6SRC", SND_SOC_NOPM, 0, 0, &asp_tx6_src),
682 SND_SOC_DAPM_ADC("VMON ADC", NULL, CS35L36_PWR_CTRL2, 12, 0),
683 SND_SOC_DAPM_ADC("IMON ADC", NULL, CS35L36_PWR_CTRL2, 13, 0),
684 SND_SOC_DAPM_ADC("VPMON ADC", NULL, CS35L36_PWR_CTRL2, 8, 0),
685 SND_SOC_DAPM_ADC("VBSTMON ADC", NULL, CS35L36_PWR_CTRL2, 9, 0),
765 clock_provider = 0; in cs35l36_set_dai_fmt()
783 clk_frc = 0; in cs35l36_set_dai_fmt()
798 asp_fmt = 0; in cs35l36_set_dai_fmt()
810 sclk_fmt = 0; in cs35l36_set_dai_fmt()
813 lrclk_fmt = 0; in cs35l36_set_dai_fmt()
821 lrclk_fmt = 0; in cs35l36_set_dai_fmt()
822 sclk_fmt = 0; in cs35l36_set_dai_fmt()
837 return 0; in cs35l36_set_dai_fmt()
846 {12000, 0x01},
847 {24000, 0x02},
848 {48000, 0x03},
849 {96000, 0x04},
850 {192000, 0x05},
851 {384000, 0x06},
852 {11025, 0x09},
853 {22050, 0x0A},
854 {44100, 0x0B},
855 {88200, 0x0C},
856 {176400, 0x0D},
857 {8000, 0x11},
858 {16000, 0x12},
859 {32000, 0x13},
871 for (i = 0; i < ARRAY_SIZE(cs35l36_fs_rates); i++) { in cs35l36_pcm_hw_params()
904 return 0; in cs35l36_pcm_hw_params()
936 return 0; in cs35l36_dai_set_sysclk()
944 for (i = 0; i < ARRAY_SIZE(cs35l36_pll_sysclk); i++) { in cs35l36_get_clk_config()
971 .id = 0,
1004 case 0: in cs35l36_component_set_sysclk()
1037 0 << CS35L36_PLL_REFCLK_EN_SHIFT); in cs35l36_component_set_sysclk()
1043 0 << CS35L36_PLL_OPENLOOP_SHIFT); in cs35l36_component_set_sysclk()
1054 regmap_write(cs35l36->regmap, CS35L36_DCO_CTRL, 0x00036DA8); in cs35l36_component_set_sysclk()
1055 regmap_write(cs35l36->regmap, CS35L36_MISC_CTRL, 0x0100EE0E); in cs35l36_component_set_sysclk()
1078 0 << CS35L36_NG_DELAY_SHIFT); in cs35l36_component_set_sysclk()
1095 0 << CS35L36_NG_DELAY_SHIFT); in cs35l36_component_set_sysclk()
1099 0 << CS35L36_PDM_MODE_SHIFT); in cs35l36_component_set_sysclk()
1107 return 0; in cs35l36_component_set_sysclk()
1113 CS35L36_BSTCVRT_K1_MASK, 0x3C); in cs35l36_boost_inductor()
1116 0x3C << CS35L36_BSTCVRT_K2_SHIFT); in cs35l36_boost_inductor()
1118 CS35L36_BSTCVRT_CCMFREQ_MASK, 0x00); in cs35l36_boost_inductor()
1124 0x75 << CS35L36_BSTCVRT_SLOPE_SHIFT); in cs35l36_boost_inductor()
1126 CS35L36_BSTCVRT_LBSTVAL_MASK, 0x00); in cs35l36_boost_inductor()
1131 0x6B << CS35L36_BSTCVRT_SLOPE_SHIFT); in cs35l36_boost_inductor()
1133 CS35L36_BSTCVRT_LBSTVAL_MASK, 0x01); in cs35l36_boost_inductor()
1141 return 0; in cs35l36_boost_inductor()
1162 0 << CS35L36_BST_MAN_IPKCOMP_SHIFT); in cs35l36_component_probe()
1185 CS35L36_IMON_POL_MASK, 0); in cs35l36_component_probe()
1189 CS35L36_VMON_POL_MASK, 0); in cs35l36_component_probe()
1208 if (ret < 0) { in cs35l36_component_probe()
1269 * SYNC_GLOBAL_OVR when GLOBAL_EN = 0. in cs35l36_component_probe()
1274 0 << CS35L36_SYNC_GLOBAL_OVR_SHIFT); in cs35l36_component_probe()
1276 return 0; in cs35l36_component_probe()
1321 if (!(status[0] & ~masks[0]) && !(status[1] & ~masks[1]) && in cs35l36_irq()
1334 CS35L36_AMP_SHORT_ERR_RLS, 0); in cs35l36_irq()
1339 CS35L36_AMP_SHORT_ERR_RLS, 0); in cs35l36_irq()
1346 if (status[0] & CS35L36_TEMP_WARN) { in cs35l36_irq()
1349 CS35L36_TEMP_WARN_ERR_RLS, 0); in cs35l36_irq()
1354 CS35L36_TEMP_WARN_ERR_RLS, 0); in cs35l36_irq()
1360 if (status[0] & CS35L36_TEMP_ERR) { in cs35l36_irq()
1363 CS35L36_TEMP_ERR_RLS, 0); in cs35l36_irq()
1367 CS35L36_TEMP_ERR_RLS, 0); in cs35l36_irq()
1373 if (status[0] & CS35L36_BST_OVP_ERR) { in cs35l36_irq()
1376 CS35L36_TEMP_ERR_RLS, 0); in cs35l36_irq()
1380 CS35L36_TEMP_ERR_RLS, 0); in cs35l36_irq()
1386 if (status[0] & CS35L36_BST_DCM_UVP_ERR) { in cs35l36_irq()
1389 CS35L36_BST_UVP_ERR_RLS, 0); in cs35l36_irq()
1394 CS35L36_BST_UVP_ERR_RLS, 0); in cs35l36_irq()
1401 if (status[0] & CS35L36_BST_SHORT_ERR) { in cs35l36_irq()
1404 CS35L36_BST_SHORT_ERR_RLS, 0); in cs35l36_irq()
1409 CS35L36_BST_SHORT_ERR_RLS, 0); in cs35l36_irq()
1429 return 0; in cs35l36_handle_of_data()
1479 if (of_property_read_u32(np, "cirrus,temp-warn-threshold", &val) >= 0) in cs35l36_handle_of_data()
1482 if (of_property_read_u32(np, "cirrus,boost-ind-nanohenry", &val) >= 0) { in cs35l36_handle_of_data()
1489 if (of_property_read_u32(np, "cirrus,irq-drive-select", &val) >= 0) in cs35l36_handle_of_data()
1492 if (of_property_read_u32(np, "cirrus,irq-gpio-select", &val) >= 0) in cs35l36_handle_of_data()
1500 &val) >= 0) in cs35l36_handle_of_data()
1503 &val) >= 0) in cs35l36_handle_of_data()
1506 &val) >= 0) in cs35l36_handle_of_data()
1509 &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()
1526 return 0; in cs35l36_handle_of_data()
1535 return 0; in cs35l36_pac()
1562 if (ret < 0) { in cs35l36_pac()
1567 count = 0; in cs35l36_pac()
1574 if (ret < 0) { in cs35l36_pac()
1587 CS35L36_PAC_ENABLE_MASK, 0); in cs35l36_pac()
1594 return 0; in cs35l36_pac()
1640 { CS35L36_OTP_CTRL1, 0x00002060 },
1641 { CS35L36_OTP_CTRL2, 0x00000001 },
1642 { CS35L36_OTP_CTRL1, 0x00002460 },
1643 { CS35L36_OTP_CTRL2, 0x00000001 },
1644 { 0x00002088, 0x012A1838 },
1645 { 0x00003014, 0x0100EE0E },
1646 { 0x00003008, 0x0008184A },
1647 { 0x00007418, 0x509001C8 },
1648 { 0x00007064, 0x0929A800 },
1649 { 0x00002D10, 0x0002C01C },
1650 { 0x0000410C, 0x00000A11 },
1651 { 0x00006E08, 0x8B19140C },
1652 { 0x00006454, 0x0300000A },
1653 { CS35L36_AMP_NG_CTRL, 0x000020EF },
1654 { 0x00007E34, 0x0000000E },
1655 { 0x0000410C, 0x00000A11 },
1656 { 0x00007410, 0x20514B00 },
1658 { CS35L36_CTRL_OVRRIDE, 0x00000000 },
1659 { CS35L36_PAC_INT0_CTRL, 0x00860001 },
1660 { CS35L36_PAC_INT1_CTRL, 0x00860001 },
1661 { CS35L36_PAC_INT2_CTRL, 0x00860001 },
1662 { CS35L36_PAC_INT3_CTRL, 0x00860001 },
1663 { CS35L36_PAC_INT4_CTRL, 0x00860001 },
1664 { CS35L36_PAC_INT5_CTRL, 0x00860001 },
1665 { CS35L36_PAC_INT6_CTRL, 0x00860001 },
1666 { CS35L36_PAC_INT7_CTRL, 0x00860001 },
1667 { CS35L36_PAC_INT_FLUSH_CTRL, 0x000000FF },
1675 { 0x00007064, 0x0929A800 },
1676 { 0x00007850, 0x00002FA9 },
1677 { 0x00007854, 0x0003F1D5 },
1678 { 0x00007858, 0x0003F5E3 },
1679 { 0x0000785C, 0x00001137 },
1680 { 0x00007860, 0x0001A7A5 },
1681 { 0x00007864, 0x0002F16A },
1682 { 0x00007868, 0x00003E21 },
1683 { 0x00007848, 0x00000001 },
1684 { 0x00003854, 0x05180240 },
1685 { 0x00007418, 0x509001C8 },
1686 { 0x0000394C, 0x028764BD },
1715 for (i = 0; i < ARRAY_SIZE(cs35l36_supplies); i++) in cs35l36_i2c_probe()
1720 if (ret != 0) { in cs35l36_i2c_probe()
1735 if (ret != 0) in cs35l36_i2c_probe()
1744 if (ret != 0) { in cs35l36_i2c_probe()
1770 if (ret < 0) { in cs35l36_i2c_probe()
1783 if (ret < 0) { in cs35l36_i2c_probe()
1791 if (ret < 0) { in cs35l36_i2c_probe()
1807 if (ret < 0) { in cs35l36_i2c_probe()
1815 if (ret < 0) { in cs35l36_i2c_probe()
1823 if (ret < 0) { in cs35l36_i2c_probe()
1846 chip_irq_pol = 0; in cs35l36_i2c_probe()
1865 if (ret != 0) { in cs35l36_i2c_probe()
1885 if (ret < 0) { in cs35l36_i2c_probe()
1891 return 0; in cs35l36_i2c_probe()
1894 gpiod_set_value_cansleep(cs35l36->reset_gpio, 0); in cs35l36_i2c_probe()
1912 gpiod_set_value_cansleep(cs35l36->reset_gpio, 0); in cs35l36_i2c_remove()