mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-06 13:09:58 +00:00
dt-bindings: iio: adc: ad7380: add support for ad738x-4 4 channels variants
Add compatible support for ad7380/1/3/4-4 parts which are 4 channels variants from ad7380/1/3/4 Signed-off-by: Julien Stephan <jstephan@baylibre.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20240528-adding-new-ad738x-driver-v7-6-4cd70a4c12c8@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
baa781e1d8
commit
1a291cc8ee
@ -15,6 +15,10 @@ description: |
|
|||||||
* https://www.analog.com/en/products/ad7381.html
|
* https://www.analog.com/en/products/ad7381.html
|
||||||
* https://www.analog.com/en/products/ad7383.html
|
* https://www.analog.com/en/products/ad7383.html
|
||||||
* https://www.analog.com/en/products/ad7384.html
|
* https://www.analog.com/en/products/ad7384.html
|
||||||
|
* https://www.analog.com/en/products/ad7380-4.html
|
||||||
|
* https://www.analog.com/en/products/ad7381-4.html
|
||||||
|
* https://www.analog.com/en/products/ad7383-4.html
|
||||||
|
* https://www.analog.com/en/products/ad7384-4.html
|
||||||
|
|
||||||
$ref: /schemas/spi/spi-peripheral-props.yaml#
|
$ref: /schemas/spi/spi-peripheral-props.yaml#
|
||||||
|
|
||||||
@ -25,6 +29,10 @@ properties:
|
|||||||
- adi,ad7381
|
- adi,ad7381
|
||||||
- adi,ad7383
|
- adi,ad7383
|
||||||
- adi,ad7384
|
- adi,ad7384
|
||||||
|
- adi,ad7380-4
|
||||||
|
- adi,ad7381-4
|
||||||
|
- adi,ad7383-4
|
||||||
|
- adi,ad7384-4
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
@ -56,6 +64,16 @@ properties:
|
|||||||
The common mode voltage supply for the AINB- pin on pseudo-differential
|
The common mode voltage supply for the AINB- pin on pseudo-differential
|
||||||
chips.
|
chips.
|
||||||
|
|
||||||
|
ainc-supply:
|
||||||
|
description:
|
||||||
|
The common mode voltage supply for the AINC- pin on pseudo-differential
|
||||||
|
chips.
|
||||||
|
|
||||||
|
aind-supply:
|
||||||
|
description:
|
||||||
|
The common mode voltage supply for the AIND- pin on pseudo-differential
|
||||||
|
chips.
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
description:
|
description:
|
||||||
When the device is using 1-wire mode, this property is used to optionally
|
When the device is using 1-wire mode, this property is used to optionally
|
||||||
@ -79,6 +97,8 @@ allOf:
|
|||||||
enum:
|
enum:
|
||||||
- adi,ad7383
|
- adi,ad7383
|
||||||
- adi,ad7384
|
- adi,ad7384
|
||||||
|
- adi,ad7383-4
|
||||||
|
- adi,ad7384-4
|
||||||
then:
|
then:
|
||||||
required:
|
required:
|
||||||
- aina-supply
|
- aina-supply
|
||||||
@ -87,6 +107,20 @@ allOf:
|
|||||||
properties:
|
properties:
|
||||||
aina-supply: false
|
aina-supply: false
|
||||||
ainb-supply: false
|
ainb-supply: false
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
enum:
|
||||||
|
- adi,ad7383-4
|
||||||
|
- adi,ad7384-4
|
||||||
|
then:
|
||||||
|
required:
|
||||||
|
- ainc-supply
|
||||||
|
- aind-supply
|
||||||
|
else:
|
||||||
|
properties:
|
||||||
|
ainc-supply: false
|
||||||
|
aind-supply: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
|
Loading…
Reference in New Issue
Block a user