Commit Graph
1 Commits
Author SHA1 Message Date
afraguasandRyan Hughes c45aa06c97 Add macbook8-spi-pxa2xx-nodma-dkms package
DKMS module for MacBook8,1 (12", Early 2015) keyboard/trackpad support.

The Wildcat Point GSPI controller (PCI 8086:9ce6) on this hardware has a
broken DMA handshake that causes all SPI transfers to time out. This patched
version of spi-pxa2xx-pci forces PIO mode (enable_dma=0) for this PCI ID
only, leaving DMA enabled for all other LPSS SPI devices.

Requires irqpoll on the kernel command line for the SPI IRQ handler to be
serviced (since IO-APIC doesn't deliver IRQ 21 from this hardware).

Also includes a modprobe blacklist to prevent the in-tree spi_pxa2xx_pci
from claiming the device before our patched version.

Conflicts with macbook12-spi-driver-dkms (mutually exclusive; this machine
uses the in-tree applespi driver instead of the macbook12 out-of-tree one).

Closes basecamp/omarchy#1954
2026-05-08 01:15:44 -04:00