mfd/fusb302: Set CC pull up current to 80uA

The current driver set CC pull up current to 180uA, but FUSB302B was
designed with 80uA for sink detection which means it only guarantee
FUSB302B will works well with that setting. So we change the CC pull
up current to 80uA.

Change-Id: I5bcb0caaffafbcdf7972396b64f296606bbf3986
Signed-off-by: Bin Yang <yangbin@rock-chips.com>
This commit is contained in:
Bin Yang 2019-11-20 11:03:32 +08:00 committed by Tao Huang
parent c00cc673bf
commit abb53bd7f5

View File

@ -774,7 +774,7 @@ static void tcpm_init(struct fusb30x_chip *chip)
val = ~MASKB_M_GCRCSEND;
regmap_write(chip->regmap, FUSB_REG_MASKB, val);
tcpm_select_rp_value(chip, TYPEC_RP_1A5);
tcpm_select_rp_value(chip, TYPEC_RP_USB);
/* Interrupts Enable */
regmap_update_bits(chip->regmap, FUSB_REG_CONTROL0, CONTROL0_INT_MASK,
~CONTROL0_INT_MASK);