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
F117762207: D41248.id125373.diff
Thu, May 22, 6:55 PM
Unknown Object (File)
Thu, May 22, 4:55 AM
Unknown Object (File)
Mon, May 12, 3:36 PM
Unknown Object (File)
Apr 19 2025, 2:46 PM
Unknown Object (File)
Apr 18 2025, 11:24 AM
Unknown Object (File)
Apr 18 2025, 5:31 AM
Unknown Object (File)
Mar 12 2025, 1:17 PM
Unknown Object (File)
Feb 27 2025, 2:33 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 Not Applicable
Unit
Tests Not Applicable

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