blob: 910f5f05c44fe675cae3f03b0482ac7cfe380c8d [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).
temp-channel:
type: int
description: Indicates the ADC channel of the internal temperature sensor.
vref-channel:
type: int
description: Indicates the ADC channel of the internal voltage reference.
vbat-channel:
type: int
description: Indicates the ADC channel of the internal vbat monitoring.
io-channel-cells:
- input