Skip to content

Support interrupts on GPIOs above 45 - #7710

Merged
pelwell merged 2 commits into
raspberrypi:rpi-6.18.yfrom
pelwell:highgpios
Oct 23, 2026
Merged

pelwell merged 2 commits into
raspberrypi:rpi-6.18.yfrom
pelwell:highgpios

Conversation

@pelwell

@pelwell pelwell commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

GPIOs from 46 upwards on the BCM283x family are capable of generating edge (and level) interrupts, but the downstream Device Tree files have never declared the extra interrupt required. Remove the override of the upstream interrupts property to enable such interrupts, and adjust the pinctrl-bcm2835 driver to handle interrupts for GPIO2 54-57 (valid on BCM2711).

The driver already allows BCM2711's GPIOs 54-57 to be controlled, but an
interrupt for one of these will not be handled, likely causing an
interrupt storm. Extend the mask for bank 2 to include these higher
GPIOs.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The downstream dtsi files for BCM283x and BCM2711 have only ever
declared 2 interrupts - those for bank 0 and bank 1 - whereas the
upstream sources declare all 4 0 banks 0-2 and the "any bank" interrupt.

Drop that restriction, as we can see no reason for it.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@pelwell
pelwell requested a review from popcornmix October 23, 2026 14:03
@pelwell
pelwell merged commit aeadd6e into raspberrypi:rpi-6.18.y Oct 23, 2026
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Oct 27, 2026
kernel: fbcon: Show fullscreen logo even when quiet
See: raspberrypi/linux#7709

kernel: Support interrupts on GPIOs above 45
See: raspberrypi/linux#7710

kernel: Add device  tree for Pi Zero 3 W and Pi 4A
See: raspberrypi/linux#7711

kernel: configs: Enable CONFIG_UNIX_DIAG=m
See: raspberrypi/linux#7719
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Oct 27, 2026
kernel: fbcon: Show fullscreen logo even when quiet
See: raspberrypi/linux#7709

kernel: Support interrupts on GPIOs above 45
See: raspberrypi/linux#7710

kernel: Add device  tree for Pi Zero 3 W and Pi 4A
See: raspberrypi/linux#7711

kernel: configs: Enable CONFIG_UNIX_DIAG=m
See: raspberrypi/linux#7719
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant