mfd: max96745: Set I2C speed to Fast-mode

Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: Ide9286e46ec3b1829a6c0346c7780f355d7e2281
This commit is contained in:
Wyon Bi
2023-03-20 08:48:42 +00:00
parent e54650456a
commit 86250dffd6

View File

@@ -116,6 +116,9 @@ static void max96745_power_on(struct max96745 *max96745)
msleep(200);
}
/* Set for I2C Fast-mode speed */
regmap_write(max96745->regmap, 0x0070, 0x16);
if (max96745->idle_disc) {
regmap_update_bits(max96745->regmap, 0x0076, DIS_REM_CC,
FIELD_PREP(DIS_REM_CC, 1));