diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-10-31 16:41:02 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-11-16 23:01:32 +0300 |
commit | 9de14fa28d92c94a66c96601872b790cdc7b00ed (patch) | |
tree | 365ea2dd475323f6dce16fbde633d6815e4ee021 /Documentation/devicetree/bindings/iio/dac/maxim,max5821.yaml | |
parent | 6ced946a4bba1de4e7a7cfa93ea3f8046a2dee2e (diff) | |
download | linux-9de14fa28d92c94a66c96601872b790cdc7b00ed.tar.xz |
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
Diffstat (limited to 'Documentation/devicetree/bindings/iio/dac/maxim,max5821.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/iio/dac/maxim,max5821.yaml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/dac/maxim,max5821.yaml b/Documentation/devicetree/bindings/iio/dac/maxim,max5821.yaml new file mode 100644 index 000000000000..c43fb5f3f8ac --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/maxim,max5821.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/dac/maxim,max5821.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim max5821 dual 10-bit DAC + +maintainers: + - Philippe Reynes <tremyfr@yahoo.fr> + +description: | + Datasheet publicly available at: + https://datasheets.maximintegrated.com/en/ds/MAX5821.pdf + +properties: + compatible: + const: maxim,max5821 + + reg: + maxItems: 1 + + vref-supply: true + +required: + - compatible + - reg + - vref-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + dac@38 { + compatible = "maxim,max5821"; + reg = <0x38>; + vref-supply = <®_max5821>; + }; + }; +... |