diff options
-rw-r--r-- | chip/g/rdd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chip/g/rdd.c b/chip/g/rdd.c index 30ea671238..24388c02b6 100644 --- a/chip/g/rdd.c +++ b/chip/g/rdd.c @@ -205,6 +205,13 @@ void init_rdd_state(void) GWRITE(RDD, PROG_DEBUG_STATE_MAP, DETECT_DEBUG); /* + * Set the 0.4V comparator reference to 0.3V instead. The voltage is + * marginal near 0.4V for example with VBUS at 4.75V and a SuzyQable See + * b/64847312. + */ + GWRITE_FIELD(RDD, REF_ADJ, LVL0P4V, 0x2); + + /* * Enable interrupt for detecting CC. This minimizes the time before * we transition to cable-detected at boot, and will cause us to wake * from deep sleep if a cable is plugged in. |