Skip to content

usb: typec: tipd: Reconcile initial SPMI events - #256

Closed
DjDeveloperr wants to merge 1 commit into
apif-gpio-irqsfrom
apif-typec-events
Closed

DjDeveloperr wants to merge 1 commit into
apif-gpio-irqsfrom
apif-typec-events

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Reconciles Type-C events latched before the SPMI event IRQ is registered. After successful port initialization, probe invokes the existing serialized event handler once. Initialization failures still put the controller back to sleep.

This preserves the public polling, wake and suspend paths. It imports the startup event drain from the private platform source without replacing the newer public driver.

Validation: native arm64 TPS6598x core and SN201202x SPMI driver build; source review of initialization and handler locking; git diff --check. Physical attach and wake qualification is pending.

Depends on #255.

SPMI event messages can arrive before the event IRQ is registered.
Run the existing serialized handler once after successful initialization
so the initial event state is reconciled with the registered port.

Preserve the public polling, wake and suspend handling.

Signed-off-by: Dj <hey@djdev.me>
@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

Superseded by #487, refreshed from the current T6050 source onto Linux 7.3 integration. The new shared base is #472; all feature PRs now target t6050/base. Closing this stale chained version and keeping its branch for history.

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