8static const uint8_t ES7210_RESET_REG00 = 0x00;
9static const uint8_t ES7210_CLOCK_OFF_REG01 = 0x01;
10static const uint8_t ES7210_MAINCLK_REG02 = 0x02;
12static const uint8_t ES7210_MASTER_CLK_REG03 = 0x03;
13static const uint8_t ES7210_LRCK_DIVH_REG04 = 0x04;
14static const uint8_t ES7210_LRCK_DIVL_REG05 = 0x05;
15static const uint8_t ES7210_POWER_DOWN_REG06 = 0x06;
16static const uint8_t ES7210_OSR_REG07 = 0x07;
17static const uint8_t ES7210_MODE_CONFIG_REG08 = 0x08;
18static const uint8_t ES7210_TIME_CONTROL0_REG09 = 0x09;
19static const uint8_t ES7210_TIME_CONTROL1_REG0A = 0x0A;
20static const uint8_t ES7210_SDP_INTERFACE1_REG11 = 0x11;
21static const uint8_t ES7210_SDP_INTERFACE2_REG12 = 0x12;
22static const uint8_t ES7210_ADC_AUTOMUTE_REG13 = 0x13;
23static const uint8_t ES7210_ADC34_MUTERANGE_REG14 = 0x14;
24static const uint8_t ES7210_ADC12_MUTERANGE_REG15 = 0x15;
25static const uint8_t ES7210_ADC34_HPF2_REG20 = 0x20;
26static const uint8_t ES7210_ADC34_HPF1_REG21 = 0x21;
27static const uint8_t ES7210_ADC12_HPF1_REG22 = 0x22;
28static const uint8_t ES7210_ADC12_HPF2_REG23 = 0x23;
29static const uint8_t ES7210_ANALOG_REG40 = 0x40;
30static const uint8_t ES7210_MIC12_BIAS_REG41 = 0x41;
31static const uint8_t ES7210_MIC34_BIAS_REG42 = 0x42;
32static const uint8_t ES7210_MIC1_GAIN_REG43 = 0x43;
33static const uint8_t ES7210_MIC2_GAIN_REG44 = 0x44;
34static const uint8_t ES7210_MIC3_GAIN_REG45 = 0x45;
35static const uint8_t ES7210_MIC4_GAIN_REG46 = 0x46;
36static const uint8_t ES7210_MIC1_POWER_REG47 = 0x47;
37static const uint8_t ES7210_MIC2_POWER_REG48 = 0x48;
38static const uint8_t ES7210_MIC3_POWER_REG49 = 0x49;
39static const uint8_t ES7210_MIC4_POWER_REG4A = 0x4A;
40static const uint8_t ES7210_MIC12_POWER_REG4B = 0x4B;
41static const uint8_t ES7210_MIC34_POWER_REG4C = 0x4C;
75 {12288000, 8000, 0x00, 0x03, 0x01, 0x00, 0x20, 0x00, 0x06, 0x00},
76 {16384000, 8000, 0x00, 0x04, 0x01, 0x00, 0x20, 0x00, 0x08, 0x00},
77 {19200000, 8000, 0x00, 0x1e, 0x00, 0x01, 0x28, 0x00, 0x09, 0x60},
78 {4096000, 8000, 0x00, 0x01, 0x01, 0x00, 0x20, 0x00, 0x02, 0x00},
81 {11289600, 11025, 0x00, 0x02, 0x01, 0x00, 0x20, 0x00, 0x01, 0x00},
84 {12288000, 12000, 0x00, 0x02, 0x01, 0x00, 0x20, 0x00, 0x04, 0x00},
85 {19200000, 12000, 0x00, 0x14, 0x00, 0x01, 0x28, 0x00, 0x06, 0x40},
88 {4096000, 16000, 0x00, 0x01, 0x01, 0x01, 0x20, 0x00, 0x01, 0x00},
89 {19200000, 16000, 0x00, 0x0a, 0x00, 0x00, 0x1e, 0x00, 0x04, 0x80},
90 {16384000, 16000, 0x00, 0x02, 0x01, 0x00, 0x20, 0x00, 0x04, 0x00},
91 {12288000, 16000, 0x00, 0x03, 0x01, 0x01, 0x20, 0x00, 0x03, 0x00},
94 {11289600, 22050, 0x00, 0x01, 0x01, 0x00, 0x20, 0x00, 0x02, 0x00},
97 {12288000, 24000, 0x00, 0x01, 0x01, 0x00, 0x20, 0x00, 0x02, 0x00},
98 {19200000, 24000, 0x00, 0x0a, 0x00, 0x01, 0x28, 0x00, 0x03, 0x20},
101 {12288000, 32000, 0x00, 0x03, 0x00, 0x00, 0x20, 0x00, 0x01, 0x80},
102 {16384000, 32000, 0x00, 0x01, 0x01, 0x00, 0x20, 0x00, 0x02, 0x00},
103 {19200000, 32000, 0x00, 0x05, 0x00, 0x00, 0x1e, 0x00, 0x02, 0x58},
106 {11289600, 44100, 0x00, 0x01, 0x01, 0x01, 0x20, 0x00, 0x01, 0x00},
109 {12288000, 48000, 0x00, 0x01, 0x01, 0x01, 0x20, 0x00, 0x01, 0x00},
110 {19200000, 48000, 0x00, 0x05, 0x00, 0x01, 0x28, 0x00, 0x01, 0x90},
113 {16384000, 64000, 0x01, 0x01, 0x01, 0x00, 0x20, 0x00, 0x01, 0x00},
114 {19200000, 64000, 0x00, 0x05, 0x00, 0x01, 0x1e, 0x00, 0x01, 0x2c},
117 {11289600, 88200, 0x01, 0x01, 0x01, 0x01, 0x20, 0x00, 0x00, 0x80},
120 {12288000, 96000, 0x01, 0x01, 0x01, 0x01, 0x20, 0x00, 0x00, 0x80},
121 {19200000, 96000, 0x01, 0x05, 0x00, 0x01, 0x28, 0x00, 0x00, 0xc8},
124static const float ES7210_MIC_GAIN_MIN = 0.0;
125static const float ES7210_MIC_GAIN_MAX = 37.5;