Skip to content

drivers: adc: add dma support for ambiq adc driver #90776

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
merged 1 commit into from
Jun 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion boards/ambiq/apollo510_evb/apollo510_evb-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

adc0_default: adc0_default{
group1 {
pinmux = <ADCSE4_P15>, <ADCSE7_P12>;
pinmux = <ADCSE5_P14>, <ADCSE6_P13>;
drive-strength = "0.1";
};
};
Expand Down
4 changes: 0 additions & 4 deletions boards/rakwireless/rak11720/rak11720.dts
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@
status = "okay";
};

&counter3 {
status = "okay";
};

&counter4 {
status = "okay";
};
Expand Down
12 changes: 12 additions & 0 deletions drivers/adc/Kconfig.ambiq
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,17 @@ config ADC_AMBIQ
depends on DT_HAS_AMBIQ_ADC_ENABLED
select AMBIQ_HAL
select AMBIQ_HAL_USE_ADC
select AMBIQ_HAL_USE_TIMER if SOC_SERIES_APOLLO3X
help
Enables the Adc driver for Ambiq devices.

if ADC_AMBIQ

config ADC_AMBIQ_HANDLE_CACHE
bool "Turn on cache handling in adc driver"
default y
depends on CACHE_MANAGEMENT && DCACHE
help
Disable this if cache has been handled in upper layers.

endif # ADC_AMBIQ
Loading