Commit becd9e5b authored by Florian Grandel's avatar Florian Grandel Committed by Anas Nashif
Browse files

scripts: dts: edtlib: fix type docs

The return type of 'uint8-array' properties was not yet documented.

Signed-off-by: default avatarFlorian Grandel <fgrandel@code-for-humans.de>
parent be4acee0
Loading
Loading
Loading
Loading
+2 −0
Changes for scripts/dts/python-devicetree/src/devicetree/edtlib.py: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -642,6 +642,8 @@ class Property:
        - For 'type: int/array/string/string-array', 'val' is what you'd expect
          (a Python integer or string, or a list of them)

        - For 'type: uint8-array', 'val' is a bytes object

        - For 'type: phandle' and 'type: path', 'val' is the pointed-to Node
          instance