]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
dt-bindings:iio:potentiometer:maxim,ds1803 move to trivial devices.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 31 Oct 2020 18:29:18 +0000 (18:29 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 16 Nov 2020 20:29:51 +0000 (20:29 +0000)
Simple binding where there is no obvious benefit in maintaining a
separate file.  Hence document in trivial-devices.yaml and drop
the txt file.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Slawomir Stepien <sst@poczta.fm>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Slawomir Stepien <sst@poczta.fm>
Link: https://lore.kernel.org/r/20201031182922.743153-4-jic23@kernel.org
Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt [deleted file]
Documentation/devicetree/bindings/trivial-devices.yaml

diff --git a/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt b/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt
deleted file mode 100644 (file)
index df77bf5..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-* Maxim Integrated DS1803 digital potentiometer driver
-
-The node for this driver must be a child node of a I2C controller, hence
-all mandatory properties for your controller must be specified. See directory:
-
-        Documentation/devicetree/bindings/i2c
-
-for more details.
-
-Required properties:
-       - compatible:   Must be one of the following, depending on the
-                       model:
-                       "maxim,ds1803-010",
-                       "maxim,ds1803-050",
-                       "maxim,ds1803-100"
-
-Example:
-ds1803: ds1803@1 {
-       reg = <0x28>;
-       compatible = "maxim,ds1803-010";
-};
index 3b32e6174564e6eab4407fe500efe9d2bed6e93b..dc5221acbae536112983f2d42a75db0c4b37d3c5 100644 (file)
@@ -106,6 +106,12 @@ properties:
           - isil,isl68137
             # 5 Bit Programmable, Pulse-Width Modulator
           - maxim,ds1050
+            # 10 kOhm digital potentiometer with I2C interface
+          - maxim,ds1803-010
+            # 50 kOhm digital potentiometer with I2C interface
+          - maxim,ds1803-050
+            # 100 kOhm digital potentiometer with I2C interface
+          - maxim,ds1803-100
             # 10-bit 8 channels 300ks/s SPI ADC with temperature sensor
           - maxim,max1027
             # 10-bit 12 channels 300ks/s SPI ADC with temperature sensor