]> git.baikalelectronics.ru Git - kernel.git/commit
media: hantro: Allow i.MX8MQ G1 and G2 to run independently
authorAdam Ford <aford173@gmail.com>
Tue, 25 Jan 2022 17:11:23 +0000 (18:11 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 7 Mar 2022 09:54:45 +0000 (10:54 +0100)
commit3196f4a94d67a12b94e9b8e5b9f3bb0a53a9ed4e
treec1916ea086269dfce19c8d73169b3d3c111a369e
parent68f0026973c11f7418cd9de291fc09f3049bae14
media: hantro: Allow i.MX8MQ G1 and G2 to run independently

The VPU in the i.MX8MQ is really the combination of Hantro G1 and
Hantro G2. With the updated vpu-blk-ctrl, the power domains system
can enable and disable them separately as well as pull them out of
reset. This simplifies the code and lets them run independently
while still retaining backwards compatibility with older device
trees for those using G1.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/hantro/hantro_drv.c
drivers/staging/media/hantro/hantro_hw.h
drivers/staging/media/hantro/imx8m_vpu_hw.c