media: platform: qcom/iris: introduce optional controller_rst_tbl
authorNeil Armstrong <neil.armstrong@linaro.org>
Thu, 17 Apr 2025 14:59:03 +0000 (16:59 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 2 May 2025 06:52:04 +0000 (08:52 +0200)
commit322e9061edcbe5be110029a3453d8acc9888a684
treed616185ee5ef46f9c41b8dd9ed9fc10ed503fc01
parentc69df5de4ac3c8dff7f6663c960dd8c5f0dfbaa4
media: platform: qcom/iris: introduce optional controller_rst_tbl

Introduce an optional controller_rst_tbl use to store reset lines
used to reset part of the controller.

This is necessary for the vpu3 support, when the xo reset line
must be asserted separately from the other reset line
on power off operation.

Factor the iris_init_resets() logic to allow requesting
multiple reset tables.

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # x1e Dell
Reviewed-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/qcom/iris/iris_core.h
drivers/media/platform/qcom/iris/iris_platform_common.h
drivers/media/platform/qcom/iris/iris_probe.c