Thread (20 messages) 20 messages, 5 authors, 2022-03-29
STALE1541d

[PATCH 1/2] dt-bindings: iio: dac: ti,dac5571: Add TI DAC081C081 support

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2021-07-23 18:31:26
Also in: linux-i2c, linux-iio
Subsystem: iio subsystem and drivers, open firmware and flattened device tree bindings, the rest · Maintainers: Jonathan Cameron, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

The TI DAC081C081 is compatible with the TI DAC5571 from a software
point of view. Add a device-specific compatible string value with a
fallback to "ti,dac5571".

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 .../bindings/iio/dac/ti,dac5571.yaml          | 24 +++++++++++--------
 1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml b/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml
index 714191724f7c..cdbbb336a5b5 100644
--- a/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml
+++ b/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml
@@ -11,16 +11,20 @@ maintainers:
 
 properties:
   compatible:
-    enum:
-      - ti,dac5571
-      - ti,dac6571
-      - ti,dac7571
-      - ti,dac5574
-      - ti,dac6574
-      - ti,dac7574
-      - ti,dac5573
-      - ti,dac6573
-      - ti,dac7573
+    oneOf:
+      - enum:
+          - ti,dac5571
+          - ti,dac6571
+          - ti,dac7571
+          - ti,dac5574
+          - ti,dac6574
+          - ti,dac7574
+          - ti,dac5573
+          - ti,dac6573
+          - ti,dac7573
+      - items:
+          - const: ti,dac081c081
+          - const: ti,dac5571
 
   reg:
     maxItems: 1
-- 
Regards,

Laurent Pinchart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help