From: Jonathan Cameron <jic23@kernel.org>
To: linux-iio@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>,
Slawomir Stepien <sst@poczta.fm>
Subject: [PATCH 3/7] dt-bindings:iio:potentiometer:maxim,ds1803 move to trivial devices.
Date: Sat, 31 Oct 2020 18:29:18 +0000 [thread overview]
Message-ID: <20201031182922.743153-4-jic23@kernel.org> (raw)
In-Reply-To: <20201031182922.743153-1-jic23@kernel.org>
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
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>
Cc: Slawomir Stepien <sst@poczta.fm>
---
.../bindings/iio/potentiometer/ds1803.txt | 21 -------------------
.../devicetree/bindings/trivial-devices.yaml | 6 ++++++
2 files changed, 6 insertions(+), 21 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt b/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt
deleted file mode 100644
index df77bf552656..000000000000
--- a/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt
+++ /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";
-};
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 10f0afd44684..695b1e379238 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -110,6 +110,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
# Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
- maxim,max1237
# PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion
--
2.28.0
next prev parent reply other threads:[~2020-10-31 18:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-31 18:29 [PATCH 0/7] dt-bindings:iio: Move to trivial-devices.yaml from txt files Jonathan Cameron
2020-10-31 18:29 ` [PATCH 1/7] dt-bindings:iio:chemical:sensirion,sgp30: Move to trivial-bindings.yaml Jonathan Cameron
2020-10-31 18:29 ` [PATCH 2/7] dt-bindings:iio:chemical:bosch,bme180: Move to trivial devices Jonathan Cameron
[not found] ` <CADks246mRP+4bDYc_5qUHuSPYbW=BL+h_bu5qVKcX1akNjDcBA@mail.gmail.com>
2020-11-01 20:34 ` Jonathan Cameron
2020-10-31 18:29 ` Jonathan Cameron [this message]
2020-11-02 16:13 ` [PATCH 3/7] dt-bindings:iio:potentiometer:maxim,ds1803 move " Slawomir Stepien
2020-10-31 18:29 ` [PATCH 4/7] dt-bindings:iio:potentiometer:maxim,max5481 " Jonathan Cameron
2020-11-02 16:18 ` Slawomir Stepien
2020-10-31 18:29 ` [PATCH 5/7] dt-bindings:iio:light:renesas,isl29501: Move " Jonathan Cameron
2020-10-31 18:29 ` [PATCH 6/7] dt-bindings:iio:magnetometer:memsic,mmc35240: move to trivial-devices.yaml Jonathan Cameron
2020-10-31 18:29 ` [PATCH 7/7] dt-bindings:iio:accel:domintech,dmard06: Move " Jonathan Cameron
2020-11-03 2:35 ` [PATCH 0/7] dt-bindings:iio: Move to trivial-devices.yaml from txt files Rob Herring
2020-11-16 20:35 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201031182922.743153-4-jic23@kernel.org \
--to=jic23@kernel.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sst@poczta.fm \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).