blob: 66afd7eddcef9eaec596a04b3c99239b5faa2df1 [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
default: 3300
description: Indicates the reference voltage of the ADC in mV (on the target board).
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.
has-vbat-channel:
type: boolean
description: Indicates if the ADC has a dedicated internal vbat monitoring channel.
io-channel-cells:
- input