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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux