1# Copyright (c) 2020 M2I Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4include: [dac-controller.yaml, spi-device.yaml] 5 6properties: 7 voltage-reference: 8 type: int 9 required: true 10 description: | 11 DAC voltage reference select 12 13 See constants in dt-bindings/dac/dacx0508.h. 14 15 channel0-gain: 16 type: int 17 required: true 18 description: | 19 Channel 0 gain select 20 21 See constants in dt-bindings/dac/dacx0508.h. 22 23 channel1-gain: 24 type: int 25 required: true 26 description: | 27 Channel 1 gain select 28 29 See constants in dt-bindings/dac/dacx0508.h. 30 31 channel2-gain: 32 type: int 33 required: true 34 description: | 35 Channel 2 gain select 36 37 See constants in dt-bindings/dac/dacx0508.h. 38 39 channel3-gain: 40 type: int 41 required: true 42 description: | 43 Channel 3 gain select 44 45 See constants in dt-bindings/dac/dacx0508.h. 46 47 channel4-gain: 48 type: int 49 required: true 50 description: | 51 Channel 4 gain select 52 53 See constants in dt-bindings/dac/dacx0508.h. 54 55 channel5-gain: 56 type: int 57 required: true 58 description: | 59 Channel 5 gain select 60 61 See constants in dt-bindings/dac/dacx0508.h. 62 63 channel6-gain: 64 type: int 65 required: true 66 description: | 67 Channel 6 gain select 68 69 See constants in dt-bindings/dac/dacx0508.h. 70 71 channel7-gain: 72 type: int 73 required: true 74 description: | 75 Channel 7 gain select 76 77 See constants in dt-bindings/dac/dacx0508.h. 78 79 "#io-channel-cells": 80 const: 1 81 82io-channel-cells: 83 - output 84