Repository navigation
usb: typec: tipd: Reconcile initial SPMI events - #256
Closed
DjDeveloperr wants to merge 1 commit into
Closed
DjDeveloperr wants to merge 1 commit into
DjDeveloperr wants to merge 1 commit into
Conversation
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>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.