Repository navigation
arm64: dts: exynos: google: gs201-lynx: enable UFS - #91
Conversation
Enable the UFS host and PHY. lynx's VCC is on gpp0-1 and left on by the bootloader, as on cheetah, and there is no gs201 GPIO driver yet, so describe it as an always-on fixed regulator. Add omamobile.ufs-probe so the initramfs reports the disks it finds. Tested on a Pixel 7a from slot B: the link comes up at HS-G4 on two lanes, as on stock, and the four LUNs and their 55 partitions appear with no UFS errors. Assisted-by: LLM Signed-off-by: Chris Gray <chrisgray70@gmail.com>
|
Thank you, @latentoperator. This is the right size for an enable: one commit, the board file only, and the nodes are the same as the Pixel 7 Pro's and the Fold's ( Here Two small notes, neither holding this:
I'll merge this as is. |
What and why
Enables UFS on the Pixel 7a (lynx), so the board can mount a root filesystem from internal storage. One commit, on top of today's
omamobile(the board file from #43 and the framebuffer from #44 are in).It turns on
ufs_0andufs_0_phyand gives the host a VCC. On stock that rail is driven from GPIO gpp0-1 and the bootloader leaves it on, as on cheetah. Like cheetah and felix, the board file describes it as an always-on fixed regulator until there is a gs201 GPIO driver.bootargsgainsomamobile.ufs-probe, as on cheetah, so the initramfs reports the disks it finds.The omarchy-mobile side (the storage guard and the UFS notes for lynx) is in derekross/omarchy-mobile#88. Tracking issue: derekross/omarchy-mobile#36.
Device and build
7.3.0-rc6-omamobile-push1-g38b5a04d67e0from slot B, with the Arch root onuserdata. That build is on an olderomamobile, but its UFS nodes andbootargsflag are the same as this commit's.On the phone
Power mode changed to : FAST series_B G_4 L_2: HS-G4 on two lanes, as on stock./dev/sda31(ext4).vdd-hba,vccqorvccq2supplies are described, and ufshcd logs that it assumes them on.Checks
tools/kernel-pr-check --build OUT --merge origin/omamobilefrom omarchy-mobile (d50af30), with dtschema installed:The LONG_LINE warning is the
bootargsstring, which cheetah's board file also runs past 100 columns.I used an AI assistant (Claude Code) for this; the commit carries
Assisted-by: LLM.🤖 Generated with Claude Code