dev: pmi8994: Add support to read battery voltage from sram

FG_ADC voltages are off by ~120 to 200mv, if the device is booted up
with 3.7v battery due to this inaccuracy the voltage is read as < 3.6
which is less than the threshold value in lk and results in LK trying
to charge the battery. Since this is a fake battery the charging never
completes and device loops forever. To avoid these issues read the
voltage from SRAM shadow registers that provide more accurate value
when compared to FG_ADC.

Change-Id: I05dfb5073af28f5925b92cdc250f52082f2629a4
1 file changed