Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2C RTIO support #2330

Merged
merged 5 commits into from
Dec 3, 2024
Merged

Conversation

carlescufi
Copy link
Contributor

@carlescufi carlescufi commented Dec 3, 2024

Cherry-pick all changes required for I2C RTIO support.

gmarull and others added 5 commits December 3, 2024 15:50
…e_driver_init

- Driver always initializes the device in the suspended state
- If CONFIG_PM_DEVICE_RUNTIME=n, device PM callback will be called with
  RESUME action, thus setting up pins to default state and enabling the
  peripheral

NOTE: when CONFIG_PM_DEVICE=n, the pinctrl sleep state will not be
available (-ENOENT) and so never applied, thus avoiding a pin
suspended->active transition.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 9f0ebb6)
Extract code useful for an RTIO implementation to a separate file.

Signed-off-by: Jordan Yates <[email protected]>
(cherry picked from commit 0218b36)
Add native support for RTIO to the TWIM hardware IP.

Signed-off-by: Jordan Yates <[email protected]>
(cherry picked from commit f443363)
Change the callback context to the dev pointer instead of the data
pointer, as the dev pointer is needed by RTIO.

Signed-off-by: Jordan Yates <[email protected]>
(cherry picked from commit 627be7d)
…DARD

Instead of forcing a definition in Devicetree. Right now, SoC DT files
contain this default, but it should not be part of SoC DT files.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 92c3495)
@carlescufi carlescufi merged commit 6c5454b into nrfconnect:v3.7.99-ncs1-branch Dec 3, 2024
17 checks passed
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.

4 participants