1# Copyright (c) 2022, Telink Semiconductor 2# SPDX-License-Identifier: Apache-2.0 3 4description: Telink B91 ADC node 5 6compatible: "telink,b91-adc" 7 8include: adc-controller.yaml 9 10properties: 11 reg: 12 required: true 13 14 "#io-channel-cells": 15 const: 1 16 17 sample-freq: 18 type: int 19 required: true 20 enum: 21 - 23000 22 - 48000 23 - 96000 24 description: | 25 This property selects the ADC source frequency: 23 kHz, 48 kHz, or 96 kHz. 26 27 vref-internal-mv: 28 type: int 29 required: true 30 enum: 31 - 900 32 - 1200 33 description: | 34 This property selects the internal reference voltage source (in millivolts). 35 The external reference source is not supported. 36 37io-channel-cells: 38 - input 39