commit | e213f1b4acbdc2482b470daae5b5e2b3d26d7f0c | [log] [tgz] |
---|---|---|
author | Jishnu Prakash <jprakash@codeaurora.org> | Thu Jun 28 13:45:40 2018 +0530 |
committer | Jishnu Prakash <jprakash@codeaurora.org> | Mon Jul 02 16:15:16 2018 +0530 |
tree | ce04bb020d036ed4dba5a846092a7b0f0cc6de96 | |
parent | f82ab04ca457c0fc52b4ae380524831e47f5bdd3 [diff] |
hwmon: qpnp-adc: Add support for USB_IN_V channel on PMI632 USB_IN_V cannot be measured similarly to other channels due to its low pre-scaling factor, which can cause its reading to be distorted by residual voltage from previous ADC measurements. Add support to lower calibration frequency and add delay before measurement to ensure accurate reading. Change-Id: If35f5c692a996d6f732038fabd5e1205525dbc03 Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>