Up until now, qpnp-bms did not actually support using internal
rsense. When configured to use internal rsense, the BMS driver would
simply use the external rsense value provided in place of the RDS
resistance.
Implement reading the RDS resistance from the IADC at BMS probe time,
and save it as the canonical rsense resistance value. Also, expose
the IADC function qpnp_iadc_get_rsense to facilitate reading the iadc
rsense trim registers.
Change-Id: Iab0834e6228c0263cd055bdf6ac5c2561a375a85
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>