Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: dac: Document AD5446 and similar devices

Add device tree binding documentation for the Analog Devices AD5446
family of Digital-to-Analog Converters and derivative devices from
Texas Instruments. There's both SPI and I2C interfaces and feature
resolutions ranging from 8-bit to 16-bit.

The binding covers 29 derivatives devices including the AD5446 series,
AD5600 series, AD5620/5640/5660 variants with different voltage ranges,
and TI DAC081s101/DAC101s101/DAC121s101 devices.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Nuno Sá and committed by
Jonathan Cameron
2e5f0933 5478fd5a

+146
+138
Documentation/devicetree/bindings/iio/dac/adi,ad5446.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/iio/dac/adi,ad5446.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Analog Devices AD5446 and similar DACs 8 + 9 + maintainers: 10 + - Michael Hennerich <michael.hennerich@analog.com> 11 + - Nuno Sá <nuno.sa@analog.com> 12 + 13 + description: 14 + Digital to Analog Converter devices supporting both SPI and I2C interfaces. 15 + These devices feature a range of resolutions from 8-bit to 16-bit. 16 + 17 + properties: 18 + compatible: 19 + oneOf: 20 + - description: SPI DACs 21 + enum: 22 + - adi,ad5300 23 + - adi,ad5310 24 + - adi,ad5320 25 + - adi,ad5444 26 + - adi,ad5446 27 + - adi,ad5450 28 + - adi,ad5451 29 + - adi,ad5452 30 + - adi,ad5453 31 + - adi,ad5512a 32 + - adi,ad5541a 33 + - adi,ad5542 34 + - adi,ad5542a 35 + - adi,ad5543 36 + - adi,ad5553 37 + - adi,ad5600 38 + - adi,ad5601 39 + - adi,ad5611 40 + - adi,ad5621 41 + - adi,ad5641 42 + - adi,ad5620-2500 43 + - adi,ad5620-1250 44 + - adi,ad5640-2500 45 + - adi,ad5640-1250 46 + - adi,ad5660-2500 47 + - adi,ad5660-1250 48 + - adi,ad5662 49 + - ti,dac081s101 50 + - ti,dac101s101 51 + - ti,dac121s101 52 + - description: I2C DACs 53 + enum: 54 + - adi,ad5301 55 + - adi,ad5311 56 + - adi,ad5321 57 + - adi,ad5602 58 + - adi,ad5612 59 + - adi,ad5622 60 + 61 + reg: 62 + maxItems: 1 63 + 64 + vcc-supply: 65 + description: 66 + Reference voltage supply. If not supplied, devices with internal 67 + voltage reference will use that. 68 + 69 + required: 70 + - compatible 71 + - reg 72 + 73 + allOf: 74 + - if: 75 + properties: 76 + compatible: 77 + contains: 78 + enum: 79 + - adi,ad5300 80 + - adi,ad5310 81 + - adi,ad5320 82 + - adi,ad5444 83 + - adi,ad5446 84 + - adi,ad5450 85 + - adi,ad5451 86 + - adi,ad5452 87 + - adi,ad5453 88 + - adi,ad5512a 89 + - adi,ad5541a 90 + - adi,ad5542 91 + - adi,ad5542a 92 + - adi,ad5543 93 + - adi,ad5553 94 + - adi,ad5600 95 + - adi,ad5601 96 + - adi,ad5611 97 + - adi,ad5621 98 + - adi,ad5641 99 + - adi,ad5620-2500 100 + - adi,ad5620-1250 101 + - adi,ad5640-2500 102 + - adi,ad5640-1250 103 + - adi,ad5660-2500 104 + - adi,ad5660-1250 105 + - adi,ad5662 106 + - ti,dac081s101 107 + - ti,dac101s101 108 + - ti,dac121s101 109 + then: 110 + allOf: 111 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 112 + 113 + unevaluatedProperties: false 114 + 115 + examples: 116 + - | 117 + spi { 118 + #address-cells = <1>; 119 + #size-cells = <0>; 120 + 121 + dac@0 { 122 + compatible = "adi,ad5446"; 123 + reg = <0>; 124 + vcc-supply = <&dac_vref>; 125 + }; 126 + }; 127 + - | 128 + i2c { 129 + #address-cells = <1>; 130 + #size-cells = <0>; 131 + 132 + dac@42 { 133 + compatible = "adi,ad5622"; 134 + reg = <0x42>; 135 + vcc-supply = <&dac_vref>; 136 + }; 137 + }; 138 + ...
+8
MAINTAINERS
··· 440 440 W: https://ez.analog.com/linux-software-drivers 441 441 F: drivers/regulator/ad5398.c 442 442 443 + AD5446 ANALOG DEVICES INC AD5446 DAC DRIVER 444 + M: Michael Hennerich <michael.hennerich@analog.com> 445 + M: Nuno Sá <nuno.sa@analog.com> 446 + L: linux-iio@vger.kernel.org 447 + S: Supported 448 + W: https://ez.analog.com/linux-software-drivers 449 + F: Documentation/devicetree/bindings/iio/dac/adi,ad5446.yaml 450 + 443 451 AD714X CAPACITANCE TOUCH SENSOR DRIVER (AD7142/3/7/8/7A) 444 452 M: Michael Hennerich <michael.hennerich@analog.com> 445 453 S: Supported