media: hantro: add support for Rockchip RK3036
authorAlex Bee <knaerzche@gmail.com>
Mon, 14 Jun 2021 21:32:15 +0000 (23:32 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 17 Jun 2021 09:00:43 +0000 (11:00 +0200)
commit4f34591568e7a1e4a9d0839b4c8d3155f3047f72
tree4b9ec4b4b54a288cdfeabba316b9da6cc736597a
parent78bb1ae5472cabfaf474d348437c25ccaddde75e
media: hantro: add support for Rockchip RK3036

RK3036's VPU IP block is the same as RK3288 has, except that it doesn't
have an encoder, decoding is supported up to 1920x1088 only and the axi
clock can be set to 300 MHz max.

Add a new RK3036 variant which reflects these differences.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro_drv.c
drivers/staging/media/hantro/hantro_hw.h
drivers/staging/media/hantro/rockchip_vpu_hw.c