arm: tegra: pluto: enable INA230/INA231/HPA01112 current sensing

Note: HPA01112, INA230 and INA231 are similar devices and using the same
driver.

This patch will set correct calibration for the INA230 on Pluto platform
based on the battery in-serial resistor value and max battery current.

After this patch will can read back battery current and power correctly
using the INA230.

This patch also leave comment on how to enable the over-current(OC)
throttling using the INA230 device. It is not enabled on the Pluto
platform currently because MAX77665 is used for the OC throttling.

bug 1298931

Change-Id: I37f40e0d3a9ca14314af4f7ee5a5007c5665581f
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/235214
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2 files changed