Skip to content

openfirmware: find device tree nodes by their binding - #969

Merged
Kalamatee merged 1 commit into
aros-development-team:masterfrom
bsek:bsek/openfirmware-find-by-compatible
Aug 9, 2026
Merged

openfirmware: find device tree nodes by their binding#969
Kalamatee merged 1 commit into
aros-development-team:masterfrom
bsek:bsek/openfirmware-find-by-compatible

Conversation

@bsek

@bsek bsek commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

A path locates one board's tree and no other, so a driver keyed on one is really asking whether it is running on the machine it was written for. OF_FindNodeByCompatible() answers what the caller means: whether the tree describes a core with this binding, wherever it sits.

Used to separate raspi 3 devices from raspi 4 devices

A path locates one board's tree and no other, so a driver keyed on one is
really asking whether it is running on the machine it was written for.
OF_FindNodeByCompatible() answers what the caller means: whether the tree
describes a core with this binding, wherever it sits.
@bsek
bsek force-pushed the bsek/openfirmware-find-by-compatible branch from 31ae628 to c8d002b Compare August 9, 2026 15:13
@Kalamatee
Kalamatee merged commit b7497df into aros-development-team:master Aug 9, 2026
3 checks passed
@bsek
bsek deleted the bsek/openfirmware-find-by-compatible branch August 9, 2026 15:25
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.

2 participants