zephyr/dts/bindings/adc/raspberrypi,pico-adc.yaml
Fabio Baltieri eb0a524972 yamllint: indentation: fix dts/bindings/
Fix the YAML files indentation for files in dts/bindings/.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-01-04 14:23:53 +01:00

27 lines
621 B
YAML

# Copyright (c) 2022 TOKTIA Hrioshi <tokita.hiroshi@fujitsu.com>
# SPDX-License-Identifier: Apache-2.0
description: RaspberryPi Pico ADC
compatible: "raspberrypi,pico-adc"
include: [adc-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
properties:
reg:
required: true
vref-mv:
type: int
default: 3300
description: |
Indicate the reference voltage of the ADC in mV.
Raspberry Pi has one voltage reference.
And it is usually connected to VDD.
In such case, set this property to the VDD (in mV) value.
"#io-channel-cells":
const: 1
io-channel-cells:
- input