Commit fba5f41
can: flexcan: Add quirk to handle separate interrupt lines for mailboxes
[ Upstream commit 8c652cf ]
Introduce 'FLEXCAN_QUIRK_SECONDARY_MB_IRQ' quirk to handle a FlexCAN
hardware module integration particularity where two ranges of mailboxes
are controlled by separate hardware interrupt lines.
The same 'flexcan_irq' handler is used for both separate mailbox interrupt
lines, with no other changes.
Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://patch.msgid.link/20250113120704.522307-3-ciprianmarian.costea@oss.nxp.com
[mkl: flexcan_open(): change order and free irq_secondary_mb first]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 7204335 commit fba5f41
2 files changed
+28
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1762 | 1762 | | |
1763 | 1763 | | |
1764 | 1764 | | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
1765 | 1772 | | |
1766 | 1773 | | |
1767 | 1774 | | |
1768 | 1775 | | |
1769 | 1776 | | |
1770 | 1777 | | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
1771 | 1781 | | |
1772 | | - | |
| 1782 | + | |
| 1783 | + | |
1773 | 1784 | | |
1774 | 1785 | | |
1775 | 1786 | | |
| |||
1794 | 1805 | | |
1795 | 1806 | | |
1796 | 1807 | | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
1797 | 1811 | | |
1798 | 1812 | | |
1799 | 1813 | | |
| |||
2187 | 2201 | | |
2188 | 2202 | | |
2189 | 2203 | | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
2190 | 2212 | | |
2191 | 2213 | | |
2192 | 2214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| |||
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
| 114 | + | |
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
| |||
0 commit comments