-
Notifications
You must be signed in to change notification settings - Fork 8.3k
drivers: i3c: Support I3C driver for STM32. #81190
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
Merged
kartben
merged 4 commits into
zephyrproject-rtos:main
from
ExaltZephyr:stm32-i3c-support
Dec 12, 2024
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
7c00e2c
dts: Add I3C configuration for STM32.
ExaltZephyr e99fe74
drivers: i3c: Support I3C driver for STM32.
ExaltZephyr 8e778d5
shell: Enable I3C shell support for STM32.
ExaltZephyr 9e104d8
boards: Enable I3C support for STM32 nucleo_h563zi.
ExaltZephyr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,4 +25,5 @@ supported: | |
| - usb_device | ||
| - rtc | ||
| - i2c | ||
| - i3c | ||
| vendor: st | ||
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # Copyright (c) 2024 EXALT Technologies. | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| module = I3C_STM32 | ||
| module-str = i3c_stm32 | ||
|
|
||
| source "subsys/logging/Kconfig.template.log_config" | ||
| config I3C_STM32 | ||
| bool "STM32 I3C driver support" | ||
| depends on DT_HAS_ST_STM32_I3C_ENABLED | ||
| select I3C_IBI_WORKQUEUE if I3C_USE_IBI | ||
| default y | ||
erwango marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| help | ||
| Enable support for I3C on STM32 microcontrollers. | ||
|
|
||
erwango marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| if I3C_STM32 | ||
|
|
||
| config I3C_STM32_DMA | ||
| bool "STM32 I3C DMA driver support" | ||
| select DMA | ||
| help | ||
| Enables support for I3C DMA mode on STM32 microcontrollers. | ||
|
|
||
| config I3C_STM32_DMA_FIFO_HEAP_SIZE | ||
| int "Status FIFO and control FIFO heap" | ||
| depends on I3C_STM32_DMA | ||
| default 2048 | ||
| help | ||
| Configures the heap size for dynamically allocating the regions for | ||
| storing status FIFO and control FIFO words which will be used by the DMA. | ||
| This value depends on the maximum number of messages that will be sent | ||
| during a single transfer. 2KB guarantees enough heap size for sending 256 | ||
| messages on a single transfer. | ||
|
|
||
| endif # I3C_STM32 | ||
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.