mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
In the system, RT946x is always powered by the battery. So even in battery cutoff mode, the reg values on RT946X are not reset. We don't want RT946x to supply VBUS when DUT boots, which could mess up PD state. So we need to disable VBUS output when RT946x initializes. BUG=b:72228350 BRANCH=none TEST=Confirm OPA_MODE (bit0 in reg 0x01) is clear after RT946x finishes initialization Change-Id: I32795b3bea64860b164c14b06aa1cd2551ebd8a0 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/890028 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org> Reviewed-by: Brian Norris <briannorris@chromium.org>