mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/2] state: Documentation: fix dts code example
Date: Mon, 15 Jun 2015 15:34:00 +0200	[thread overview]
Message-ID: <1434375240-30543-3-git-send-email-mkl@pengutronix.de> (raw)
In-Reply-To: <1434375240-30543-1-git-send-email-mkl@pengutronix.de>

It's "uint32" not "u32" and we use integers for the "enum32" defaults.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 Documentation/devicetree/bindings/barebox/barebox,state.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/barebox/barebox,state.rst b/Documentation/devicetree/bindings/barebox/barebox,state.rst
index fe8a3d5bc8e3..6e8b65012133 100644
--- a/Documentation/devicetree/bindings/barebox/barebox,state.rst
+++ b/Documentation/devicetree/bindings/barebox/barebox,state.rst
@@ -70,7 +70,7 @@ Example::
 
   	foo {
 		reg = <0x00 0x4>;
-  		type = "u32";
+  		type = "uint32";
   		default = <0x0>;
   	};
 
@@ -78,7 +78,7 @@ Example::
 		reg = <0x10 0x4>;
   		type = "enum32";
   		names = "baz", "qux";
-  		default ="qux";
+  		default = <1>;
   	};
   };
 
-- 
2.1.4


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

  parent reply	other threads:[~2015-06-15 13:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 13:33 [PATCH 0/2] state: Documentation updates Marc Kleine-Budde
2015-06-15 13:33 ` [PATCH 1/2] state: Documentation: the backend properties are not optional (anymore) Marc Kleine-Budde
2015-06-15 13:34 ` Marc Kleine-Budde [this message]
2015-06-17  5:52 ` [PATCH 0/2] state: Documentation updates 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=1434375240-30543-3-git-send-email-mkl@pengutronix.de \
    --to=mkl@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