]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc: Add a binding for sysinfo
authorSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 13:32:06 +0000 (06:32 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 02:18:20 +0000 (10:18 +0800)
Add a simple binding file for this, so that it is clear what this binding
directory is for.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
doc/device-tree-bindings/sysinfo/sysinfo.txt [new file with mode: 0644]

diff --git a/doc/device-tree-bindings/sysinfo/sysinfo.txt b/doc/device-tree-bindings/sysinfo/sysinfo.txt
new file mode 100644 (file)
index 0000000..9445031
--- /dev/null
@@ -0,0 +1,19 @@
+Sysinfo
+=======
+
+This provides capabilities to access information about a board/system, for
+use by drivers.
+
+Required properties:
+
+  - compatible: any suitable string where the driver is in the UCLASS_SYSINFO
+      class
+
+See also smbios.txt
+
+
+Example
+
+sysinfo {
+       compatible = "sandbox,sysinfo-sandbox";
+};