]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52370762d989c48ed501911d6485363768ef4224
treedd75212c4aae99ccd29d5cb70b0df30198bef234
parentaa3ae4145c59f70c7bfb9b388565ecbd510b5446
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