Skip to content

Commit c6e3de2

Browse files
dottspinakartben
authored andcommitted
edtlib: amend PropertySpec.path API documentation
PropertySpec.path does NOT tell "the file where the property was last modified", but instead the binding file specifying the devicetree node of which this is a property. See: #65135 Signed-off-by: Christophe Dufaza <[email protected]>
1 parent 53f7f6b commit c6e3de2

File tree

1 file changed

+3
-1
lines changed
  • scripts/dts/python-devicetree/src/devicetree

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,9 @@ class PropertySpec:
493493
494494
path:
495495
The file where this property was defined. In case a binding includes
496-
other bindings, this is the file where the property was last modified.
496+
other bindings, this is the including binding file.
497+
Generally this means that this will be the binding file specifying
498+
the devicetree node of which this is a property.
497499
498500
type:
499501
The type of the property as a string, as given in the binding.

0 commit comments

Comments
 (0)