Skip to content

Commit c46e9b6

Browse files
Olivier MoysanAlexandre Torgue
authored andcommitted
ARM: dts: stm32: adopt generic iio bindings for adc channels on emstamp-argon
Use STM32 ADC generic bindings instead of legacy bindings on emtrion GmbH Argon boards. The STM32 ADC specific binding to declare channels has been deprecated, hence adopt the generic IIO channels bindings, instead. The STM32MP151 device tree now exposes internal channels using the generic binding. This makes the change mandatory here to avoid a mixed use of legacy and generic binding, which is not supported by the driver. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
1 parent 765ce35 commit c46e9b6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

arch/arm/boot/dts/stm32mp157c-emstamp-argon.dtsi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,11 @@
9797
adc1: adc@0 {
9898
pinctrl-names = "default";
9999
pinctrl-0 = <&adc1_in6_pins_a>;
100-
st,min-sample-time-nsecs = <5000>;
101-
st,adc-channels = <6>;
102100
status = "disabled";
101+
channel@6 {
102+
reg = <6>;
103+
st,min-sample-time-ns = <5000>;
104+
};
103105
};
104106

105107
adc2: adc@100 {

0 commit comments

Comments
 (0)