Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e53fb69 authored by Laxminath Kasam's avatar Laxminath Kasam Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent 68f58b0d
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -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);
			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,