state: Documentation: add newly implemented "uint8" types.
Cc: Jan Luebbe <jluebbe@debian.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
cb50b4ed51
commit
f506777003
1 changed files with 5 additions and 5 deletions
|
@ -42,9 +42,9 @@ These are subnodes of a state node each describing a single
|
||||||
variable. The node name may end with ``@<ADDRESS>``, but the suffix is
|
variable. The node name may end with ``@<ADDRESS>``, but the suffix is
|
||||||
sripped from the variable name.
|
sripped from the variable name.
|
||||||
|
|
||||||
State variables have a type. Currenty supported types are: ``uint32``,
|
State variables have a type. Currenty supported types are: ``uint8``,
|
||||||
``enum32`` and ``mac`` address. Fixed length strings are planned but
|
``uint32``, ``enum32`` and ``mac`` address. Fixed length strings are
|
||||||
not implemented. Variable length strings are not planned.
|
planned but not implemented. Variable length strings are not planned.
|
||||||
|
|
||||||
Required properties:
|
Required properties:
|
||||||
|
|
||||||
|
@ -52,8 +52,8 @@ Required properties:
|
||||||
``#size-cells = <1>``. Defines the ``offset`` and ``size`` of the
|
``#size-cells = <1>``. Defines the ``offset`` and ``size`` of the
|
||||||
variable in the ``raw`` backend. ``size`` must fit the node
|
variable in the ``raw`` backend. ``size`` must fit the node
|
||||||
``type``. Variables are not allowed to overlap.
|
``type``. Variables are not allowed to overlap.
|
||||||
* ``type``: Should be ``uint32``, ``enum32`` or ``mac`` for the type
|
* ``type``: Should be ``uint8``, ``uint32``, ``enum32`` or ``mac`` for
|
||||||
of the variable
|
the type of the variable
|
||||||
* ``names``: For ``enum32`` values only, this specifies the values
|
* ``names``: For ``enum32`` values only, this specifies the values
|
||||||
possible for ``enum32``.
|
possible for ``enum32``.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue