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: adi,ad5360: Add missing binding document

Bindings for the family of many channel DACs. Fairly straight forward
with just a differing number of voltage references (an extra one
for the 40 channel ad4371)

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-4-jic23@kernel.org

+79
+79
Documentation/devicetree/bindings/iio/dac/adi,ad5360.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,ad5360.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Analog Devices AD5360 and similar DACs 8 + 9 + maintainers: 10 + - Lars-Peter Clausen <lars@metafoo.de> 11 + - Jonathan Cameron <jic23@kernel.org> 12 + 13 + properties: 14 + compatible: 15 + enum: 16 + - adi,ad5360 17 + - adi,ad5361 18 + - adi,ad5363 19 + - adi,ad5370 20 + - adi,ad5371 21 + - adi,ad5372 22 + - adi,ad5373 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + vref0-supply: true 28 + vref1-supply: true 29 + vref2-supply: true 30 + 31 + spi-max-frequency: true 32 + 33 + additionalProperties: false 34 + 35 + required: 36 + - compatible 37 + - reg 38 + - vref0-supply 39 + - vref1-supply 40 + 41 + allOf: 42 + - if: 43 + properties: 44 + compatible: 45 + contains: 46 + enum: 47 + - adi,ad5360 48 + - adi,ad5361 49 + - adi,ad5363 50 + - adi,ad5370 51 + - adi,ad5372 52 + - adi,ad5373 53 + then: 54 + properties: 55 + vref2-supply: false 56 + - if: 57 + properties: 58 + compatible: 59 + contains: 60 + enum: 61 + - adi,ad5371 62 + then: 63 + required: 64 + - vref2-supply 65 + 66 + examples: 67 + - | 68 + spi { 69 + #address-cells = <1>; 70 + #size-cells = <0>; 71 + dac@0 { 72 + reg = <0>; 73 + compatible = "adi,ad5371"; 74 + vref0-supply = <&dac_vref0>; 75 + vref1-supply = <&dac_vref1>; 76 + vref2-supply = <&dac_vref2>; 77 + }; 78 + }; 79 + ...