OSDN Git Service

ARM: dts: stm32: enable ADC support on stm32mp157a-dk1
authorFabrice Gasnier <fabrice.gasnier@st.com>
Fri, 13 Sep 2019 14:34:40 +0000 (16:34 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 25 Oct 2019 12:28:42 +0000 (14:28 +0200)
commitf9f5467f05eade2eb84bc6eb68f855198797f9b4
tree5d62b94c522e7bdbaa391b68b8e79656ad9b7d8b
parentbe5cdd1389abc06c0d89bf5c7c81ee3eb64604da
ARM: dts: stm32: enable ADC support on stm32mp157a-dk1

Configure ADC support on stm32mp157a-dk1. It can be used for various
purpose:
- AIN connector has several analog inputs: ANA0, ANA1, ADC2 in6 & in2,
  ADC1 in13 & in6
- USB Type-C CC1 & CC2 pins wired to in18 & in19
It's easier then to Configure them all. But keep them disabled by default,
so the pins are kept in their initial state to lower power consumption.
This way they can also be used as GPIO.
Add VDD and VDDA supplies to ADC on stm32mp157c-dk1 board. This allows to
get full ADC analog performances in case VDDA is below 2.7V (not the case
by default).

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