apache / apache/nuttx

[FEATURE] Card interrupts for RPi4B

Open
#17,269 0 comments 0 reactions 1 assignee Claimed by @linguini1 View on GitHub
Type: Enhancement
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

### Is your feature request related to a problem? Please describe.

The current support for the EMMC2 interface on the Raspberry Pi 4B does not have implemented card interrupts (see #17245). The hardware itself has a card-detect pin on the EMMC2 slot and the EMMC2 controller has interrupts for card insertion/removal, so it should be possible to trigger them. However, the implementation does not seem to get an interrupt trigger on insertion/removal despite enabling those interrupts.

### Describe the solution you'd like

More troubleshooting is necessary to determine why those interrupts don't fire so that there is proper support for card hot-swapping.

### Describe alternatives you've considered

_No response_

### Verification

- [x] I have verified before submitting the report.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.