summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2019-07-03 12:08:16 +0200
committerAlexandre Torgue <alexandre.torgue@st.com>2019-08-02 16:17:43 +0200
commit92edf0a2851d44d0f456a4f177736bd45f059c26 (patch)
treeb412fbf8ef68e9deae9ed479d552857af3748491
parentARM: dts: stm32: add pwm cells to stm32f746 (diff)
downloadlinux-92edf0a2851d44d0f456a4f177736bd45f059c26.tar.xz
linux-92edf0a2851d44d0f456a4f177736bd45f059c26.zip
ARM: dts: stm32: add syscfg to ADC on stm32mp157c
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>
-rw-r--r--arch/arm/boot/dts/stm32mp157c.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index c21dd9f31503..9b11654a0a39 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -1001,6 +1001,7 @@
clocks = <&rcc ADC12>, <&rcc ADC12_K>;
clock-names = "bus", "adc";
interrupt-controller;
+ st,syscfg = <&syscfg>;
#interrupt-cells = <1>;
#address-cells = <1>;
#size-cells = <0>;