Skip to content

Commit d628455

Browse files
Vedang Nagarandersson
authored andcommitted
clk: qcom: videocc-sm8550: Use HW_CTRL_TRIGGER flag for video GDSC's
The video driver will be using the newly introduced dev_pm_genpd_set_hwmode() API to switch the video GDSC to HW/SW control modes at runtime. Hence use HW_CTRL_TRIGGER flag instead of HW_CTRL for video GDSC's. Signed-off-by: Vedang Nagar <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 362be5c commit d628455

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/qcom/videocc-sm8550.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ static struct gdsc video_cc_mvs0_gdsc = {
449449
},
450450
.pwrsts = PWRSTS_OFF_ON,
451451
.parent = &video_cc_mvs0c_gdsc.pd,
452-
.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE | HW_CTRL,
452+
.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE | HW_CTRL_TRIGGER,
453453
};
454454

455455
static struct gdsc video_cc_mvs1c_gdsc = {
@@ -474,7 +474,7 @@ static struct gdsc video_cc_mvs1_gdsc = {
474474
},
475475
.pwrsts = PWRSTS_OFF_ON,
476476
.parent = &video_cc_mvs1c_gdsc.pd,
477-
.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE | HW_CTRL,
477+
.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE | HW_CTRL_TRIGGER,
478478
};
479479

480480
static struct clk_regmap *video_cc_sm8550_clocks[] = {

0 commit comments

Comments
 (0)