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: ad5380: Add missing binding document

A simple binding for this particular DAC familly.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210627163244.1090296-5-jic23@kernel.org

+70
+70
Documentation/devicetree/bindings/iio/dac/adi,ad5380.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,ad5380.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Analog Devices AD5380 and similar DACs 8 + 9 + maintainers: 10 + - Lars-Peter Clausen <lars@metafoo.de> 11 + - Jonathan Cameron <jic23@kernel.org> 12 + 13 + description: | 14 + DAC devices supporting both SPI and I2C interfaces. 15 + properties: 16 + compatible: 17 + enum: 18 + - adi,ad5380-3 19 + - adi,ad5380-5 20 + - adi,ad5381-3 21 + - adi,ad5381-5 22 + - adi,ad5382-3 23 + - adi,ad5382-5 24 + - adi,ad5383-3 25 + - adi,ad5383-5 26 + - adi,ad5384-3 27 + - adi,ad5384-5 28 + - adi,ad5390-3 29 + - adi,ad5390-5 30 + - adi,ad5391-3 31 + - adi,ad5391-5 32 + - adi,ad5392-3 33 + - adi,ad5392-5 34 + 35 + reg: 36 + maxItems: 1 37 + 38 + vref-supply: 39 + description: 40 + If not supplied devices will use internal regulators. 41 + 42 + spi-max-frequency: true 43 + 44 + additionalProperties: false 45 + 46 + required: 47 + - compatible 48 + - reg 49 + 50 + examples: 51 + - | 52 + spi { 53 + #address-cells = <1>; 54 + #size-cells = <0>; 55 + dac@0 { 56 + reg = <0>; 57 + compatible = "adi,ad5390-5"; 58 + vref-supply = <&dacvref>; 59 + }; 60 + }; 61 + - | 62 + i2c { 63 + #address-cells = <1>; 64 + #size-cells = <0>; 65 + dac@42 { 66 + reg = <0x42>; 67 + compatible = "adi,ad5380-3"; 68 + }; 69 + }; 70 + ...