Files
OpenCellular/board
ayowu 7610082ddc ec: Re-configure GPIO02 to be INPUT | PULL_UP for power saving
GPIO02 (EC_HAVEN_RESET_ODL) is now configured to GPIO_ODR_HIGH,
designed for EC to reset H1. And it's no longer used with just
the HW path reserved (DNS R267 on schematic).
Tests showed that INPUT | PULL_UP has lower EC power consumption
so reconfiguring here.

BUG=b:64503543
BRANCH=none
TEST=manual
(on chroot)
$ make BOARD=soraka -j
$ ./util/flash_ec --board soraka
(on DUT)
$ powerd_dbus_suspend
(on chroot)
$ dut-control -p $PORT pp3300_dsw_ec_ma -t 10 | grep @@
> @@               NAME  COUNT  AVERAGE  STDDEV    MAX   MIN
> @@   pp3300_dsw_ec_ma   5629     1.25    0.71  16.60  1.12

Without the change, the original setting gives:
> @@               NAME  COUNT  AVERAGE  STDDEV    MAX   MIN
> @@   pp3300_dsw_ec_ma   4674     2.69    1.98  12.00  2.00

Change-Id: I4e2268612109155f57fdd236088cadaaba54bb3f
Signed-off-by: Ayo Wu <ayowu@google.com>
Reviewed-on: https://chromium-review.googlesource.com/786951
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
2017-12-14 23:57:29 -08:00
..
2017-11-17 20:18:38 -08:00
2017-11-17 20:18:38 -08:00
2017-12-13 12:33:40 -08:00
2017-12-12 03:57:19 -08:00
2017-11-17 20:18:38 -08:00
2017-11-29 22:37:49 -08:00
2017-11-17 20:18:38 -08:00
2017-12-14 15:27:04 -08:00
2017-05-18 06:03:52 -07:00
2017-11-17 20:18:38 -08:00
2016-05-04 16:15:02 -07:00
2017-11-15 20:21:12 -08:00
2014-04-02 19:58:53 +00:00
2017-05-16 07:47:05 -07:00
2017-11-09 16:43:54 -08:00