Loading
media: iris: Move vpu35 specific api to common to use for vpu4
Some of the sequence and calculations for vpu4 is identical to vpu35, namely power sequence for vpu controller and the clock frequency calculation. Move those to common file that can be shared for both vpu35 and vpu4. This patch prepares for power sequence for vpu4 which is added in subsequent patch. Reviewed-by:Bryan O'Donoghue <bryan.odonoghue@linaro.org> Co-developed-by:
Vishnu Reddy <busanna.reddy@oss.qualcomm.com> Signed-off-by:
Vishnu Reddy <busanna.reddy@oss.qualcomm.com> Signed-off-by:
Vikash Garodia <vikash.garodia@oss.qualcomm.com> Reviewed-by:
Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com> Signed-off-by:
Bryan O'Donoghue <bod@kernel.org> Signed-off-by:
Hans Verkuil <hverkuil+cisco@kernel.org>