Re: [PATCH v2 3/5] media: mediatek: vcodec: Read HW active status from clock

From: AngeloGioacchino Del Regno
Date: Thu Jun 08 2023 - 03:34:17 EST


Il 07/06/23 22:53, Nícolas F. R. A. Prado ha scritto:
Remove the requirement of a VDEC_SYS reg iospace. To achieve that, rely
on the "active" clock being passed through the DT, and read its status
during IRQ handling to check whether the HW is active.

The old behavior is still present when reg-names aren't supplied, as to
keep backward compatibility.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>