Skip to content

Commit 20e607f

Browse files
dlechnunojsa
authored andcommitted
dt-bindings: iio: adc: ad7380: add AD7389-4
Add compatible and quirks for AD7389-4. This is essentially the same as AD7380-4 but instead of having no internal reference, it has no external reference voltage supply. Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20250401-iio-ad7380-add-ad7389-4-v1-1-23d2568aa24f@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> (cherry picked from commit ebe0b2a)
1 parent d90feaf commit 20e607f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ description: |
2525
* https://www.analog.com/en/products/ad7386-4.html
2626
* https://www.analog.com/en/products/ad7387-4.html
2727
* https://www.analog.com/en/products/ad7388-4.html
28+
* https://www.analog.com/en/products/ad7389-4.html
2829
* https://www.analog.com/en/products/adaq4370-4.html
2930
* https://www.analog.com/en/products/adaq4380-4.html
3031
* https://www.analog.com/en/products/adaq4381-4.html
@@ -49,6 +50,7 @@ properties:
4950
- adi,ad7386-4
5051
- adi,ad7387-4
5152
- adi,ad7388-4
53+
- adi,ad7389-4
5254
- adi,adaq4370-4
5355
- adi,adaq4380-4
5456
- adi,adaq4381-4
@@ -213,6 +215,15 @@ allOf:
213215
properties:
214216
refin-supply: false
215217

218+
# adi,ad7389-4 is internal reference only
219+
- if:
220+
properties:
221+
compatible:
222+
const: adi,ad7389-4
223+
then:
224+
properties:
225+
refio-supply: false
226+
216227
# adaq devices need more supplies and using channel to declare gain property
217228
# only applies to adaq devices
218229
- if:

0 commit comments

Comments
 (0)