Skip to content

irqchip/qcom-pdc: register before the device initcalls - #98

Merged
Xenolphthalein merged 1 commit into
sm8250/7.2from
sm8250/pdc-early
Dec 4, 2026
Merged

Xenolphthalein merged 1 commit into
sm8250/7.2from
sm8250/pdc-early

Conversation

@Xenolphthalein

Copy link
Copy Markdown
Contributor

The TLMM looks up its wakeup parent, the PDC, at probe and defers without it. The PDC registers as a built-in platform driver with the device initcalls, so it binds after the TLMM's first try, and the TLMM waits for the deferred probes of the late initcalls. This registers the PDC's driver at arch_initcall: it binds as soon as its device is made, and the TLMM right after it.

On the headset (the PICO 4, phoenix/7.2-12's tree with this and the phoenix change, initcall_debug):

  • The PDC binds at 0.168 s and the TLMM at 0.170 s, instead of 0.416 s and 0.614 s (from the deferred list).
  • Everything after it probes as before: the display's clock controller at 0.418 s, the SMMUs at 0.438 s, mdss at 0.660 s.
  • GPIO wakeups through the PDC: the installed system starts, SteamVR's standby and wake work.

For overpressure/phoenix#195

The TLMM looks up its wakeup parent, the PDC, at probe and defers
without it. The PDC registers as a built-in platform driver, with the
device initcalls, so it binds after the TLMM's first try, and the TLMM
waits for the deferred probes of the late initcalls: on the PICO 4 its
pin states apply at 0.61 s instead of 0.18 s, after the display's clock
controller and the SMMUs have probed.

Register the driver at arch_initcall: the PDC binds as soon as its
device is made, and the TLMM right after it.
@Xenolphthalein
Xenolphthalein merged commit 3f342f8 into sm8250/7.2 Dec 4, 2026
5 checks passed
@Xenolphthalein
Xenolphthalein deleted the sm8250/pdc-early branch December 4, 2026 14:50
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