Page MenuHomeFreeBSD

spibus(4): Add support for ACPI-based children enumeration
ClosedPublic

Authored by wulf on Jul 31 2023, 2:59 PM.
Tags
None
Referenced Files
F87515036: D41248.diff
Thu, Jul 4, 7:26 AM
Unknown Object (File)
May 24 2024, 10:20 PM
Unknown Object (File)
May 2 2024, 9:09 AM
Unknown Object (File)
May 2 2024, 9:09 AM
Unknown Object (File)
May 2 2024, 9:08 AM
Unknown Object (File)
May 2 2024, 3:48 AM
Unknown Object (File)
Dec 20 2023, 6:08 AM
Unknown Object (File)
Dec 13 2023, 3:06 AM
Subscribers
None

Details

Summary

When spibus is attached as child of Intel SPI controller it scans all
ACPI nodes for "SPI Serial Bus Connection Resource Descriptor" described
in section 19.6.126 of ACPI specs.
If such a descriptor is found, SPI child is added to spibus, it's SPI
chip select, mode, clock, IRQ resource and ACPI handle are added to ivars.
Existing ACPI bus-hosted child is deleted afterwards.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52904
Build 49795: arc lint + arc unit

Event Timeline

wulf requested review of this revision.Jul 31 2023, 2:59 PM
wulf created this revision.
This revision is now accepted and ready to land.Aug 1 2023, 7:21 AM