Skip to content

linux-omarchy-n1x: carry the I2C timing fix for the Snapdragon keyboard - #990

Closed
birkskyum wants to merge 2 commits into
omacom:masterfrom
birkskyum:geni-tscl-fix
Closed

birkskyum wants to merge 2 commits into
omacom:masterfrom
birkskyum:geni-tscl-fix

Conversation

@birkskyum

Copy link
Copy Markdown
Contributor

From 7.2.9 the built-in keyboard and touchpad of the Yoga Slim 7x are dead, also at the disk password prompt. The cause is "i2c: qcom-geni: Fix hardcoded clock index in SE_GENI_CLK_SEL", which moves the laptops' I2C buses to their 32 MHz clock, where the fast-mode timing is too short for those two devices. The recipe is on 7.2.8 and not affected yet.

This adds the fix that is on the kernel list for it, i2c: qcom-geni: restore tSCL with 32MHz I2C fast-mode, as patch 2001, so the keyboard keeps working when the recipe moves past 7.2.8. It is not merged upstream yet. Once a release has it the patch stops applying, and then it can go.

On 7.2.8 these laptops don't use the 32 MHz table, so nothing changes today and there is no pkgrel bump. It ships with the next build.

On the Yoga Slim 7x, with only the I2C driver swapped on 7.2.8-4, the 7.2.9 driver has no keyboard or touchpad, and the 7.2.9 driver with this patch has both. The patch applies to the 7.2.8 source with no fuzz.

@birkskyum
birkskyum changed the base branch from n1x to master October 15, 2026 13:28
Upstream took "i2c: qcom-geni: Restore the source-clock selection policy"
for 7.3 instead of the tSCL patch. It keeps these buses on 19.2 MHz and
applies from 7.2.9 on, so it goes in with the move past 7.2.8.
@birkskyum

Copy link
Copy Markdown
Contributor Author

Closing this. Linux 7.3 has Abel Vesa's fix for the same regression, 8cb5c17be3a2 ("i2c: qcom-geni: Restore the source-clock selection policy"), which keeps the I2C buses on 19.2 MHz unless 32 MHz is already set. I booted plain 7.3 on the Yoga Slim 7x without this patch. The keyboard works at the disk password prompt, the touchpad and touchscreen bind, and every I2C engine runs at 19.2 MHz.

The fix carries a Fixes tag, so 7.2.y should get it too. Until then 7.2.9 to 7.2.11 still break the keyboard, so the recipe has to go from 7.2.8 straight to 7.3, or to a 7.2.y release that has the fix.

@birkskyum birkskyum closed this Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant