Message ID | 20230816145741.1472721-6-abel.vesa@linaro.org (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | PM: domains: Add control for switching back and forth to HW control | expand |
On 16.08.2023 16:57, Abel Vesa wrote: > From: Jagadeesh Kona <quic_jkona@quicinc.com> > > HW_CTRL moves the GDSC to HW control mode as part of GDSC enable itself. > Use HW_CTRL_TRIGGER flag instead of HW_CTRL flag for video GDSC's to > switch the GDSC to HW/SW control modes only when consumer requested to > switch GDSC mode using dev_pm_genpd_set_hwmode. > > Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com> > --- Any reason for it to be a separate patch? I'd say either keep all changes separate (for easier bisecting) or keep them all in a single commit. Konrad
diff --git a/drivers/clk/qcom/videocc-sm8550.c b/drivers/clk/qcom/videocc-sm8550.c index 3bb136ec31b1..504b2ef264eb 100644 --- a/drivers/clk/qcom/videocc-sm8550.c +++ b/drivers/clk/qcom/videocc-sm8550.c @@ -324,7 +324,7 @@ static struct gdsc video_cc_mvs0_gdsc = { }, .pwrsts = PWRSTS_OFF_ON, .parent = &video_cc_mvs0c_gdsc.pd, - .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE | HW_CTRL, + .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE | HW_CTRL_TRIGGER, }; static struct gdsc video_cc_mvs1c_gdsc = { @@ -349,7 +349,7 @@ static struct gdsc video_cc_mvs1_gdsc = { }, .pwrsts = PWRSTS_OFF_ON, .parent = &video_cc_mvs1c_gdsc.pd, - .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE | HW_CTRL, + .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE | HW_CTRL_TRIGGER, }; static struct clk_regmap *video_cc_sm8550_clocks[] = {