media: venus: pm_helpers: use opp-table for the frequency
authorRenjiang Han <quic_renjiang@quicinc.com>
Thu, 12 Jun 2025 02:23:51 +0000 (07:53 +0530)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 3 Jul 2025 09:02:43 +0000 (11:02 +0200)
commitb179234b5e59013f8772da17b273f463f9720bdd
tree7b5ba0501b77558c227dee00229d6d4a35ba09cd
parentc056064a207c914c8e50d1a6312a5fa65dcbae5f
media: venus: pm_helpers: use opp-table for the frequency

Some platforms (such as qcs615 and sc7180) use the same core but have
different frequency tables. Using the opp-table allows us to separate
the core description from the frequency data and supports the use of
fallback compatibles.

Reviewed-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Renjiang Han <quic_renjiang@quicinc.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/qcom/venus/pm_helpers.c