]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: qcom: videocc: Use HW_CTRL_TRIGGER for SM8250, SC7280 vcodec GDSC's
authorJagadeesh Kona <quic_jkona@quicinc.com>
Mon, 24 Jun 2024 04:48:08 +0000 (10:18 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Jul 2024 10:59:58 +0000 (12:59 +0200)
commit4c2aecac62a442327f1e770055ecc3d5f7894101
tree0020458dece12a66cbfbf51dc2bdd95fc5140adc
parentf7ccdaad612a093c4a7c1840245c77eaffce09ab
clk: qcom: videocc: Use HW_CTRL_TRIGGER for SM8250, SC7280 vcodec GDSC's

For Venus V6 variant SoCs(sm8250, sc7280), the venus driver uses the newly
introduced dev_pm_genpd_set_hwmode() API to switch the vcodec GDSC to
HW/SW control modes at runtime. Hence use HW_CTRL_TRIGGER flag for vcodec
GDSC's on sm8250, sc7280 to register the set_hwmode_dev & get_hwmode_dev
callbacks for vcodec GDSC and allow the GDSC mode to be changed using
dev_pm_genpd_set_hwmode() API.

Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Taniya Das <quic_tdas@quicinc.com>
Acked-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20240624044809.17751-5-quic_jkona@quicinc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/clk/qcom/videocc-sc7280.c
drivers/clk/qcom/videocc-sm8250.c