]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: iio: adc: Add BD7910[0,1,2,3]
authorMatti Vaittinen <mazziesaccount@gmail.com>
Mon, 18 Aug 2025 08:12:22 +0000 (11:12 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 18 Aug 2025 19:11:59 +0000 (20:11 +0100)
The ROHM BD79100BD79101BD79102BD79103 are very similar ADCs as the
ROHM BD79104. The BD79100 has only 1 channel. BD79101 has 2 channels and
the BD79102 has 4 channels. Both BD79103 and BD79104 have 4 channels,
and, based on the data sheets, they seem identical from the software
point-of-view.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/0874c5933cf56430b9440d19ff46f746e4897952.1755504346.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/rohm,bd79104.yaml

index f0a1347ba4db9c02c05919503500a129e69a6161..d5192ec58f5983e8d52fbab4db67e7cd019c9cc2 100644 (file)
@@ -14,7 +14,15 @@ description: |
 
 properties:
   compatible:
-    const: rohm,bd79104
+    oneOf:
+      - enum:
+          - rohm,bd79100
+          - rohm,bd79101
+          - rohm,bd79102
+          - rohm,bd79104
+      - items:
+          - const: rohm,bd79103
+          - const: rohm,bd79104
 
   reg:
     maxItems: 1