Skip to content

Commit 0bccef5

Browse files
committed
scripts: dts: edtlib: fix type docs
The return type of 'uint8-array' properties was not yet documented. Signed-off-by: Florian Grandel <[email protected]>
1 parent 6890814 commit 0bccef5

File tree

1 file changed

+2
-0
lines changed
  • scripts/dts/python-devicetree/src/devicetree

1 file changed

+2
-0
lines changed

scripts/dts/python-devicetree/src/devicetree/edtlib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ class Property:
742742
- For 'type: int/array/string/string-array', 'val' is what you'd expect
743743
(a Python integer or string, or a list of them)
744744
745+
- For 'type: uint8-array', 'val' is a bytes object
746+
745747
- For 'type: phandle' and 'type: path', 'val' is the pointed-to Node
746748
instance
747749

0 commit comments

Comments
 (0)