asoc: wsa881x-analog: Update boost preset based on 8810/15
Update boost level setting of value 5.5v and 6v for 8815 and 8810 variants. Change-Id: I6e71c58bddb4958f1eda4ab4d4630bcb6073dcdb Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
68f58b0d09
commit
4e53fb69af
@@ -397,9 +397,14 @@ static int wsa881x_boost_ctrl(struct snd_soc_component *component, bool enable)
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_BOOST_SLOPE_COMP_ISENSE_FB,
|
||||
0x03, 0x00);
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_BOOST_PRESET_OUT1,
|
||||
0xF0, 0x70);
|
||||
if (snd_soc_component_read32(component, WSA881X_OTP_REG_0))
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_BOOST_PRESET_OUT1,
|
||||
0xF0, 0x70);
|
||||
else
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_BOOST_PRESET_OUT1,
|
||||
0xF0, 0xB0);
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_ANA_CTL, 0x03, 0x01);
|
||||
snd_soc_component_update_bits(component,
|
||||
|
Reference in New Issue
Block a user