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

Documenting existing binding, so little flexibility available.
2 channel devices that require separate reference voltages.

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

+97
+97
Documentation/devicetree/bindings/iio/dac/adi,ad5449.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,ad5449.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Analog Devices AD5449 and similar DACs 8 + 9 + maintainers: 10 + - Lars-Peter Clausen <lars@metafoo.de> 11 + - Jonathan Cameron <jic23@kernel.org> 12 + 13 + description: 14 + Family of multiplying DACs from Analog Devices 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - adi,ad5415 20 + - adi,ad5426 21 + - adi,ad5429 22 + - adi,ad5432 23 + - adi,ad5439 24 + - adi,ad5443 25 + - adi,ad5449 26 + 27 + reg: 28 + maxItems: 1 29 + 30 + spi-max-frequency: true 31 + 32 + VREF-supply: true 33 + VREFA-supply: true 34 + VREFB-supply: true 35 + 36 + additionalProperties: false 37 + 38 + required: 39 + - compatible 40 + - reg 41 + 42 + allOf: 43 + - if: 44 + properties: 45 + compatible: 46 + contains: 47 + enum: 48 + - adi,ad5415 49 + - adi,ad5426 50 + - adi,ad5432 51 + then: 52 + properties: 53 + VREF-supply: true 54 + VREFA-supply: false 55 + VREFB-supply: false 56 + required: 57 + - VREF-supply 58 + - if: 59 + properties: 60 + compatible: 61 + contains: 62 + enum: 63 + - adi,ad5429 64 + - adi,ad5439 65 + - adi,ad5449 66 + then: 67 + properties: 68 + VREF-supply: false 69 + VREFA-supply: true 70 + VREFB-supply: true 71 + required: 72 + - VREFA-supply 73 + - VREFB-supply 74 + 75 + examples: 76 + - | 77 + spi { 78 + #address-cells = <1>; 79 + #size-cells = <0>; 80 + dac@0 { 81 + reg = <0>; 82 + compatible = "adi,ad5415"; 83 + VREF-supply = <&dac_ref>; 84 + }; 85 + }; 86 + - | 87 + spi { 88 + #address-cells = <1>; 89 + #size-cells = <0>; 90 + dac@0 { 91 + reg = <0>; 92 + compatible = "adi,ad5429"; 93 + VREFA-supply = <&dac_refA>; 94 + VREFB-supply = <&dac_refB>; 95 + }; 96 + }; 97 + ...