Commit 1c2f049
serial: 8250: add IRQ trigger support
There is currently no provision for passing IRQ trigger flags for
serial IRQs with triggering requirements (such as GPIO IRQs)
This patch adds irqflags to plat_serial8250_port that can be passed
from board file to reqest_irq() of 8250 driver
Changes are backward compatible with boards passing UPF_SHARE_IRQ flag
Tested on Zoom2 board that has IRQF_TRIGGER_RISING requirement for 8250 irq
[Moved new flag to end to fix bugs in the original with the old_serial array
-- Alan]
Signed-off-by: Vikram Pandita <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 1e066d8 commit 1c2f049
File tree
4 files changed
+12
-5
lines changed- drivers/serial
- include/linux
4 files changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1677 | 1677 | | |
1678 | 1678 | | |
1679 | 1679 | | |
1680 | | - | |
| 1680 | + | |
1681 | 1681 | | |
1682 | 1682 | | |
1683 | 1683 | | |
| |||
2026 | 2026 | | |
2027 | 2027 | | |
2028 | 2028 | | |
2029 | | - | |
| 2029 | + | |
2030 | 2030 | | |
2031 | 2031 | | |
2032 | 2032 | | |
| |||
2039 | 2039 | | |
2040 | 2040 | | |
2041 | 2041 | | |
2042 | | - | |
| 2042 | + | |
2043 | 2043 | | |
2044 | 2044 | | |
2045 | 2045 | | |
| |||
2671 | 2671 | | |
2672 | 2672 | | |
2673 | 2673 | | |
| 2674 | + | |
2674 | 2675 | | |
2675 | 2676 | | |
2676 | 2677 | | |
| |||
2679 | 2680 | | |
2680 | 2681 | | |
2681 | 2682 | | |
2682 | | - | |
| 2683 | + | |
2683 | 2684 | | |
2684 | 2685 | | |
2685 | 2686 | | |
| |||
2869 | 2870 | | |
2870 | 2871 | | |
2871 | 2872 | | |
| 2873 | + | |
2872 | 2874 | | |
2873 | 2875 | | |
2874 | 2876 | | |
| |||
2942 | 2944 | | |
2943 | 2945 | | |
2944 | 2946 | | |
| 2947 | + | |
2945 | 2948 | | |
2946 | 2949 | | |
2947 | 2950 | | |
| |||
2954 | 2957 | | |
2955 | 2958 | | |
2956 | 2959 | | |
2957 | | - | |
| 2960 | + | |
2958 | 2961 | | |
2959 | 2962 | | |
2960 | 2963 | | |
| |||
3096 | 3099 | | |
3097 | 3100 | | |
3098 | 3101 | | |
| 3102 | + | |
3099 | 3103 | | |
3100 | 3104 | | |
3101 | 3105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
268 | 269 | | |
269 | 270 | | |
270 | 271 | | |
| |||
0 commit comments