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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
---
 .../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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux