mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
committed by
Jonathan Cameron
parent
5478fd5a59
commit
2e5f093347
138
Documentation/devicetree/bindings/iio/dac/adi,ad5446.yaml
Normal file
138
Documentation/devicetree/bindings/iio/dac/adi,ad5446.yaml
Normal file
@@ -0,0 +1,138 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/iio/dac/adi,ad5446.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Analog Devices AD5446 and similar DACs
|
||||
|
||||
maintainers:
|
||||
- Michael Hennerich <michael.hennerich@analog.com>
|
||||
- Nuno Sá <nuno.sa@analog.com>
|
||||
|
||||
description:
|
||||
Digital to Analog Converter devices supporting both SPI and I2C interfaces.
|
||||
These devices feature a range of resolutions from 8-bit to 16-bit.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
oneOf:
|
||||
- description: SPI DACs
|
||||
enum:
|
||||
- adi,ad5300
|
||||
- adi,ad5310
|
||||
- adi,ad5320
|
||||
- adi,ad5444
|
||||
- adi,ad5446
|
||||
- adi,ad5450
|
||||
- adi,ad5451
|
||||
- adi,ad5452
|
||||
- adi,ad5453
|
||||
- adi,ad5512a
|
||||
- adi,ad5541a
|
||||
- adi,ad5542
|
||||
- adi,ad5542a
|
||||
- adi,ad5543
|
||||
- adi,ad5553
|
||||
- adi,ad5600
|
||||
- adi,ad5601
|
||||
- adi,ad5611
|
||||
- adi,ad5621
|
||||
- adi,ad5641
|
||||
- adi,ad5620-2500
|
||||
- adi,ad5620-1250
|
||||
- adi,ad5640-2500
|
||||
- adi,ad5640-1250
|
||||
- adi,ad5660-2500
|
||||
- adi,ad5660-1250
|
||||
- adi,ad5662
|
||||
- ti,dac081s101
|
||||
- ti,dac101s101
|
||||
- ti,dac121s101
|
||||
- description: I2C DACs
|
||||
enum:
|
||||
- adi,ad5301
|
||||
- adi,ad5311
|
||||
- adi,ad5321
|
||||
- adi,ad5602
|
||||
- adi,ad5612
|
||||
- adi,ad5622
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
vcc-supply:
|
||||
description:
|
||||
Reference voltage supply. If not supplied, devices with internal
|
||||
voltage reference will use that.
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
||||
allOf:
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- adi,ad5300
|
||||
- adi,ad5310
|
||||
- adi,ad5320
|
||||
- adi,ad5444
|
||||
- adi,ad5446
|
||||
- adi,ad5450
|
||||
- adi,ad5451
|
||||
- adi,ad5452
|
||||
- adi,ad5453
|
||||
- adi,ad5512a
|
||||
- adi,ad5541a
|
||||
- adi,ad5542
|
||||
- adi,ad5542a
|
||||
- adi,ad5543
|
||||
- adi,ad5553
|
||||
- adi,ad5600
|
||||
- adi,ad5601
|
||||
- adi,ad5611
|
||||
- adi,ad5621
|
||||
- adi,ad5641
|
||||
- adi,ad5620-2500
|
||||
- adi,ad5620-1250
|
||||
- adi,ad5640-2500
|
||||
- adi,ad5640-1250
|
||||
- adi,ad5660-2500
|
||||
- adi,ad5660-1250
|
||||
- adi,ad5662
|
||||
- ti,dac081s101
|
||||
- ti,dac101s101
|
||||
- ti,dac121s101
|
||||
then:
|
||||
allOf:
|
||||
- $ref: /schemas/spi/spi-peripheral-props.yaml#
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
spi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dac@0 {
|
||||
compatible = "adi,ad5446";
|
||||
reg = <0>;
|
||||
vcc-supply = <&dac_vref>;
|
||||
};
|
||||
};
|
||||
- |
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dac@42 {
|
||||
compatible = "adi,ad5622";
|
||||
reg = <0x42>;
|
||||
vcc-supply = <&dac_vref>;
|
||||
};
|
||||
};
|
||||
...
|
||||
@@ -440,6 +440,14 @@ W: http://wiki.analog.com/AD5398
|
||||
W: https://ez.analog.com/linux-software-drivers
|
||||
F: drivers/regulator/ad5398.c
|
||||
|
||||
AD5446 ANALOG DEVICES INC AD5446 DAC DRIVER
|
||||
M: Michael Hennerich <michael.hennerich@analog.com>
|
||||
M: Nuno Sá <nuno.sa@analog.com>
|
||||
L: linux-iio@vger.kernel.org
|
||||
S: Supported
|
||||
W: https://ez.analog.com/linux-software-drivers
|
||||
F: Documentation/devicetree/bindings/iio/dac/adi,ad5446.yaml
|
||||
|
||||
AD714X CAPACITANCE TOUCH SENSOR DRIVER (AD7142/3/7/8/7A)
|
||||
M: Michael Hennerich <michael.hennerich@analog.com>
|
||||
S: Supported
|
||||
|
||||
Reference in New Issue
Block a user