OSDN Git Service

media: hantro: make irq names configurable
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 12 Jun 2019 09:39:09 +0000 (05:39 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 12 Jun 2019 14:39:18 +0000 (10:39 -0400)
commit4d20d087db46ee58e2d00d494c34f3dcd4218c78
treedd75212c4aae99ccd29d5cb70b0df30198bef234
parent0fd7ada14eefa99921fc24666ac93ca6931c09f0
media: hantro: make irq names configurable

The i.MX8MQ bindings will use different IRQ names ("g1" instead of
"vdpu", and "g2"), so make them configurable. This also allows to
register more than two IRQs, which will be required for i.MX8MM support
later (it will add "h1" instead of "vepu").

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/hantro/hantro.h
drivers/staging/media/hantro/hantro_drv.c
drivers/staging/media/hantro/rk3288_vpu_hw.c
drivers/staging/media/hantro/rk3399_vpu_hw.c