File tree Expand file tree Collapse file tree 9 files changed +71
-0
lines changed
tests/drivers/adc/adc_api Expand file tree Collapse file tree 9 files changed +71
-0
lines changed Original file line number Diff line number Diff line change 1616 status = "okay";
1717 #address-cells = <1>;
1818 #size-cells = <0>;
19+ dmas = <&dma0 DMA_REQSEL_IADC0IADC_SCAN>;
1920
2021 channel@0 {
2122 reg = <0>;
3536 zephyr,input-positive = <IADC_INPUT_VBAT>;
3637 };
3738};
39+
40+ &dma0 {
41+ status = "okay";
42+ };
Original file line number Diff line number Diff line change 2626&adc0 {
2727 pinctrl-0 = <&adc0_default>;
2828 pinctrl-names = "default";
29+ dmas = <&dma0 DMA_REQSEL_IADC0IADC_SCAN>;
2930 #address-cells = <1>;
3031 #size-cells = <0>;
3132 status = "okay";
4950 zephyr,input-positive = <IADC_INPUT_PB3>;
5051 };
5152};
53+
54+ &dma0 {
55+ status = "okay";
56+ };
Original file line number Diff line number Diff line change 2424&adc0 {
2525 pinctrl-0 = <&adc0_default>;
2626 pinctrl-names = "default";
27+ dmas = <&dma0 DMA_REQSEL_IADC0IADC_SCAN>;
2728 #address-cells = <1>;
2829 #size-cells = <0>;
2930 status = "okay";
4748 zephyr,input-positive = <IADC_INPUT_PD3>;
4849 };
4950};
51+
52+ &dma0 {
53+ status = "okay";
54+ };
Original file line number Diff line number Diff line change 2424&adc0 {
2525 pinctrl-0 = <&adc0_default>;
2626 pinctrl-names = "default";
27+ dmas = <&dma0 DMA_REQSEL_IADC0IADC_SCAN>;
2728 #address-cells = <1>;
2829 #size-cells = <0>;
2930 status = "okay";
4748 zephyr,input-positive = <IADC_INPUT_PB3>;
4849 };
4950};
51+
52+ &dma0 {
53+ status = "okay";
54+ };
Original file line number Diff line number Diff line change 1616 #address-cells = <1>;
1717 #size-cells = <0>;
1818 status = "okay";
19+ dmas = <&dma0 DMA_REQSEL_IADC0IADC_SCAN>;
1920
2021 channel@0 {
2122 reg = <0>;
3536 zephyr,input-positive = <IADC_INPUT_GND>;
3637 };
3738};
39+
40+ &dma0 {
41+ status = "okay";
42+ };
Original file line number Diff line number Diff line change 2424&adc0 {
2525 pinctrl-0 = <&adc0_default>;
2626 pinctrl-names = "default";
27+ dmas = <&dma0 DMA_REQSEL_IADC0IADC_SCAN>;
2728 #address-cells = <1>;
2829 #size-cells = <0>;
2930 status = "okay";
4748 zephyr,input-positive = <IADC_INPUT_PB3>;
4849 };
4950};
51+
52+ &dma0 {
53+ status = "okay";
54+ };
Original file line number Diff line number Diff line change 1616 status = "okay";
1717 #address-cells = <1>;
1818 #size-cells = <0>;
19+ dmas = <&dma0 DMA_REQSEL_IADC0IADC_SCAN>;
1920
2021 channel@0 {
2122 reg = <0>;
3536 zephyr,input-positive = <IADC_INPUT_VBAT>;
3637 };
3738};
39+
40+ &dma0 {
41+ status = "okay";
42+ };
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2025 Silicon Laboratories Inc.
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+
7+ CONFIG_TEST_USERSPACE=n
8+ CONFIG_DMA=y
9+ CONFIG_ADC_SILABS_IADC_DMA=y
Original file line number Diff line number Diff line change @@ -83,3 +83,30 @@ tests:
8383 - dma
8484 platform_allow :
8585 - esp32s3_devkitc/esp32s3/procpu
86+ drivers.adc.dma_silabs :
87+ extra_args :
88+ - EXTRA_CONF_FILE="overlay-dma-silabs.conf"
89+ depends_on :
90+ - dma
91+ platform_allow :
92+ - slwrb4180a
93+ - sltb010a
94+ - xg23_rb4210a
95+ - xg24_rb4187c
96+ - xg27_dk2602a
97+ - bg29_rb4420a
98+ - xg29_rb4412a
99+ drivers.adc.dma_silabs_async :
100+ extra_args :
101+ - EXTRA_CONF_FILE="overlay-dma-silabs.conf"
102+ - CONFIG_ADC_ASYNC=y
103+ depends_on :
104+ - dma
105+ platform_allow :
106+ - slwrb4180a
107+ - sltb010a
108+ - xg23_rb4210a
109+ - xg24_rb4187c
110+ - xg27_dk2602a
111+ - bg29_rb4420a
112+ - xg29_rb4412a
You can’t perform that action at this time.
0 commit comments