Skip to content

Commit becd9e5

Browse files
fg-cfhnashif
authored andcommitted
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 be4acee commit becd9e5

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
@@ -642,6 +642,8 @@ class Property:
642642
- For 'type: int/array/string/string-array', 'val' is what you'd expect
643643
(a Python integer or string, or a list of them)
644644
645+
- For 'type: uint8-array', 'val' is a bytes object
646+
645647
- For 'type: phandle' and 'type: path', 'val' is the pointed-to Node
646648
instance
647649

0 commit comments

Comments
 (0)