Fix the YAML files indentation for files in dts/bindings/. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
48 lines
1,009 B
YAML
48 lines
1,009 B
YAML
# 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
|