mfd: pm8xxx-spk: Fix settings for the class D audio amplifier
Test results based on noise gate recommended the following settings 0x254=0xC8 (Threshold=110, preamp bias=01) 0x255=0xC1 (Hold=110, max attn=0000, mute=1) 0x256=0xB0 (decay=101, attack=10, delay=0) CRs-Fixed: 385187 Change-Id: I7276a6d0689ffb475aa8c58214fd2b00fe62f81c Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org> (cherry picked from commit 59442e223dcd616d7a244c85d8e0acccf4df9651)
This commit is contained in:
committed by
Stephen Boyd
parent
adc17898aa
commit
b9d5cf5f7a
@@ -21,6 +21,14 @@
|
||||
*/
|
||||
struct pm8xxx_spk_platform_data {
|
||||
bool spk_add_enable;
|
||||
int cd_ng_threshold;
|
||||
int cd_nf_preamp_bias;
|
||||
int cd_ng_hold;
|
||||
int cd_ng_max_atten;
|
||||
int noise_mute;
|
||||
int cd_ng_decay_rate;
|
||||
int cd_ng_attack_rate;
|
||||
int cd_delay;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user