devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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>
Subject: [PATCH 7/7] dt-bindings:iio:accel:domintech,dmard06: Move to trivial-devices.yaml
Date: Sat, 31 Oct 2020 18:29:22 +0000	[thread overview]
Message-ID: <20201031182922.743153-8-jic23@kernel.org> (raw)
In-Reply-To: <20201031182922.743153-1-jic23@kernel.org>

From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

No need to maintain a separate document for such a simple binding.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 .../devicetree/bindings/iio/accel/dmard06.txt | 19 -------------------
 .../devicetree/bindings/trivial-devices.yaml  |  6 ++++++
 2 files changed, 6 insertions(+), 19 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/accel/dmard06.txt b/Documentation/devicetree/bindings/iio/accel/dmard06.txt
deleted file mode 100644
index ce105a12c645..000000000000
--- a/Documentation/devicetree/bindings/iio/accel/dmard06.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Device tree bindings for Domintech DMARD05, DMARD06, DMARD07 accelerometers
-
-Required properties:
- - compatible		: Should be "domintech,dmard05"
-				 or "domintech,dmard06"
-				 or "domintech,dmard07"
- - reg			: I2C address of the chip. Should be 0x1c
-
-Example:
-	&i2c1 {
-		/* ... */
-
-		accelerometer@1c {
-			compatible = "domintech,dmard06";
-			reg = <0x1c>;
-		};
-
-		/* ... */
-	};
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 172bf7e19401..91a101ef03fb 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -72,6 +72,12 @@ properties:
           - dlg,da9053
             # DA9063: system PMIC for quad-core application processors
           - dlg,da9063
+            # DMARD05: 3-axis I2C Accelerometer
+          - domintech,dmard05
+            # DMARD06: 3-axis I2C Accelerometer
+          - domintech,dmard06
+            # DMARD05: 3-axis I2C Accelerometer
+          - domintech,dmard07
             # DMARD09: 3-axis Accelerometer
           - domintech,dmard09
             # DMARD10: 3-axis Accelerometer
-- 
2.28.0


  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 ` [PATCH 6/7] dt-bindings:iio:magnetometer:memsic,mmc35240: move to trivial-devices.yaml Jonathan Cameron
2020-10-31 18:29 ` Jonathan Cameron [this message]
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-8-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 \
    /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).