SoC: cs35l36: K1/2 coeff update for performance

The defaults for Boost Coeff K1 and K2 values
are to be updated to give better performance

Change-Id: I1c8a757fc0358e9e7ad0a878307dbe192143adcb
Signed-off-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1140352
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Vladimir Karpovich <vkarp@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Brian Austin 2018-01-30 08:07:53 -06:00 • committed by Ravikumar Vembu
commit accfca81ba

View file

@ -877,10 +877,10 @@ static int cs35l36_codec_set_sysclk(struct snd_soc_codec *codec,
static int cs35l36_boost_inductor(struct cs35l36_private *cs35l36, int inductor)
{
regmap_update_bits(cs35l36->regmap, CS35L36_BSTCVRT_COEFF,
CS35L36_BSTCVRT_K1_MASK, 0x40);
CS35L36_BSTCVRT_K1_MASK, 0x3C);
regmap_update_bits(cs35l36->regmap, CS35L36_BSTCVRT_COEFF,
CS35L36_BSTCVRT_K2_MASK,
0x48 << CS35L36_BSTCVRT_K2_SHIFT);
0x3C << CS35L36_BSTCVRT_K2_SHIFT);
regmap_update_bits(cs35l36->regmap, CS35L36_BSTCVRT_SW_FREQ,
CS35L36_BSTCVRT_CCMFREQ_MASK, 0x00);