1# Copyright (c) 2023 SILA Embedded Solutions GmbH 2# SPDX-License-Identifier: Apache-2.0 3 4include: [adc-controller.yaml, spi-device.yaml] 5 6bus: ads1x4s0x 7 8properties: 9 "#io-channel-cells": 10 const: 1 11 12 reset-gpios: 13 type: phandle-array 14 description: "GPIO for reset" 15 16 drdy-gpios: 17 type: phandle-array 18 required: true 19 description: | 20 GPIO for data ready, becomes active when a conversion result is ready 21 22 start-sync-gpios: 23 type: phandle-array 24 description: | 25 GPIO for start/sync, used to signal the ADC that a conversion should be started 26 27 idac-current: 28 type: int 29 enum: 30 - 0 31 - 10 32 - 50 33 - 100 34 - 250 35 - 500 36 - 750 37 - 1000 38 - 1500 39 - 2000 40 default: 0 41 description: | 42 IDAC current in microampere, the default value turns the current source off 43 44 vbias-level: 45 type: int 46 enum: 47 - 0 48 - 1 49 default: 0 50 description: | 51 bias voltage level: 0 - (AVDD+AVSS)/2, 1 - (AVDD+AVSS)/12 52 53io-channel-cells: 54 - input 55