Page MenuHomeFreeBSD

ufshci: fix the Snapdragon X Elite reference clock
ClosedPublic

Authored by jaeyoon on Sep 1 2026, 6:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 15, 12:23 AM
Unknown Object (File)
Tue, Oct 13, 7:00 AM
Unknown Object (File)
Mon, Oct 12, 3:31 AM
Unknown Object (File)
Fri, Oct 9, 10:27 AM
Unknown Object (File)
Tue, Oct 6, 8:42 PM
Unknown Object (File)
Fri, Oct 2, 4:23 PM
Unknown Object (File)
Wed, Sep 30, 8:37 PM
Unknown Object (File)
Wed, Sep 30, 6:26 PM
Subscribers

Details

Summary

The driver's ACPI table set bRefClkFreq to 19.2 MHz. The
Snapdragon X Elite feeds the device 38.4 MHz from its CXO. The
firmware has no property for it. The device ran its PLL from
the wrong base. Every HS mode failed. PWM still worked. The
attribute is persistent. The wrong value survived reboots.

Set 38.4 MHz in the table. Read the attribute first. Write it
only when the value differs or the read fails. Log a changed
value and a failed read. Verified on the Galaxy Book 4 Edge.

Sponsored by: Samsung Electronics

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable