mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user