From: ijc@hellion.org.uk (Ian Campbell)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: sun6i: Add #address-cells & #size-cells to i2c node
Date: Tue, 19 Aug 2014 15:03:02 +0100 [thread overview]
Message-ID: <1408456982-27021-1-git-send-email-ijc@hellion.org.uk> (raw)
This fixes:
DTC arch/arm/boot/dts/sun6i-a31-hummingbird.dtb
Warning (reg_format): "reg" property in /soc at 01c00000/i2c at 01c2b400/rtc at 51 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc at 01c00000/i2c at 01c2b400/rtc at 51
Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc at 01c00000/i2c at 01c2b400/rtc at 51
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: linux-arm-kernel at lists.infradead.org
---
arch/arm/boot/dts/sun6i-a31.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 44b07e5..5bc769f 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -680,6 +680,8 @@
clock-frequency = <100000>;
resets = <&apb2_rst 2>;
status = "disabled";
+ #address-cells = <1>;
+ #size-cells = <0>;
};
i2c3: i2c at 01c2b800 {
--
2.0.1
next reply other threads:[~2014-08-19 14:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-19 14:03 Ian Campbell [this message]
2014-08-19 14:08 ` [PATCH] ARM: dts: sun6i: Add #address-cells & #size-cells to i2c node Chen-Yu Tsai
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=1408456982-27021-1-git-send-email-ijc@hellion.org.uk \
--to=ijc@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.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