clk: msm: clock-osm: Update droop timers
Update the droop timer settings for OSM on MSMCOBALT. Change-Id: I9398a81738a778dfae5282ef6809a8c2174bd589 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
This commit is contained in:
parent
3ffe336b5e
commit
e8fcec43cb
1 changed files with 3 additions and 3 deletions
|
@ -1769,7 +1769,7 @@ static void clk_osm_setup_fsms(struct clk_osm *c)
|
|||
|
||||
val = clk_osm_read_reg(c,
|
||||
DROOP_WAIT_TO_RELEASE_TIMER_CTRL0_REG);
|
||||
val |= BVAL(31, 16, clk_osm_count_ns(c, 500));
|
||||
val |= BVAL(31, 16, clk_osm_count_ns(c, 250));
|
||||
clk_osm_write_reg(c, val,
|
||||
DROOP_WAIT_TO_RELEASE_TIMER_CTRL0_REG);
|
||||
}
|
||||
|
@ -1786,7 +1786,7 @@ static void clk_osm_setup_fsms(struct clk_osm *c)
|
|||
|
||||
val = clk_osm_read_reg(c,
|
||||
DROOP_WAIT_TO_RELEASE_TIMER_CTRL0_REG);
|
||||
val |= BVAL(15, 0, clk_osm_count_ns(c, 15000));
|
||||
val |= BVAL(15, 0, clk_osm_count_ns(c, 250));
|
||||
clk_osm_write_reg(c, val,
|
||||
DROOP_WAIT_TO_RELEASE_TIMER_CTRL0_REG);
|
||||
}
|
||||
|
@ -1800,7 +1800,7 @@ static void clk_osm_setup_fsms(struct clk_osm *c)
|
|||
|
||||
if (c->wfx_fsm_en || c->ps_fsm_en || c->droop_fsm_en) {
|
||||
clk_osm_write_reg(c, 0x1, DROOP_PROG_SYNC_DELAY_REG);
|
||||
clk_osm_write_reg(c, clk_osm_count_ns(c, 500),
|
||||
clk_osm_write_reg(c, clk_osm_count_ns(c, 5),
|
||||
DROOP_RELEASE_TIMER_CTRL);
|
||||
clk_osm_write_reg(c, clk_osm_count_ns(c, 500),
|
||||
DCVS_DROOP_TIMER_CTRL);
|
||||
|
|
Loading…
Add table
Reference in a new issue