]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: iio: adc: ad4080: add AD4884 support
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Fri, 29 May 2026 14:13:52 +0000 (17:13 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 31 May 2026 10:01:51 +0000 (11:01 +0100)
Add AD4884 compatible string to the AD4080 devicetree binding.

The AD4884 is a dual-channel, 16-bit, 40 MSPS SAR ADC, sharing the same
register map and interface as the AD4080 family. Like the AD4880, it
requires two SPI chip selects and two io-backends for its independent
ADC channels. The AD4884 differs from the AD4880 in resolution (16-bit
vs 20-bit), which requires distinct channel configuration in the driver,
precluding a fallback compatible.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/adc/adi,ad4080.yaml

index 9c6a56c7c8ef16f6fa245c5cf40c5e027166c69c..4a3f7d3e05c3998a3bfd14b51cbbb8d3791e2df8 100644 (file)
@@ -39,6 +39,7 @@ properties:
       - adi,ad4087
       - adi,ad4088
       - adi,ad4880
+      - adi,ad4884
 
   reg:
     minItems: 1
@@ -99,7 +100,9 @@ allOf:
       properties:
         compatible:
           contains:
-            const: adi,ad4880
+            enum:
+              - adi,ad4880
+              - adi,ad4884
     then:
       properties:
         reg: