dt-bindings: iio: dac: Fix AD5686 references
authorRob Herring <robh@kernel.org>
Tue, 2 Feb 2021 21:55:03 +0000 (15:55 -0600)
committerRob Herring <robh@kernel.org>
Wed, 3 Feb 2021 20:59:36 +0000 (14:59 -0600)
The example and filename use 'adi,ad5686', but the schema doesn't
document it. The AD5686 is also a SPI interface variant while all the
documented variants have an I2C interface. So let's update all the
references to AD5686 to AD5696.

Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Michael Hennerich <Michael.Hennerich@analog.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Cc: Michael Auchter <michael.auchter@ni.com>
Cc: linux-iio@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20210202215503.114113-1-robh@kernel.org
Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml [deleted file]
Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml
deleted file mode 100644 (file)
index 8065228..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
-%YAML 1.2
----
-$id: http://devicetree.org/schemas/iio/dac/adi,ad5686.yaml#
-$schema: http://devicetree.org/meta-schemas/core.yaml#
-
-title: Analog Devices AD5686 and similar multi-channel DACs
-
-maintainers:
-  - Michael Auchter <michael.auchter@ni.com>
-
-description: |
-  Binding for Analog Devices AD5686 and similar multi-channel DACs
-
-properties:
-  compatible:
-    enum:
-      - adi,ad5311r
-      - adi,ad5338r
-      - adi,ad5671r
-      - adi,ad5675r
-      - adi,ad5691r
-      - adi,ad5692r
-      - adi,ad5693
-      - adi,ad5693r
-      - adi,ad5694
-      - adi,ad5694r
-      - adi,ad5695r
-      - adi,ad5696
-      - adi,ad5696r
-
-  reg:
-    maxItems: 1
-
-  vcc-supply:
-    description: |
-      The regulator supply for DAC reference voltage.
-
-required:
-  - compatible
-  - reg
-
-additionalProperties: false
-
-examples:
-  - |
-    i2c {
-      #address-cells = <1>;
-      #size-cells = <0>;
-
-      ad5686: dac@0 {
-        compatible = "adi,ad5686";
-        reg = <0>;
-        vcc-supply = <&dac_vref>;
-      };
-    };
-...
diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml
new file mode 100644 (file)
index 0000000..56b0cda
--- /dev/null
@@ -0,0 +1,57 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/dac/adi,ad5696.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices AD5696 and similar multi-channel DACs
+
+maintainers:
+  - Michael Auchter <michael.auchter@ni.com>
+
+description: |
+  Binding for Analog Devices AD5696 and similar multi-channel DACs
+
+properties:
+  compatible:
+    enum:
+      - adi,ad5311r
+      - adi,ad5338r
+      - adi,ad5671r
+      - adi,ad5675r
+      - adi,ad5691r
+      - adi,ad5692r
+      - adi,ad5693
+      - adi,ad5693r
+      - adi,ad5694
+      - adi,ad5694r
+      - adi,ad5695r
+      - adi,ad5696
+      - adi,ad5696r
+
+  reg:
+    maxItems: 1
+
+  vcc-supply:
+    description: |
+      The regulator supply for DAC reference voltage.
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      ad5696: dac@0 {
+        compatible = "adi,ad5696";
+        reg = <0>;
+        vcc-supply = <&dac_vref>;
+      };
+    };
+...