da7219-aad.h (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | da7219-aad.h (dc0ff0fa3a9bf9f7be3a9530f8f6079324f54fa5) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * da7219-aad.h - DA7322 ASoC Codec AAD Driver Platform Data 4 * 5 * Copyright (c) 2015 Dialog Semiconductor Ltd. 6 * 7 * Author: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> 8 */ --- 30 unchanged lines hidden (view full) --- 39 DA7219_AAD_JACK_INS_DEB_20MS, 40 DA7219_AAD_JACK_INS_DEB_50MS, 41 DA7219_AAD_JACK_INS_DEB_100MS, 42 DA7219_AAD_JACK_INS_DEB_200MS, 43 DA7219_AAD_JACK_INS_DEB_500MS, 44 DA7219_AAD_JACK_INS_DEB_1S, 45}; 46 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * da7219-aad.h - DA7322 ASoC Codec AAD Driver Platform Data 4 * 5 * Copyright (c) 2015 Dialog Semiconductor Ltd. 6 * 7 * Author: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> 8 */ --- 30 unchanged lines hidden (view full) --- 39 DA7219_AAD_JACK_INS_DEB_20MS, 40 DA7219_AAD_JACK_INS_DEB_50MS, 41 DA7219_AAD_JACK_INS_DEB_100MS, 42 DA7219_AAD_JACK_INS_DEB_200MS, 43 DA7219_AAD_JACK_INS_DEB_500MS, 44 DA7219_AAD_JACK_INS_DEB_1S, 45}; 46 |
47enum da7219_aad_jack_ins_det_pty { 48 DA7219_AAD_JACK_INS_DET_PTY_LOW = 0, 49 DA7219_AAD_JACK_INS_DET_PTY_HIGH, 50}; 51 |
|
47enum da7219_aad_jack_det_rate { 48 DA7219_AAD_JACK_DET_RATE_32_64MS = 0, 49 DA7219_AAD_JACK_DET_RATE_64_128MS, 50 DA7219_AAD_JACK_DET_RATE_128_256MS, 51 DA7219_AAD_JACK_DET_RATE_256_512MS, 52}; 53 54enum da7219_aad_jack_rem_deb { --- 20 unchanged lines hidden (view full) --- 75struct da7219_aad_pdata { 76 int irq; 77 78 enum da7219_aad_micbias_pulse_lvl micbias_pulse_lvl; 79 u32 micbias_pulse_time; 80 enum da7219_aad_btn_cfg btn_cfg; 81 enum da7219_aad_mic_det_thr mic_det_thr; 82 enum da7219_aad_jack_ins_deb jack_ins_deb; | 52enum da7219_aad_jack_det_rate { 53 DA7219_AAD_JACK_DET_RATE_32_64MS = 0, 54 DA7219_AAD_JACK_DET_RATE_64_128MS, 55 DA7219_AAD_JACK_DET_RATE_128_256MS, 56 DA7219_AAD_JACK_DET_RATE_256_512MS, 57}; 58 59enum da7219_aad_jack_rem_deb { --- 20 unchanged lines hidden (view full) --- 80struct da7219_aad_pdata { 81 int irq; 82 83 enum da7219_aad_micbias_pulse_lvl micbias_pulse_lvl; 84 u32 micbias_pulse_time; 85 enum da7219_aad_btn_cfg btn_cfg; 86 enum da7219_aad_mic_det_thr mic_det_thr; 87 enum da7219_aad_jack_ins_deb jack_ins_deb; |
88 enum da7219_aad_jack_ins_det_pty jack_ins_det_pty; |
|
83 enum da7219_aad_jack_det_rate jack_det_rate; 84 enum da7219_aad_jack_rem_deb jack_rem_deb; 85 86 u8 a_d_btn_thr; 87 u8 d_b_btn_thr; 88 u8 b_c_btn_thr; 89 u8 c_mic_btn_thr; 90 91 enum da7219_aad_btn_avg btn_avg; 92 enum da7219_aad_adc_1bit_rpt adc_1bit_rpt; 93}; 94 95#endif /* __DA7219_AAD_PDATA_H */ | 89 enum da7219_aad_jack_det_rate jack_det_rate; 90 enum da7219_aad_jack_rem_deb jack_rem_deb; 91 92 u8 a_d_btn_thr; 93 u8 d_b_btn_thr; 94 u8 b_c_btn_thr; 95 u8 c_mic_btn_thr; 96 97 enum da7219_aad_btn_avg btn_avg; 98 enum da7219_aad_adc_1bit_rpt adc_1bit_rpt; 99}; 100 101#endif /* __DA7219_AAD_PDATA_H */ |