mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 18:11:05 +00:00
AMONBMON is a charger feature to measure input current and battery output current. ISL9237 output analog value of voltage diff across sense resistor to EC's ADC channel. This change also reorders oak's ADC channel to fix a reading bug. BRANCH=none BUG=chrome-os-partner:42270 TEST=manual in EC serial console, type command 'adc' and check AMON_BMON value. type command 'amonbmon' and check AC current and BAT current. Change-Id: I9db0a72be7c9a428a16d1609eb8c461c6928e548 Signed-off-by: Rong Chang <rongchang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/283665 Reviewed-by: Shawn N <shawnn@chromium.org>