video: driver: amend xo reset clock as shared resource

Use devm_reset_control_get_exclusive_released() instead of
devm_reset_control_get() to get the reset control of video_xo_reset
clock as it is shared reset clock between eva and video drivers.
Use reset_control_acquire() before assert and reset_control_release()
after de-assert video_xo_reset clock to avoid eva driver operating on
it in parallel.

Change-Id: I4936ed7a4556bb56d4b28546084fc877080308ef
Signed-off-by: Deepa Guthyappa Madivalara <quic_dmadival@quicinc.com>
Signed-off-by: Darshana Patil <quic_darshana@quicinc.com>
Este commit está contenido en:
Darshana Patil
2023-01-04 12:58:31 -08:00
padre 179b38a1ec
commit a0082a4c81
Se han modificado 8 ficheros con 126 adiciones y 14 borrados

Ver fichero

@@ -60,6 +60,7 @@ struct clk_table {
struct clk_rst_table {
const char *name;
bool exclusive_release;
};
struct subcache_table {