Skip to content

SM8550: fix Pocket S Mini panel for Linux 7.2 - #3239

Merged
loki666 merged 1 commit into
ROCKNIX:nextfrom
loki666:pocketsmini-linux-7.2
Aug 25, 2026
Merged

SM8550: fix Pocket S Mini panel for Linux 7.2#3239
loki666 merged 1 commit into
ROCKNIX:nextfrom
loki666:pocketsmini-linux-7.2

Conversation

@loki666

@loki666 loki666 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

The AYANEO Pocket S Mini landed on next while the 7.2 bump was still on its own branch, so it was never converted to the two APIs 7.2 changed. Both sides were green on their own; only the merge is broken.

Build fix: drm_panel_init() is no longer exported in 7.2, so 0064 uses devm_drm_panel_alloc() like the other 13 panel drivers.

Runtime fix: the sgm3804 node still used the pre-7.2 binding - one regulator with both GPIOs in reset-gpios. Upstream's driver registers two rails from pos/neg child nodes, each with its own enable-gpios, so the node is migrated the way the other six boards were and the panel gains the avee supply it was silently missing. Voltages are 5200000, matching the selector the old driver actually programmed.

Verified: all 10 SM8550 panel patches apply with zero rejects on 7.2 and the Pocket S Mini dtb compiles with avdd/avee resolving to tlmm 152/153. NOT hardware validated - a wrong migration shows as a lit backlight over a black panel.

AI Usage

While ROCKNIX doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? YES

The AYANEO Pocket S Mini landed on next while the 7.2 bump was still on
its own branch, so it was never converted to the two APIs 7.2 changed.
Both sides were green on their own; only the merge is broken.

Build fix: drm_panel_init() is no longer exported in 7.2, so 0064 uses
devm_drm_panel_alloc() like the other 13 panel drivers.

Runtime fix: the sgm3804 node still used the pre-7.2 binding - one
regulator with both GPIOs in reset-gpios. Upstream's driver registers
two rails from pos/neg child nodes, each with its own enable-gpios, so
the node is migrated the way the other six boards were and the panel
gains the avee supply it was silently missing. Voltages are 5200000,
matching the selector the old driver actually programmed.

Verified: all 10 SM8550 panel patches apply with zero rejects on 7.2 and
the Pocket S Mini dtb compiles with avdd/avee resolving to tlmm 152/153.
NOT hardware validated - a wrong migration shows as a lit backlight over
a black panel.
@loki666 loki666 added the bugfix label Aug 25, 2026
@loki666
loki666 enabled auto-merge August 25, 2026 07:36
@loki666
loki666 added this pull request to the merge queue Aug 25, 2026
Merged via the queue into ROCKNIX:next with commit 2f48d71 Aug 25, 2026
3 of 4 checks passed
@loki666
loki666 deleted the pocketsmini-linux-7.2 branch August 25, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant