regulator: qpnp-labibb: Don't handle LAB_VREG_OK in TTW mode for pmi8998
Currently for pmi8998, LAB_VREG_OK interrupt is handled to switch from PWM to PFM mode after a certain delay to improve efficiency. Also, PFM mode is kept disabled once the regulator is disabled. As per the hardware recommendation, keeping LAB in PWM mode is sufficient in particular when TTW mode is enabled. Hence do not register for LAB_VREG_OK interrupt in TTW mode so that this PWM <-> PFM mode transition will not be done. CRs-Fixed: 2179209 Change-Id: I499740d014a45e02b802d350248f8044a5b6596b Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
parent
928ccd2a1f
commit
2737e451df
1 changed files with 4 additions and 1 deletions
|
@ -2895,8 +2895,11 @@ static bool is_lab_vreg_ok_irq_available(struct qpnp_labibb *labibb)
|
|||
return true;
|
||||
|
||||
if (labibb->pmic_rev_id->pmic_subtype == PMI8998_SUBTYPE &&
|
||||
labibb->mode == QPNP_LABIBB_LCD_MODE)
|
||||
labibb->mode == QPNP_LABIBB_LCD_MODE) {
|
||||
if (labibb->ttw_en)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue