• Olivier Moysan's avatar
    ARM: dts: stm32: add adc internal channels to stm32mp15 · 04d28eb4
    Olivier Moysan authored
    Add STM32 ADC2 internal channels VREFINT and VDDCORE to STM32MP15x SoCs.
    VBAT internal channel is not defined by default in SoC DT, and
    has be defined in board DT when needed, instead. This avoids unwanted
    current consumption on battery, when ADC conversions are performed
    on any other channels.
    
    The internal channels are defined in STM32MP15 SoC DT according to the
    generic IIO channel bindings. The STM32 driver does not support a mixed
    use of legacy and generic channels. When generic channels are defined,
    legacy channels are ignored. This involves that the board device trees
    using legacy bindings for ADC2, have to be reworked.
    Signed-off-by: default avatarOlivier Moysan <olivier.moysan@foss.st.com>
    Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
    04d28eb4
stm32mp151.dtsi 43.8 KB