Refactor devicetree parsing and driver interface
Open
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 132
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 39
Description
Ideally, we would let the drivers handle most of the devicetree parsing and keep a mapping of compatibles to drivers so that we can probe all the drivers for the devicetree in use.
We should however abstract away more of the low-level parsing (i.e. expose the defined interrupts and memory regions with a higher-level interface).
A driver would then e.g. define a `probe` method that takes the devicetree node it was matched on as a parameter. It would then set up interrupt handlers, configure GPIOs, etc.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.