From: Fabio Estevam <festevam@gmail.com>
To: jic23@kernel.org
Cc: robh+dt@kernel.org, alexandru.tachici@analog.com,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
Fabio Estevam <festevam@gmail.com>
Subject: [PATCH 2/3] dt-bindings: iio: dac: ad5770r: Remove unneeded unit names
Date: Fri, 27 Mar 2020 10:18:24 -0300 [thread overview]
Message-ID: <20200327131825.23650-2-festevam@gmail.com> (raw)
In-Reply-To: <20200327131825.23650-1-festevam@gmail.com>
The following warnings are seen with 'make dt_binding_check':
Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:29.35-32.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@0: node has a unit name, but no reg or ranges property
Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:34.35-37.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@1: node has a unit name, but no reg or ranges property
Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:39.35-42.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@2: node has a unit name, but no reg or ranges property
Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:44.35-47.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@3: node has a unit name, but no reg or ranges property
Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:49.35-52.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@4: node has a unit name, but no reg or ranges property
Documentation/devicetree/bindings/iio/dac/adi,ad5770r.example.dts:54.35-57.27: Warning (unit_address_vs_reg): /example-0/spi/ad5770r@0/channel@5: node has a unit name, but no reg or ranges property
Fix them by removing the unneeded unit addresses.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
.../devicetree/bindings/iio/dac/adi,ad5770r.yaml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
index f937040477ec..fa86ef52b121 100644
--- a/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
+++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5770r.yaml
@@ -151,32 +151,32 @@ examples:
adi,external-resistor;
reset-gpios = <&gpio 22 0>;
- channel@0 {
+ channel0 {
num = <0>;
adi,range-microamp = <(-60000) 300000>;
};
- channel@1 {
+ channel1 {
num = <1>;
adi,range-microamp = <0 140000>;
};
- channel@2 {
+ channel2 {
num = <2>;
adi,range-microamp = <0 55000>;
};
- channel@3 {
+ channel3 {
num = <3>;
adi,range-microamp = <0 45000>;
};
- channel@4 {
+ channel4 {
num = <4>;
adi,range-microamp = <0 45000>;
};
- channel@5 {
+ channel5 {
num = <5>;
adi,range-microamp = <0 45000>;
};
--
2.17.1
next prev parent reply other threads:[~2020-03-27 13:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-27 13:18 [PATCH 1/3] dt-bindings: iio: dac: ad5770r: Add vendor to compatible string Fabio Estevam
2020-03-27 13:18 ` Fabio Estevam [this message]
2020-03-27 21:05 ` [PATCH 2/3] dt-bindings: iio: dac: ad5770r: Remove unneeded unit names Rob Herring
2020-03-27 13:18 ` [PATCH 3/3] dt-bindings: iio: dac: ad5770r: Fix the file path Fabio Estevam
2020-04-09 16:28 ` Rob Herring
2020-03-27 21:06 ` [PATCH 1/3] dt-bindings: iio: dac: ad5770r: Add vendor to compatible string Rob Herring
2020-04-09 16:28 ` Rob Herring
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=20200327131825.23650-2-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=alexandru.tachici@analog.com \
--cc=devicetree@vger.kernel.org \
--cc=jic23@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.