diff options
author | Allen Chiang <allen_chiang@mediatek.corp-partner.google.com> | 2019-06-17 15:03:53 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-13 15:29:53 +0000 |
commit | 02dd6d5f7c632664929ee76ef75fc9fa443ef6e8 (patch) | |
tree | 379e675288404dd72c52ee5fc08c050e286e5ca7 /driver/usb_mux | |
parent | a49c836634c169e408e9286ec8c741c98a11ae3e (diff) | |
download | chrome-ec-02dd6d5f7c632664929ee76ef75fc9fa443ef6e8.tar.gz |
rt946x: Fix MT6370 Charger back boost and INT miss issue
1. Add ADC readings.
2. Add MIVR IRQ, when trigger mivr irq then get ibus adc,
if the ibus < 100mA then toggle cfo to stop LX/RX function,
that can cancel the back boost voltage.
3. In order to solve the issue of missing IRQ,
it is necessary to record the state of IRQs before and after
reading event of IRQs.
BRANCH=kukui
BUG=b:134372910
TEST=boot kukui, trigger interrupt, check interrupt handler is OK.
Change-Id: I695125b1c25f13ab73713304727cbb7a1d90083c
Signed-off-by: Allen Chiang <allen_chiang@mediatek.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1660522
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@chromium.org>
Tested-by: Eric Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'driver/usb_mux')
0 files changed, 0 insertions, 0 deletions