blob: 48af5c0e4db81f669582d7b7724f97327f65e492 [file] [log] [blame]
# Copyright (c) 2018, Endre Karlson
# Copyright (c) 2018, Song Qiang <songqiang1304521@gmail.com>
# SPDX-License-Identifier: Apache-2.0
description: ST STM32 family ADC
compatible: "st,stm32-adc"
include: [adc-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
clocks:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
pinctrl-0:
required: true
pinctrl-names:
required: true
vref_mv:
type: int
required: false
default: 3300
description: Indicates the reference voltage of the ADC in mV.
has-temp-channel:
type: boolean
description: Indicates if the ADC has a dedicated internal temperature sensor channel.
has-vref-channel:
type: boolean
description: Indicates if the ADC has a dedicated internal voltage reference channel.
io-channel-cells:
- input