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
F176481418: D59297.id185606.diff
Mon, Oct 19, 5:21 AM
F176451827: D59297.diff
Sun, Oct 18, 11:31 PM
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 76368
Build 73251: arc lint + arc unit