[PATCH v4 02/13] doc: Add a binding for sysinfo
Bin Meng
bmeng.cn at gmail.com
Tue Nov 3 09:39:42 CET 2020
Hi Simon,
On Thu, Oct 22, 2020 at 10:20 PM Simon Glass <sjg at chromium.org> wrote:
>
> Add a simple binding file for this, so that it is clear what this binding
> directory is for.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
> doc/device-tree-bindings/sysinfo/sysinfo.txt | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
> create mode 100644 doc/device-tree-bindings/sysinfo/sysinfo.txt
>
> diff --git a/doc/device-tree-bindings/sysinfo/sysinfo.txt b/doc/device-tree-bindings/sysinfo/sysinfo.txt
> new file mode 100644
> index 00000000000..ed8830b8284
> --- /dev/null
> +++ b/doc/device-tree-bindings/sysinfo/sysinfo.txt
> @@ -0,0 +1,18 @@
> +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";
Patch #1 in this series has the compatible name of "sandbox,sysinfo-sandbox"
Regards,
Bin
More information about the U-Boot
mailing list