mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ASoC: apq8064: Change MBHC micbias voltage to 2.7 Volts
Upgrade the board file to change the microphone bias used by MBHC to 2.7 Volts. The button voltage ranges need to be updated accordingly Change-Id: Ia2f91271864e0f8fe25b866bff8006af0dd6f20b Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
This commit is contained in:
parent
2147fe8a1e
commit
731abcd718
2 changed files with 20 additions and 20 deletions
|
@ -1022,7 +1022,7 @@ static struct wcd9xxx_pdata apq8064_tabla_platform_data = {
|
|||
.micbias = {
|
||||
.ldoh_v = TABLA_LDOH_2P85_V,
|
||||
.cfilt1_mv = 1800,
|
||||
.cfilt2_mv = 1800,
|
||||
.cfilt2_mv = 2700,
|
||||
.cfilt3_mv = 1800,
|
||||
.bias1_cfilt_sel = TABLA_CFILT1_SEL,
|
||||
.bias2_cfilt_sel = TABLA_CFILT2_SEL,
|
||||
|
@ -1089,7 +1089,7 @@ static struct wcd9xxx_pdata apq8064_tabla20_platform_data = {
|
|||
.micbias = {
|
||||
.ldoh_v = TABLA_LDOH_2P85_V,
|
||||
.cfilt1_mv = 1800,
|
||||
.cfilt2_mv = 1800,
|
||||
.cfilt2_mv = 2700,
|
||||
.cfilt3_mv = 1800,
|
||||
.bias1_cfilt_sel = TABLA_CFILT1_SEL,
|
||||
.bias2_cfilt_sel = TABLA_CFILT2_SEL,
|
||||
|
|
|
@ -796,7 +796,7 @@ static void *def_tabla_mbhc_cal(void)
|
|||
#undef S
|
||||
#define S(X, Y) ((TABLA_MBHC_CAL_PLUG_TYPE_PTR(tabla_cal)->X) = (Y))
|
||||
S(v_no_mic, 30);
|
||||
S(v_hs_max, 1550);
|
||||
S(v_hs_max, 2400);
|
||||
#undef S
|
||||
#define S(X, Y) ((TABLA_MBHC_CAL_BTN_DET_PTR(tabla_cal)->X) = (Y))
|
||||
S(c[0], 62);
|
||||
|
@ -814,24 +814,24 @@ static void *def_tabla_mbhc_cal(void)
|
|||
btn_low = tabla_mbhc_cal_btn_det_mp(btn_cfg, TABLA_BTN_DET_V_BTN_LOW);
|
||||
btn_high = tabla_mbhc_cal_btn_det_mp(btn_cfg, TABLA_BTN_DET_V_BTN_HIGH);
|
||||
btn_low[0] = -50;
|
||||
btn_high[0] = 10;
|
||||
btn_low[1] = 11;
|
||||
btn_high[1] = 38;
|
||||
btn_low[2] = 39;
|
||||
btn_high[2] = 64;
|
||||
btn_low[3] = 65;
|
||||
btn_high[3] = 91;
|
||||
btn_low[4] = 92;
|
||||
btn_high[4] = 115;
|
||||
btn_low[5] = 116;
|
||||
btn_high[5] = 141;
|
||||
btn_low[6] = 142;
|
||||
btn_high[6] = 163;
|
||||
btn_low[7] = 164;
|
||||
btn_high[7] = 250;
|
||||
btn_high[0] = 20;
|
||||
btn_low[1] = 21;
|
||||
btn_high[1] = 62;
|
||||
btn_low[2] = 62;
|
||||
btn_high[2] = 104;
|
||||
btn_low[3] = 105;
|
||||
btn_high[3] = 143;
|
||||
btn_low[4] = 144;
|
||||
btn_high[4] = 181;
|
||||
btn_low[5] = 182;
|
||||
btn_high[5] = 218;
|
||||
btn_low[6] = 219;
|
||||
btn_high[6] = 254;
|
||||
btn_low[7] = 255;
|
||||
btn_high[7] = 330;
|
||||
n_ready = tabla_mbhc_cal_btn_det_mp(btn_cfg, TABLA_BTN_DET_N_READY);
|
||||
n_ready[0] = 48;
|
||||
n_ready[1] = 38;
|
||||
n_ready[0] = 80;
|
||||
n_ready[1] = 68;
|
||||
n_cic = tabla_mbhc_cal_btn_det_mp(btn_cfg, TABLA_BTN_DET_N_CIC);
|
||||
n_cic[0] = 60;
|
||||
n_cic[1] = 47;
|
||||
|
|
Loading…
Reference in a new issue