Skip to content

Commit 83388e6

Browse files
committed
dts: nrf54lv10a: remove VDD and DVDD analog inputs for nRF54LV10A
MDK 8.72.1 does not specify VDD and DVDD internal analog inputs for this SoC. Therefore change the binding so it is not possible to specify these inputs in an overlay. Align affected SAADC samples accordingly. Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
1 parent 4b9cdd2 commit 83388e6

File tree

3 files changed

+3
-23
lines changed

3 files changed

+3
-23
lines changed

dts/common/nordic/nrf54lv10a.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include <mem.h>
88
#include <nordic/nrf_common.dtsi>
9-
#include <zephyr/dt-bindings/adc/nrf-saadc-nrf54l.h>
9+
#include <zephyr/dt-bindings/adc/nrf-saadc.h>
1010
#include <zephyr/dt-bindings/regulator/nrf5x.h>
1111

1212
/delete-node/ &sw_pwm;

samples/zephyr/drivers/adc/adc_dt/boards/nrf54lv10dk_nrf54lv10a_cpuapp.overlay

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/ {
88
zephyr,user {
9-
io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 7>;
9+
io-channels = <&adc 0>, <&adc 1>, <&adc 7>;
1010
};
1111
};
1212

@@ -34,16 +34,6 @@
3434
zephyr,oversampling = <8>;
3535
};
3636

37-
channel@2 {
38-
reg = <2>;
39-
zephyr,gain = "ADC_GAIN_1";
40-
zephyr,reference = "ADC_REF_INTERNAL";
41-
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
42-
zephyr,input-positive = <NRF_SAADC_VDD>;
43-
zephyr,resolution = <12>;
44-
zephyr,oversampling = <8>;
45-
};
46-
4737
channel@7 {
4838
reg = <7>;
4939
zephyr,gain = "ADC_GAIN_1";

samples/zephyr/drivers/adc/adc_sequence/boards/nrf54lv10dk_nrf54lv10a_cpuapp.overlay

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/ {
88
zephyr,user {
9-
io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 7>;
9+
io-channels = <&adc 0>, <&adc 1>, <&adc 7>;
1010
};
1111
};
1212

@@ -40,16 +40,6 @@
4040
zephyr,oversampling = <8>;
4141
};
4242

43-
channel@2 {
44-
reg = <2>;
45-
zephyr,gain = "ADC_GAIN_1";
46-
zephyr,reference = "ADC_REF_INTERNAL";
47-
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
48-
zephyr,input-positive = <NRF_SAADC_DVDD>; /* 0.9 V internal */
49-
zephyr,resolution = <12>;
50-
zephyr,oversampling = <8>;
51-
};
52-
5343
channel@7 {
5444
reg = <7>;
5545
zephyr,gain = "ADC_GAIN_1";

0 commit comments

Comments
 (0)