Sometimes it is seen that AON LDO output takes minimum
off-time (worst case 100ms) to fully discharge. If BT is
turned on in this timeframe when AON is not fully discharged
yet ,BT would fail to turn ON.
This fix ensures to:
Toggle BT_EN high when WL_EN is already high.
Handle corner case if WL_EN goes low in step 1.
Add 100ms to toggle BT_EN high when WL_EN is low.
Change-Id: I7b035d3c91e4b73564a866f40ebdff25f1a315b4
Signed-off-by: priyankar <prigup@codeaurora.org>
This patch contains changes for returning power sources status
to BT HAL.
Change-Id: I042bbb92f4e4d7fd26edb35641e854be3fbb9389
Signed-off-by: priyankar <prigup@codeaurora.org>
Updated the ioctl code for getting value of reset gpio
as it conflicts with get chipset id ioctl code.
Change-Id: I0c8512be891f31cc398c3246cf8a2b143367ab96
Signed-off-by: Umesh Vats <uvats@codeaurora.org>
Added support for retrieving and logging values for various power
resources used by bluetooth driver.
Change-Id: I3e66ae7894b412b0925276d2d178c10f8ae614a3
Signed-off-by: Umesh Vats <uvats@codeaurora.org>
Assign slimbus port numbers based on chipset version for FM.
CRs-Fixed: 2290231
Change-Id: I761811e9ed725c61e272ae5310cf1931d2a57217
Signed-off-by: Satish kumar sugasi <ssugas@codeaurora.org>
Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
Vote S6A for AON supply and add voltage
level 0.95V(min,max).
Change-Id: Ia03a6ac8cdf7ef43ed1a91346ed43818c018e103
Signed-off-by: Mahesh kumar sharma <smahesh@codeaurora.org>
In order to power up BT chip, BT driver needs to vote
for additional S2F for digital at 0.95V, S5A for RFA1
at 1.9V and S8C at 1.35V for RFA2.
Change-Id: Ie6134ee7819496d538acd11b412c390f6b01ba43
Signed-off-by: Mahesh kumar sharma <smahesh@codeaurora.org>