Commit 80ea2007 authored by Angelo Dureghello's avatar Angelo Dureghello Committed by Jonathan Cameron

dt-bindings: iio: dac: add ad35xxr single output variants

Add support for ad3541r and ad3551r single output variants.
Signed-off-by: default avatarAngelo Dureghello <adureghello@baylibre.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarNuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240522150141.1776196-3-adureghello@baylibre.orgSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 0fbce5d1
...@@ -13,13 +13,17 @@ maintainers: ...@@ -13,13 +13,17 @@ maintainers:
description: | description: |
Bindings for the Analog Devices AD3552R DAC device and similar. Bindings for the Analog Devices AD3552R DAC device and similar.
Datasheet can be found here: Datasheet can be found here:
https://www.analog.com/media/en/technical-documentation/data-sheets/ad3541r.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad3551r.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf
properties: properties:
compatible: compatible:
enum: enum:
- adi,ad3541r
- adi,ad3542r - adi,ad3542r
- adi,ad3551r
- adi,ad3552r - adi,ad3552r
reg: reg:
...@@ -128,7 +132,9 @@ allOf: ...@@ -128,7 +132,9 @@ allOf:
properties: properties:
compatible: compatible:
contains: contains:
const: adi,ad3542r enum:
- adi,ad3541r
- adi,ad3542r
then: then:
patternProperties: patternProperties:
"^channel@([0-1])$": "^channel@([0-1])$":
...@@ -158,7 +164,9 @@ allOf: ...@@ -158,7 +164,9 @@ allOf:
properties: properties:
compatible: compatible:
contains: contains:
const: adi,ad3552r enum:
- adi,ad3551r
- adi,ad3552r
then: then:
patternProperties: patternProperties:
"^channel@([0-1])$": "^channel@([0-1])$":
...@@ -182,6 +190,21 @@ allOf: ...@@ -182,6 +190,21 @@ allOf:
- const: -10000000 - const: -10000000
- const: 10000000 - const: 10000000
- if:
properties:
compatible:
contains:
enum:
- adi,ad3541r
- adi,ad3551r
then:
properties:
channel@1: false
channel@0:
properties:
reg:
const: 0
required: required:
- compatible - compatible
- reg - reg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment