From 36d4d7b33f541d1ea5e9b6b050655482ce2350c9 Mon Sep 17 00:00:00 2001 From: Emil Dahl Juhl Date: Mon, 10 Nov 2025 10:38:24 +0100 Subject: [PATCH] dts: arm: st: n6: fixup adc2 missing properties The added stm32-adc properties in c21cdd856968 ("dts: bindings: adc: stm32: add new properties to simplify the driver") were missing from adc2 within the stm32n6.dtsi. Since adc1 and adc2 are almost identical, just copy the missing properties from adc1 which was fixed up as part of 5f0c63ea357e ("dts: arm: st: fill out adc nodes with the new properties"). This fixes compilation when using adc2: ``` devicetree error: 'st,adc-internal-regulator' is marked as required in 'properties:' in [...]/zephyr/dts/bindings/adc/st,stm32n6-adc.yaml, but does not appear in ``` Signed-off-by: Emil Dahl Juhl --- dts/arm/st/n6/stm32n6.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dts/arm/st/n6/stm32n6.dtsi b/dts/arm/st/n6/stm32n6.dtsi index efb6d2a71150d..3a00e2f9e1571 100644 --- a/dts/arm/st/n6/stm32n6.dtsi +++ b/dts/arm/st/n6/stm32n6.dtsi @@ -467,6 +467,9 @@ sampling-times = <2 3 7 12 14 47 247 1500>; st,adc-sequencer = "programmable"; st,adc-oversampler = "extended"; + st,adc-internal-regulator = "none"; + st,adc-has-deep-powerdown; + st,adc-has-channel-preselection; status = "disabled"; };