can: rcar_canfd: Add multi_channel_irqs to struct rcar_canfd_hw_info
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 27 Oct 2022 08:21:57 +0000 (09:21 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 10 Dec 2022 12:24:40 +0000 (13:24 +0100)
commitea6ff7792203ad6786bda75d1dabf33311c8bef4
treefeb412cfeb627c9ba75b51209c5e8894083fa93d
parenta1dcfbdfd1d0f7843f381f7c58cc87a0f8c11f6c
can: rcar_canfd: Add multi_channel_irqs to struct rcar_canfd_hw_info

RZ/G2L has separate IRQ lines for tx and error interrupt for each
channel whereas R-Car has a combined IRQ line for all the channel
specific tx and error interrupts.

Add multi_channel_irqs to struct rcar_canfd_hw_info to select the
driver to choose between combined and separate irq registration for
channel interrupts. This patch also removes enum rcanfd_chip_id and
chip_id from both struct rcar_canfd_hw_info, as it is unused.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/all/20221027082158.95895-6-biju.das.jz@bp.renesas.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/rcar/rcar_canfd.c