Repository navigation
Support interrupts on GPIOs above 45 - #7710
Merged
Merged
Conversation
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>
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
interruptsproperty to enable such interrupts, and adjust the pinctrl-bcm2835 driver to handle interrupts for GPIO2 54-57 (valid on BCM2711).