mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 5/9] mips: ar9331: Add missing #address-cells/#size-cells properties
Date: Thu,  5 Jun 2014 10:23:40 +0200	[thread overview]
Message-ID: <1401956624-31802-6-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1401956624-31802-1-git-send-email-s.hauer@pengutronix.de>

SPI nodes need valid #address-cells/#size-cells properties.
Fixes:

Warning (reg_format): "reg" property in /soc/spi@bf000000/m25p80@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc/spi@bf000000/m25p80@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc/spi@bf000000/m25p80@0

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/mips/dts/ar9331.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/dts/ar9331.dtsi b/arch/mips/dts/ar9331.dtsi
index 9485fbf..8280588 100644
--- a/arch/mips/dts/ar9331.dtsi
+++ b/arch/mips/dts/ar9331.dtsi
@@ -24,6 +24,8 @@
 		};
 
 		spi: spi@bf000000{
+			#address-cells = <1>;
+			#size-cells = <0>;
 			compatible = "qca,ath79-spi";
 			reg = <0xbf000000 0x01000000>;
 			status = "disabled";
-- 
2.0.0.rc2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2014-06-05  8:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05  8:23 Fix Compiler warnings Sascha Hauer
2014-06-05  8:23 ` [PATCH 1/9] fix format specifiers Sascha Hauer
2014-06-05  8:23 ` [PATCH 2/9] ARM: MXS: Remove unused variables Sascha Hauer
2014-06-05  8:23 ` [PATCH 3/9] ARM: friendlyarm_mini2440: refresh defconfig Sascha Hauer
2014-06-05  8:23 ` [PATCH 4/9] mips: dlink-dir-320: " Sascha Hauer
2014-06-05  9:42   ` Antony Pavlov
2014-06-05 10:16     ` Sascha Hauer
2014-06-05  8:23 ` Sascha Hauer [this message]
2014-06-05  8:23 ` [PATCH 6/9] PPC: FSL DDR: Fix compiler warning Sascha Hauer
2014-06-05  8:23 ` [PATCH 7/9] commands: drvinfo: Make locally used function static Sascha Hauer
2014-06-05  8:23 ` [PATCH 8/9] gui: IMAGE_RENDERER does not depend on VIDEO Sascha Hauer
2014-06-05  8:23 ` [PATCH 9/9] mips: Add builtin dtb to dtb-y Sascha Hauer

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=1401956624-31802-6-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@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