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>,
Jandy Gou <qingsong.gou@ck-telecom.com>
Subject: [PATCH 6/7] dt-bindings:iio:magnetometer:memsic,mmc35240: move to trivial-devices.yaml
Date: Sat, 31 Oct 2020 18:29:21 +0000 [thread overview]
Message-ID: <20201031182922.743153-7-jic23@kernel.org> (raw)
In-Reply-To: <20201031182922.743153-1-jic23@kernel.org>
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Extremely simple binding so no need to maintain a separate file.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Jandy Gou <qingsong.gou@ck-telecom.com>
---
.../bindings/iio/magnetometer/mmc35240.txt | 13 -------------
.../devicetree/bindings/trivial-devices.yaml | 2 ++
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt b/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
deleted file mode 100644
index a01235c7fa15..000000000000
--- a/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-* MEMSIC MMC35240 magnetometer sensor
-
-Required properties:
-
- - compatible : should be "memsic,mmc35240"
- - reg : the I2C address of the magnetometer
-
-Example:
-
-mmc35240@30 {
- compatible = "memsic,mmc35240";
- reg = <0x30>;
-};
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 015905312a0f..172bf7e19401 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -134,6 +134,8 @@ properties:
- maxim,max31730
# mCube 3-axis 8-bit digital accelerometer
- mcube,mc3230
+ # MEMSIC magnetometer
+ - memsic,mmc35240
# MEMSIC 2-axis 8-bit digital accelerometer
- memsic,mxc6225
# Measurement Specialities I2C temperature and humidity sensor
--
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 ` [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 ` Jonathan Cameron [this message]
2020-10-31 18:29 ` [PATCH 7/7] dt-bindings:iio:accel:domintech,dmard06: Move to trivial-devices.yaml 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-7-jic23@kernel.org \
--to=jic23@kernel.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=qingsong.gou@ck-telecom.com \
--cc=robh+dt@kernel.org \
/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).