[PATCH 2/2] state: Documentation: fix dts code example

Marc Kleine-Budde mkl at pengutronix.de
Mon Jun 15 06:34:00 PDT 2015


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

Signed-off-by: Marc Kleine-Budde <mkl at 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




More information about the barebox mailing list