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>,
Maury Anderson <maury.anderson@rockwellcollins.com>,
Matthew Weber <matthew.weber@rockwellcollins.com>,
Slawomir Stepien <sst@poczta.fm>
Subject: [PATCH 4/7] dt-bindings:iio:potentiometer:maxim,max5481 move to trivial devices
Date: Sat, 31 Oct 2020 18:29:19 +0000 [thread overview]
Message-ID: <20201031182922.743153-5-jic23@kernel.org> (raw)
In-Reply-To: <20201031182922.743153-1-jic23@kernel.org>
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Simple SPI binding that doesn't need a separate file.
During conversion I looked up the individual part number descriptions
in the datasheet so that we could give slightly more detail in
trivial-device.yaml.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Maury Anderson <maury.anderson@rockwellcollins.com>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Slawomir Stepien <sst@poczta.fm>
---
.../bindings/iio/potentiometer/max5481.txt | 23 -------------------
.../devicetree/bindings/trivial-devices.yaml | 8 +++++++
2 files changed, 8 insertions(+), 23 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/potentiometer/max5481.txt b/Documentation/devicetree/bindings/iio/potentiometer/max5481.txt
deleted file mode 100644
index 6a91b106e076..000000000000
--- a/Documentation/devicetree/bindings/iio/potentiometer/max5481.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-* Maxim Linear-Taper Digital Potentiometer MAX5481-MAX5484
-
-The node for this driver must be a child node of a SPI controller, hence
-all mandatory properties described in
-
- Documentation/devicetree/bindings/spi/spi-bus.txt
-
-must be specified.
-
-Required properties:
- - compatible: Must be one of the following, depending on the
- model:
- "maxim,max5481"
- "maxim,max5482"
- "maxim,max5483"
- "maxim,max5484"
-
-Example:
-max548x: max548x@0 {
- compatible = "maxim,max5482";
- spi-max-frequency = <7000000>;
- reg = <0>; /* chip-select */
-};
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 695b1e379238..3182d5b5a0b4 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -118,6 +118,14 @@ properties:
- maxim,ds1803-100
# Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
- maxim,max1237
+ # 10-bit 10 kOhm linear programable voltage divider
+ - maxim,max5481
+ # 10-bit 50 kOhm linear programable voltage divider
+ - maxim,max5482
+ # 10-bit 10 kOhm linear programable variable resistor
+ - maxim,max5483
+ # 10-bit 50 kOhm linear programable variable resistor
+ - maxim,max5484
# PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion
- maxim,max6621
# 9-Bit/12-Bit Temperature Sensors with I²C-Compatible Serial Interface
--
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 ` [PATCH 3/7] dt-bindings:iio:potentiometer:maxim,ds1803 move " Jonathan Cameron
2020-11-02 16:13 ` Slawomir Stepien
2020-10-31 18:29 ` Jonathan Cameron [this message]
2020-11-02 16:18 ` [PATCH 4/7] dt-bindings:iio:potentiometer:maxim,max5481 " 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-5-jic23@kernel.org \
--to=jic23@kernel.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=matthew.weber@rockwellcollins.com \
--cc=maury.anderson@rockwellcollins.com \
--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).