Page MenuHomeFreeBSD

ofw: Add a ofw_firmware driver
Needs ReviewPublic

Authored by manu on Dec 6 2022, 11:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 7, 10:03 AM
Unknown Object (File)
Fri, Jan 6, 3:44 AM
Unknown Object (File)
Dec 9 2022, 1:00 AM
Unknown Object (File)
Dec 6 2022, 1:07 PM
Subscribers

Details

Reviewers
br
Group Reviewers
ARM
arm64
Summary

Some SoCs have an external firmware doing power management, clock
and other stuffs. (Xilinx, ARM Juno etc ...)
The way it is represent in the DTB is usually having a 'firmware' node
under the root node and have some nodes under it with the correct
compatible strings.
The firmware node itself doesn't have any compatible strings.
This driver is simple subclassed from simplebus and attaches at
BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE so early drivers (like clock drivers)
can still have a change to attach early.

Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 48621
Build 45507: arc lint + arc unit

Event Timeline

manu requested review of this revision.Dec 6 2022, 11:01 AM

Seems to work fine on ARM Morello:

ofw_firmware0: <OFW Firmware Group> on ofwbus0
scmi0: <ARM SCMI interface driver> on ofw_firmware0