Browse Source

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 <chris@openmarl.org>
pull/84192/head
Christophe Dufaza 6 months ago committed by Benjamin Cabé
parent
commit
c6e3de296d
  1. 4
      scripts/dts/python-devicetree/src/devicetree/edtlib.py

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

@ -493,7 +493,9 @@ class PropertySpec: @@ -493,7 +493,9 @@ class PropertySpec:
path:
The file where this property was defined. In case a binding includes
other bindings, this is the file where the property was last modified.
other bindings, this is the including binding file.
Generally this means that this will be the binding file specifying
the devicetree node of which this is a property.
type:
The type of the property as a string, as given in the binding.

Loading…
Cancel
Save