zephyr/dts/bindings/adc/raspberrypi,pico-adc.yaml

28 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