Page MenuHomeFreeBSD

ufshci: fix the Snapdragon X Elite reference clock
ClosedPublic

Authored by jaeyoon on Tue, Sep 1, 6:07 AM.
Tags
None
Referenced Files
F170081288: D59297.diff
Thu, Sep 3, 11:14 AM
F170045654: D59297.id.diff
Thu, Sep 3, 8:43 AM
Unknown Object (File)
Wed, Sep 2, 12:48 PM
Unknown Object (File)
Wed, Sep 2, 6:19 AM
Unknown Object (File)
Wed, Sep 2, 6:19 AM
Unknown Object (File)
Tue, Sep 1, 11:54 PM
Unknown Object (File)
Tue, Sep 1, 11:24 AM
Unknown Object (File)
Tue, Sep 1, 9:02 AM
Subscribers
None

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