From 688a24567342d1fd2de03dfd8d0ed5be99c9e3a1 Mon Sep 17 00:00:00 2001 From: Florian Grandel Date: Wed, 25 Sep 2024 11:31:15 +0200 Subject: [PATCH] scripts: dts: edtlib: fix type docs The return type of 'uint8-array' properties was not yet documented. Signed-off-by: Florian Grandel --- scripts/dts/python-devicetree/src/devicetree/edtlib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/dts/python-devicetree/src/devicetree/edtlib.py b/scripts/dts/python-devicetree/src/devicetree/edtlib.py index 834f92c0d67178..be085ee784557e 100644 --- a/scripts/dts/python-devicetree/src/devicetree/edtlib.py +++ b/scripts/dts/python-devicetree/src/devicetree/edtlib.py @@ -742,6 +742,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