Skip to content

rp1: Support interrupt CPU affinity - #6090

Merged
pelwell merged 5 commits into
raspberrypi:rpi-6.6.yfrom
pelwell:rp1affinity
Apr 5, 2024
Merged

pelwell merged 5 commits into
raspberrypi:rpi-6.6.yfrom
pelwell:rp1affinity

Conversation

@pelwell

@pelwell pelwell commented Apr 3, 2024

Copy link
Copy Markdown
Contributor

Add CPU affinity support to the RP1 MFD driver and RP1 pintctrl driver, as requested in #6077.

@pelwell

pelwell commented Apr 3, 2024

Copy link
Copy Markdown
Contributor Author

N.B. Needs testing with interrupts from banks other than 0.

pelwell added 5 commits April 4, 2024 12:00
See: raspberrypi#6077

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The GPIO start for each bank - min_gpio - must be used in the IRQ
handler.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Support the use of the brcm,pins property for GPIOs in banks 1 and 2,
but only for inputs and outputs - no other legacy mapping.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See: raspberrypi#6077

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
When setting the interrupt type, it is unlikely that any latched events
are of interest, so clear them.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@pelwell

pelwell commented Apr 4, 2024

Copy link
Copy Markdown
Contributor Author

Morgan's law strikes again. The updates make interrupts work on banks other than zero, and allow the use of the gpio-key overlay to enable interrupts on the other banks (the driver was rejecting the use of brcm,pins with values above 27).

@pelwell
pelwell merged commit ba9f37c into raspberrypi:rpi-6.6.y Apr 5, 2024
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Apr 5, 2024
See: raspberrypi/linux#6089

kernel: rp1: Support interrupt CPU affinity
See: raspberrypi/linux#6090

kernel: i2c: designware: Make the SDA hold time half LCNT
See: raspberrypi/linux#6091

kernel: Add support for Chipcap 2 sensor
See: raspberrypi/linux#6083

kernel: nvmem: raspberrypi: Add nvmem driver for reading customer OTP
See: raspberrypi/linux#6014

kernel: Add overlays and configs for several i2c sensors
See: raspberrypi/linux#6093
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Apr 5, 2024
See: raspberrypi/linux#6089

kernel: rp1: Support interrupt CPU affinity
See: raspberrypi/linux#6090

kernel: i2c: designware: Make the SDA hold time half LCNT
See: raspberrypi/linux#6091

kernel: Add support for Chipcap 2 sensor
See: raspberrypi/linux#6083

kernel: nvmem: raspberrypi: Add nvmem driver for reading customer OTP
See: raspberrypi/linux#6014

kernel: Add overlays and configs for several i2c sensors
See: raspberrypi/linux#6093
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