mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-15 17:41:25 +00:00
This patch configures the GPIO pin connected to the reset pin of Anx7447 as push-pull low. When the EC start up from reset, it pulls it high, waits for 1 msec, then pulls it low. This allows the tcpc to recover from a hang and guarantees it to start from a known state. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> BUG=b:79868559 BRANCH=none TEST=Verify Anx7447 port charges on Nami with a rework. Change-Id: Ib7683e20160edf0f320a8c6af25f5f74d4f74538 Reviewed-on: https://chromium-review.googlesource.com/1077015 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>