Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpio: brcmstb: Use dynamic GPIO base numbers #5639

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented Oct 6, 2023

Forcing a gpiochip to have a fixed base number now leads to a warning message. Remove the need to do so by calculating hwirq numbers based on bank numbers.

Fixes: 3b0213d ("gpio: Add GPIO support for Broadcom STB SoCs")

This is #5638 but without the bcm2835/bcm2711 equivalent, the aim being to give all the system GPIO numbers high, dynamic numbers.

Forcing a gpiochip to have a fixed base number now leads to a warning
message. Remove the need to do so by calculating hwirq numbers based
on bank numbers.

Signed-off-by: Phil Elwell <[email protected]>
Fixes: 3b0213d ("gpio: Add GPIO support for Broadcom STB SoCs")
@pelwell pelwell merged commit 450d617 into raspberrypi:rpi-6.1.y Oct 8, 2023
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Oct 12, 2023
kernel: configs: Enable more sound devices
See: raspberrypi/linux#5637

kernel: media: i2c: ov9282: Read chip ID via 2 reads
See: raspberrypi/linux#5644

kernel: vc04_services: bcm2835-codec: Correct alignment requirements for YUYV
See: raspberrypi/linux#5646

kernel: xhci: add quirk for host controllers that don't update endpoint DCS
See: raspberrypi/linux#5642

kernel: drivers: media: rp1_cfe: Remove PISP specific MBUS formats
See: raspberrypi/linux#5641

kernel: media/rpivid: Make iommu work on rpivid
See: raspberrypi/linux#5627

kernel: gpio: brcmstb: Use dynamic GPIO base numbers
See: raspberrypi/linux#5639
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Oct 12, 2023
kernel: configs: Enable more sound devices
See: raspberrypi/linux#5637

kernel: media: i2c: ov9282: Read chip ID via 2 reads
See: raspberrypi/linux#5644

kernel: vc04_services: bcm2835-codec: Correct alignment requirements for YUYV
See: raspberrypi/linux#5646

kernel: xhci: add quirk for host controllers that don't update endpoint DCS
See: raspberrypi/linux#5642

kernel: drivers: media: rp1_cfe: Remove PISP specific MBUS formats
See: raspberrypi/linux#5641

kernel: media/rpivid: Make iommu work on rpivid
See: raspberrypi/linux#5627

kernel: gpio: brcmstb: Use dynamic GPIO base numbers
See: raspberrypi/linux#5639
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