arm: tegra: loki: Batt temp auto shutdown
This change enables reading the battery temperature
through PMIC ADC and shutdown based on that.
The adc value conversion to temperature
is performed using a look-up table that maps the adc values
to temp. The conversion table is based on values generated
for Loki P2530 board.
Bug
1408758
Change-Id: I2fc259120e388e8e496d48e2ec5987e8d2913998
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/382763
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>