]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: stm32: add syscfg to ADC on stm32mp157c
authorFabrice Gasnier <fabrice.gasnier@st.com>
Wed, 3 Jul 2019 10:08:16 +0000 (12:08 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 2 Aug 2019 14:17:43 +0000 (16:17 +0200)
On stm32mp157c, the ADC inputs are multiplexed with analog switches which
have reduced performances when their supply is below 2.7V (vdda by
default).
Add syscfg registers that can be used on stm32mp157c, to get full ADC
analog performances.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157c.dtsi

index c21dd9f31503ff9035e1c33d11fb245adced21ea..9b11654a0a3977e62efb6f427ee1d49eb1af5bd2 100644 (file)
                        clocks = <&rcc ADC12>, <&rcc ADC12_K>;
                        clock-names = "bus", "adc";
                        interrupt-controller;
+                       st,syscfg = <&syscfg>;
                        #interrupt-cells = <1>;
                        #address-cells = <1>;
                        #size-cells = <0>;