blob: dddd8d7e6f914e7e13874644d0a71116e4d46b93 [file] [log] [blame]
# 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
required: false
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