-
Notifications
You must be signed in to change notification settings - Fork 8k
Add silabs series 2 IADC driver with scan conversion and DMA support. #94264
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
Open
Martinhoff-maker
wants to merge
9
commits into
zephyrproject-rtos:main
Choose a base branch
from
Martinhoff-maker:adc_series_2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
011d79a
drivers: adc: enhance millivolt conversion with 64-bit support
Martinhoff-maker 7739ebd
drivers: adc: add IADC support for silabs series 2 boards
Martinhoff-maker b1b80ac
dts: arm: silabs: update IADC driver binding for all series 2 board
Martinhoff-maker 3c67ff1
boards: silabs: add ADC io-channels on multiples boards
Martinhoff-maker a762b21
samples: adc_sequence: add oversampling configuration option
Martinhoff-maker d8e8244
samples: adc_sequence: differential mode handling in ADC conversion
Martinhoff-maker 0812b53
samples/tests: adc: silabs: add multiple device overlays.
Martinhoff-maker 0c0469d
drivers: adc: add DMA support for Silabs IADC
Martinhoff-maker dc4d603
tests: adc: add configuration and overlay for DMA support on Silabs IADC
Martinhoff-maker 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
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 |
---|---|---|
|
@@ -36,6 +36,7 @@ | |
sw1 = &button1; | ||
watchdog0 = &wdog0; | ||
dht0 = &si7021; | ||
adc0 = &adc0; | ||
}; | ||
|
||
leds { | ||
|
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
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
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,20 @@ | ||
# Copyright (c) 2025 Silicon Laboratories Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config ADC_SILABS_IADC | ||
bool "Silabs Incremental ADC driver" | ||
default y | ||
depends on DT_HAS_SILABS_IADC_ENABLED | ||
select SILABS_SISDK_IADC | ||
select ADC_CONFIGURABLE_INPUTS | ||
help | ||
Enable the driver implementation for Silabs Incremental ADC | ||
|
||
config ADC_SILABS_IADC_DMA | ||
bool "Silabs IADC async DMA support" | ||
depends on ADC_SILABS_IADC | ||
depends on DMA | ||
help | ||
Enable DMA support with the Silabs IADC driver. | ||
This allows ADC conversions to be performed (asynchronously or not) | ||
using DMA for improved performance. |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add
[deprecated]
in the prompt as well, and direct the user in thehelp
to the driver that shall be used.And the driver should be disabled by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it could stay on enabled by default because if a user don't explicitly return to the old bindings, the symbol will not be selected.