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

Binding for this high voltage DAC with temperature event signal.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210627163244.1090296-8-jic23@kernel.org

+50
+50
Documentation/devicetree/bindings/iio/dac/adi,ad5504.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,ad5504.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Analog Devices AD5501 and AD5504 DACs 8 + 9 + maintainers: 10 + - Lars-Peter Clausen <lars@metafoo.de> 11 + - Jonathan Cameron <jic23@kernel.org> 12 + 13 + description: 14 + High voltage (up to 60V) DACs with temperature sensor alarm function 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - adi,ad5501 20 + - adi,ad5504 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + interrupts: 26 + description: Used for temperature alarm. 27 + maxItems: 1 28 + 29 + vcc-supply: true 30 + 31 + additionalProperties: false 32 + 33 + required: 34 + - compatible 35 + - reg 36 + 37 + examples: 38 + - | 39 + #include <dt-bindings/interrupt-controller/irq.h> 40 + spi { 41 + #address-cells = <1>; 42 + #size-cells = <0>; 43 + dac@0 { 44 + reg = <0>; 45 + compatible = "adi,ad5504"; 46 + vcc-supply = <&dac_vcc>; 47 + interrupts = <55 IRQ_TYPE_EDGE_FALLING>; 48 + }; 49 + }; 50 + ...