devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>
To: arnd-r2nGTMty4D4@public.gmane.org,
	olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org
Cc: nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	andrew-g2DYL2Zd6BY@public.gmane.org,
	Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
	jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org,
	michael-QKn5cuLxLXY@public.gmane.org,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: [PATCH] ARM: kirkwood: fdt: use IEEE1275 status = "okay".
Date: Mon, 26 Mar 2012 16:52:55 +0000	[thread overview]
Message-ID: <1332780775-3694-1-git-send-email-jason@lakedaemon.net> (raw)
In-Reply-To: <4F70991E.1000204-KZfg59tc24xl57MIdRCFDg@public.gmane.org>

Signed-off-by: Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>
---
 - This should prevent others from making the same mistake I did when searching
   the code.

 arch/arm/boot/dts/kirkwood-dreamplug.dts |    2 +-
 drivers/of/base.c                        |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boot/dts/kirkwood-dreamplug.dts b/arch/arm/boot/dts/kirkwood-dreamplug.dts
index a5376b8..7b2b961 100644
--- a/arch/arm/boot/dts/kirkwood-dreamplug.dts
+++ b/arch/arm/boot/dts/kirkwood-dreamplug.dts
@@ -18,7 +18,7 @@
 	ocp@f1000000 {
 		serial@12000 {
 			clock-frequency = <200000000>;
-			status = "ok";
+			status = "okay";
 		};
 	};
 };
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 133908a..31eac15 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -285,6 +285,7 @@ int of_device_is_available(const struct device_node *device)
 		return 1;
 
 	if (statlen > 0) {
+		/* new boards should use "okay" according to IEEE1275 */
 		if (!strcmp(status, "okay") || !strcmp(status, "ok"))
 			return 1;
 	}
-- 
1.7.3.4

      parent reply	other threads:[~2012-03-26 16:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-24 13:14 [PATCH V2 0/3] Add support for DNS-320 and DNS-325 using devicetree Jamie Lentin
     [not found] ` <1332594876-8673-1-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-24 13:14   ` [PATCH V2 1/3] ARM: kirkwood: Basic support for DNS-320 and DNS-325 Jamie Lentin
     [not found]     ` <1332594876-8673-2-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-24 19:26       ` Arnd Bergmann
     [not found]         ` <201203241926.00597.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-25 15:05           ` Jason Cooper
2012-03-24 13:14 ` [PATCH V2 2/3] ARM: kirkwood: Convert orion-nand to fdt Jamie Lentin
     [not found]   ` <1332594876-8673-3-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-24 19:01     ` Arnd Bergmann
     [not found]       ` <201203241901.00405.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-25  0:17         ` [PATCH V3 " Jamie Lentin
2012-03-25  7:52           ` Arnd Bergmann
2012-03-25 14:57           ` Jason Cooper
2012-03-24 13:14 ` [PATCH V2 3/3] ARM: kirkwood: Define NAND partitions in dts Jamie Lentin
     [not found]   ` <1332594876-8673-4-git-send-email-jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org>
2012-03-24 19:01     ` Arnd Bergmann
2012-03-26 15:53     ` Scott Wood
     [not found]       ` <4F7090F9.5000603-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2012-03-26 16:20         ` Jason Cooper
     [not found]           ` <20120326162050.GT2484-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2012-03-26 16:28             ` Scott Wood
     [not found]               ` <4F70991E.1000204-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2012-03-26 16:36                 ` Jamie Lentin
     [not found]                   ` <alpine.DEB.2.00.1203261730590.23719-5X291BYdrx55rAo4AelP/Ydd74u8MsAO@public.gmane.org>
2012-03-26 16:43                     ` Jason Cooper
2012-03-26 16:52                 ` Jason Cooper [this message]

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=1332780775-3694-1-git-send-email-jason@lakedaemon.net \
    --to=jason-nlaqjdtuok4be96alqz0ja@public.gmane.org \
    --cc=andrew-g2DYL2Zd6BY@public.gmane.org \
    --cc=arnd-r2nGTMty4D4@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=michael-QKn5cuLxLXY@public.gmane.org \
    --cc=nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.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).