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:maxim,max5821 yaml conversion

Simple txt to yaml conversion for this binding description.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Philippe Reynes <tremyfr@yahoo.fr>
Link: https://lore.kernel.org/r/20201031134110.724233-22-jic23@kernel.org

+44 -14
-14
Documentation/devicetree/bindings/iio/dac/max5821.txt
··· 1 - Maxim max5821 DAC device driver 2 - 3 - Required properties: 4 - - compatible: Must be "maxim,max5821" 5 - - reg: Should contain the DAC I2C address 6 - - vref-supply: Phandle to the vref power supply 7 - 8 - Example: 9 - 10 - max5821@38 { 11 - compatible = "maxim,max5821"; 12 - reg = <0x38>; 13 - vref-supply = <&reg_max5821>; 14 - };
+44
Documentation/devicetree/bindings/iio/dac/maxim,max5821.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/maxim,max5821.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Maxim max5821 dual 10-bit DAC 8 + 9 + maintainers: 10 + - Philippe Reynes <tremyfr@yahoo.fr> 11 + 12 + description: | 13 + Datasheet publicly available at: 14 + https://datasheets.maximintegrated.com/en/ds/MAX5821.pdf 15 + 16 + properties: 17 + compatible: 18 + const: maxim,max5821 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + vref-supply: true 24 + 25 + required: 26 + - compatible 27 + - reg 28 + - vref-supply 29 + 30 + additionalProperties: false 31 + 32 + examples: 33 + - | 34 + i2c { 35 + #address-cells = <1>; 36 + #size-cells = <0>; 37 + 38 + dac@38 { 39 + compatible = "maxim,max5821"; 40 + reg = <0x38>; 41 + vref-supply = <&reg_max5821>; 42 + }; 43 + }; 44 + ...